Click here to Skip to main content
15,904,416 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to connect a local mySQl database with a Microsoft Access frontend. When I had the database on line, it connected fine. However; I need it to be local, this doesn't seem to connect though.
Online is first local is second.

C++
//(mysql_real_connect(conn,"urlock.db.5513143.hostedresource.com","urlock","Crazy0855@","urlock",0,NULL,0) !=0);

(mysql_real_connect(conn,"localhost","","","C:\\FILEBLOCK\\Fileblocker.mwb",0,NULL,0) !=0);
Posted
Updated 17-Oct-11 11:07am
v3

1 solution

 
Share this answer
 
Comments
Member 7766180 15-Oct-11 20:00pm    
Thank you. I am trying to do this with ODBC and without classes.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900