MySQL error

Problems with the Windows version of XAMPP, questions, comments, and anything related.

MySQL error

Postby guyromb » 29. June 2007 18:25

Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in ...

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in ...

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in ...

I get those error when try to get information from the SQL table.
I checked all the user name\password\DB name and all correct (even no error on my DB file..)
The php code:
$P0000A = mysql_fetch_array(mysql_query("SELECT * FROM web_text where place='P0000A'"));

I searched already on the Internet and found that is something that the user isn't configured...
but i already have user (root) with the password that i changed from xampp security control panel.
Xampp 1.6.2 For windows xp professional SP2

Thanks!
guyromb
 
Posts: 8
Joined: 09. September 2006 22:26

never mind

Postby guyromb » 29. June 2007 18:56

never mind! i found the solution on MYSQL website mysql.com

thanks
guyromb
 
Posts: 8
Joined: 09. September 2006 22:26


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 110 guests