ANy ideas?
ive done a fresh reinstall to, have no other SQL servers operating since my reboot and didnt change a single thing from default settings:
Errors:
On the php page as it executes:
- Code: Select all
Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10048) in C:\xampp\htdocs\test\config.php on line 31
in PhpMyAdmin AFTER the pag is executed:
- Code: Select all
MySQL said: Documentation
#2003 - The server is not responding
on the php page AFTER executing and phpmyAdmin has fecked up
- Code: Select all
Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10048) in C:\xampp\htdocs\test\inc\main.php on line 3
ALSO: phpmyadmin says:
Your PHP MySQL library version 5.0.45 differs from your MySQL server version 3.23.32. This may cause unpredictable behavior.
Any help appreaciated as this project is vital and at the second i have to result to using InstantServers Miniportal :S
EDIT: i checked the connection against the code by doing this;
- Code: Select all
<?PHP
echo 'Connecting to Database... ';
$link = mysql_connect($dbHost,$dbUser,$dbPass);
if (!$link) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
?>