Access dB or mySQL
Access dB or mySQL
Out of context: Reply #3
- Started
- Last post
- 15 Responses
- unfittoprint0
#1 first check your mysql user privileges. you could use the new phpmyadmin release or MYSQL Administrator utility to do that for you.
#2 a simple php script to check your db/server access:
$link = @mysql_connect($dbHost, $dbUser, $dbPass);
if($link) print "connected!";
else print "not connected!";if(!@mysql_select_db($dbName)) {
print "database not found!";
} else{ print "database found!"; }