List:Connector/C++« Previous MessageNext Message »
From:Ugur Arpaci Date:September 11 2010 9:35pm
Subject:C++ connection problem
View as plain text  
When i try to connect with the following function i recieve 1045 error as
follows. What is the matter?

if(mysql_real_connect(conn, server,user, password, database, 0, NULL,
0)==NULL)
    {
printf("Error %u: %s\n", mysql_errno(conn), mysql_error(conn));

exit(1);
    }


Output:
1045: Access denied for user
-- 
U─čur ARPACI

Thread
C++ connection problemUgur Arpaci11 Sep