here's my phpinfo()
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 3.23.49
Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout -1 -1
mysql.default_host localhost localhost
mysql.default_password password password
mysql.default_port 3306 3306
mysql.default_socket no value no value
mysql.default_user user user
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off
i tried the following code
<?php
$link = mysql_connect("localhost", "user", "password")
or die("Could not connect: " . mysql_error());
print ("Connected successfully");
mysql_close($link);
?>
and this is still wat i got:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'user@127.0.0.1' (Using password: YES) in d:\apache group\apache\htdocs\project\one.php on line 30
Could not connect: Access denied for user: 'user@127.0.0.1' (Using password: YES)
😕 😕