Page 1 of 1

MySQL error

PostPosted: 29. June 2007 18:25
by guyromb
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!

never mind

PostPosted: 29. June 2007 18:56
by guyromb
never mind! i found the solution on MYSQL website mysql.com

thanks