MySQL Forums
Forum List  »  Connector/C++

Connection
Posted by: liew ka
Date: July 11, 2013 09:23AM

Hi all,

I am newbie in linux. Currently i am having a problem in connecting mysql and c++ in linux. When i try to run my script in terminal i have a problem as below,

test.cpp:3:19: fatal error: mysql.h: No such file or directory
compilation terminated.

To overcome this problem, i tried to install the 'mysql-connector-cpp' package. However, i do have another problem which is,

'mysql-connector-cpp' not found in package names. Trying capabilities.
No provider of 'mysql-connector-cpp' found.


So is there anyway to overcome this problem or anyway to get the "mysql.h' ?Anyone can assist me about this?

Best Regards.

Options: ReplyQuote


Subject
Views
Written By
Posted
Connection
2384
July 11, 2013 09:23AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.