Mysql connect without username/password

MySQLPHP

I build a new website for a client (WordPress is underlying) and have access trough FTP to his webspace. He does not provide or even know more informations than this because he had taken it from an former employee.

Is it possible to get know if any MySQL database exist on localhost and connect to it without the knowledge of an username or password?

I dont think that the web space host could help me with this problem, because they switched there business orientation a while ago and don't provide any new web space at all.

Best Answer

I do not think it is possible to attempt to connect to a database without knowing the username, password, or whether it even exists.

If you could have someone log into MySQL (requires admin privileges without the MySQL name/password) they could run mysql> show databases; at the MySQL command line interface to get you started.