Netstat output:
Code:
tcp 0 0 localhost.localdo:mysql *:* LISTEN 26163/mysqld
Firewall output:
Code:
Chain INPUT (policy ACCEPT)
target prot opt source destination
fail2ban-ssh tcp -- anywhere anywhere multiport dports ssh
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain fail2ban-ssh (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
I read out about commenting the bind line. I did it. I restarted the mysql server (after creating a new password for the root user).
With that, the currenlty nestat result is:
Code:
tcp 0 0 *:mysql *:* LISTEN 31153/mysqld
The comand "cat php.ini | grep sql.safe.mode" results:
Code:
sql.safe_mode = Off
But I'm still getting an error when I try to access to the test.php:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'XXXX'@'XXXX.com' (using password: YES) in /X/test.php on line 10
Access denied for user 'XXXX'@'XXXX.com' (using password: YES)
I use the correct user/password.
Is that messages only a credentials error or a misconfiguration of the mysql/web server?
Recent comments
2 days 5 hours ago
2 days 14 hours ago
2 days 17 hours ago
2 days 18 hours ago
2 days 20 hours ago
2 days 21 hours ago
2 days 23 hours ago
3 days 36 min ago
3 days 16 hours ago
3 days 17 hours ago