Posted by lumo2000 on 07/26/07 15:52
hello
i am not able to get mysql running.
you can get my server/php settings/details here:
http://damn-i-have.no-ip.com/phpinfo.php
i already enabled the following stuff in my php.ini
NOTE: i installed php to C:\php and got the ext dir in the install
dir.
extension_dir = "C:\php\ext"
extension=php_mysql.dll
i am still getting this error:
Fatal error: Call to undefined function mysql_connect() in C:\httproot
\mysqltest.php on line 2
i use this sorcecode:
<code>
<?php
$link = mysql_connect('localhost', '*****', '******');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
?>
</code>
any ideas?
PS: mysql is running on standard port 3306 and i can access it with my
mysql query browser, with the user i use in php.
Navigation:
[Reply to this message]
|