Failing to connect to database |
HOW TO RESET MySQL PASSWORD phpMyAdmin:
If the MySQL Server is running stop it! 1) Open the file my.ini - in C:\xampp\mysql\bin\my.ini 2) Under: # The MySQL server [mysqld] 3) add: skip-grant-tables 4) Start the MySQL Server and run this SQL query in phpMyAdmin. UPDATE mysql.user SET Password=PASSWORD('Your-Password') WHERE User='root'; FLUSH PRIVILEGES; 5) Close phpMyAdmin and Stop the MySQL Server 6) Open the file my.ini - in C:\xampp\mysql\bin\my.ini 7) Remark out the line skip-grant-tables - #skip-grant-tables 8) Re-start the MySQL Server and you should now be able to login with the new password. For the command line version see this article: B.5.3.2 How to Reset the Root Password What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Messages In This Thread |
Failing to connect to database - by IcyGrey - 02-21-2018, 01:57 PM
RE: Failing to connect to database - by natanfelles - 02-21-2018, 10:58 PM
RE: Failing to connect to database - by IcyGrey - 02-22-2018, 03:29 AM
RE: Failing to connect to database - by natanfelles - 02-21-2018, 11:00 PM
RE: Failing to connect to database - by IcyGrey - 02-22-2018, 04:35 AM
RE: Failing to connect to database - by adhzim - 03-03-2021, 08:12 AM
RE: Failing to connect to database - by InsiteFX - 02-22-2018, 05:09 AM
RE: Failing to connect to database - by InsiteFX - 03-03-2021, 12:14 PM
RE: Failing to connect to database - by InsiteFX - 03-23-2021, 03:07 AM
|