简体   繁体   中英

How to find out the password and user name of a mysql database?

In my mysql server i have a database named "joomla". But http://localhost/joomla gives "Error displaying the error page: Application Instantiation Error". I want to check that whether i provide the correct user name and password in configuration.php file. For this i need to find out which user have permissions on joomla database. So how can i find out that?

Thanks

Login to the mysql server using an account that has adequate permissions and use show grants for <name> to get list of permitted DBs.

You won't be able to find the MySQL passwords this way though.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM