   MySQL in Linux
  AGH! Ive been pulling my hair out for the last 3 days... I finally got MySQL installed, but i didnt manage to get mysql++ (mysql.com''s mysql api) working. all the headers are in the right places, etc, but when i #include <sqlplus.hh> the compiler cant find the header. i tried  but then it cant find other headers, its just a mess. i tried including /usr/include/sqlplus/ in the compiler search dir''s, that screwed it up more. im in search of another c++ api, but it seems like i really cant find any. i would rather not use odbc, but i guess if i have to i will. can anyone suggest a nice c++ api that will work with a mysql server? im using redhat linux 8.0 and would like to stop fiddling with all this config junk and code something already ;p  
  maybe you should do #include <sqlplus/sqlplus.h> instead (normally the compiler should find it, seeing it''s in /usr/include ). Or pass the -I/usr/include/sqlplus flag to the compiler. Also are you sure the file permissions are set right ?  ;  including  gives me the same errors that adding the directory via -I does... do you have any suggestion for a different api i could use?also how do the permissions need to be set??  ;  make sure everybody has read access to the include files : cd /usr/include/mysqlpluschmod a+r *.hYou need to do this as root ;  i usedgcc -I/usr/include/sqlplus/ -I/usr/include/mysql/ -lsqlplus main.cppand it compiled, although it complaned about using deprecated headers... oh well. the permissions were fine... im just not sure why it couldnt find everything on its own.  