I know very little about sql so excuse me if this is a simple problem!
I'm getting the following error (multiple times in fact) -
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource
I believe the settings in the PHP file are correct -
$cn=@mysql_connect("localhost","db_usr","password");
$db=@mysql_select_db("db_name",$cn);
The user account i'm using is the db owner.
I'm also using the MySQL administrator program to connect to the server, which will show me the db and tables etc...
but I can't connect to the user administration panel (access denied), could this be a permissions problem, or maybe something the hosting company is restricting?
Is there a command I can execute that will list the db_user's current permissions?
Thanks
I'm getting the following error (multiple times in fact) -
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource
I believe the settings in the PHP file are correct -
$cn=@mysql_connect("localhost","db_usr","password");
$db=@mysql_select_db("db_name",$cn);
The user account i'm using is the db owner.
I'm also using the MySQL administrator program to connect to the server, which will show me the db and tables etc...
but I can't connect to the user administration panel (access denied), could this be a permissions problem, or maybe something the hosting company is restricting?
Is there a command I can execute that will list the db_user's current permissions?
Thanks