'i have an error in establishing a database connection
Hello i have this problem today and i partially solved it using the method described by Fabricio Valencia:
IMPORTANT: do NOT delete ibdata1 file. You could destroy all your databases.
Instead, first try using the MySQL backup folder which is included with XAMPP. So do next steps:
Rename folder mysql/data to mysql/data_old
Make a copy of mysql/backup folder and name it as mysql/data
Copy all your database folders from mysql/data_old into mysql/data (except mysql, performance_schema, and phpmyadmin folders)
Copy mysql/data_old/ibdata1 file into mysql/data folder
Start MySQL from XAMPP control panel And, voilà!
after do that the xampp application work well but when i try to access in localhost/wordpress i read this message in the browser: Error establishing a database connection! please help me i do lot of work and i can't use it! This happen after i install a new plugin! thank you!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|