php - retrieve database username and password -
i did pretty stupid , lost database user , password.i want edit file on server notepad++,but of course must provide user , pass access server-editing connection(also in file trying access-index.php-i have these data connect database).i tried using table inspector on file(an application) doesn't show php code(where have database connection user , pass) html code.editing path file in notepad++ show html code in "index[1].php" file.is there way retrieve user , pass?i know seems hacking,but i'm trying access own files , own mysql database
if own database server. stop database. , start database skip-grant-tables option. contain option my.cnf(or my.ini). can access database without username , password. reset account , restart database server without skip-grant-tables option
Comments
Post a Comment