-
Open Ampps Application -> MySQL Tab -> Configuration.
-
In [mysqld] section, add the following line:
innodb_force_recovery = 1
-
Save the file and try starting MySQL
-
Remove that line which you just added and Save.
-
-
Save irazasyed/c516682e34068b14b55d to your computer and use it in GitHub Desktop.
Hello,
AMPPS 3.9 32x with Win10 = Path E:/AMPPS/MySql which worked almost for an year, having issue that were solved until now.
The project was fine until recently stuck up for localhost conection mysql, which were working fine upto the fourth previous day. Four days back since that error up in PHPmyAdmin failing connect to MySQL, Used all the issue resultion and checksum, but failed to work. Used innodb force recovery technic and other port setting, firewall, VC++ Pack, inbound rules everything worked at par, but still error " phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
AMPPS Control Panel before it stopped working had been configured to 3306 since installation. The project were installed thru softaculous installer in AMPPS with "https://". Knew that Port 3307 used in remote server. No worry the port 3306 with https:// still worked for almost a month and all of a sudden four days back the PHPmyAdmin Connection error.
PHPmyAdmin Config
The mysql config with my.conf having the 'mysql'
mysqld]
The TCP/IP Port the MySQL Server will listen on
port=3306
#Path to installation directory. All paths are usually resolved relative to this.
basedir="{$path}/mysql/"#Path to the database root
datadir="{$path}/mysql/data/"socket = "{$path}/mysql/mysql.sock"
skip-external-locking
key_buffer_size = 16M
max_allowed_packet = 1M
table_open_cache = 64
sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
lower_case_table_names=2
innodb_force_recovery = 1
server-id = 1I tried using alternate means by MySQL WorkBench and trying to set this out, but the config hassle is further reducing the project database already in the MySQL (AMPPS) to be also used by MySQL80 (Workbench) for laternative @Remedy
This solution works perfect! thanks!
in my case, everthing is working but the only thing is i cant see ampps admin or home option.
option 1: type on your address bar http://localhost/ampps/
http://localhost/ampps-admin/
Hello,
I,m also facing the same problem. I also install it
32Bit: Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)
http://www.microsoft.com/en-us/download/details.aspx?id=8328
Still, my Apache and PHP are not running. What should I do now. I am new in this sector.
Thanks a lot, sir.
Thanks, Perfect
does anyone have an updated solution for this, 2024. non of these solutions provided are working for me
What works for me is to go to the Ampps > mysql > data folder and delete the log and bin files (files like 'ib_logfile0' and mysql-bin.000001) and then restart MySql in the Ampps app.
Doesn's work anymore.. sorry