After changing the password, MySQL does not work.

Problems with the Windows version of XAMPP, questions, comments, and anything related.

After changing the password, MySQL does not work.

Postby luffy1025 » 14. February 2020 13:58

Operating System: Windows Server 2012 64bit
Xampp Version: 7.4.2

Summary:
1. Installing xampp ->
2. Changing passwords for accounts in phpmyadmin ->
3. Enter password in 'config.inc.php' below

$ cfg ['Servers'] [$ i] ['user'] = 'root';
$ cfg ['Servers'] [$ i] ['password'] = 'password1234';

$ cfg ['Servers'] [$ i] ['controluser'] = 'pma';
$ cfg ['Servers'] [$ i] ['controlpass'] = 'password1234';

4. And restart mysql, xampp mysql will not run.

Error:
[Apache] Status change detected: running
[mysql] Attempting to start MySQL app...
[mysql] Status change detected: running
[mysql] Status change detected: stopped
[mysql] Error: MySQL shutdown unexpectedly.
[mysql] This may be due to a blocked port, missing dependencies,
[mysql] improper privileges, a crash, or a shutdown by another method.
[mysql] Press the Logs button to view error logs and check
[mysql] the Windows Event Viewer for more clues
[mysql] If you need more help, copy and post this
[mysql] entire log window on the forums

Log Error:
***WARNING: .\mysql\db could not be opened: Error: 126
2020-02-14 21:44:01 0 [Note] mysqld.exe: Aria engine: starting recovery
recovered pages: 0% 10% 23% 45% 64% 82% 100% (0.0 seconds); tables to flush: 1 0
(0.0 seconds);
2020-02-14 21:44:01 0 [Note] mysqld.exe: Aria engine: recovery done
InnoDB: using atomic writes.
2020-02-14 21:44:01 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-02-14 21:44:01 0 [Note] InnoDB: Uses event mutexes
2020-02-14 21:44:01 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-02-14 21:44:01 0 [Note] InnoDB: Number of pools: 1
2020-02-14 21:44:01 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-02-14 21:44:01 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-02-14 21:44:01 0 [Note] InnoDB: Completed initialization of buffer pool
2020-02-14 21:44:01 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=300961
2020-02-14 21:44:01 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-02-14 21:44:01 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2020-02-14 21:44:01 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-02-14 21:44:01 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-02-14 21:44:01 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-02-14 21:44:01 0 [Note] InnoDB: Waiting for purge to start
2020-02-14 21:44:01 0 [Note] InnoDB: 10.4.11 started; log sequence number 300970; transaction id 197
2020-02-14 21:44:01 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-02-14 21:44:01 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-02-14 21:44:01 0 [Note] Server socket created on IP: '::'.
InnoDB: using atomic writes.
2020-02-14 21:44:06 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-02-14 21:44:06 0 [Note] InnoDB: Uses event mutexes
2020-02-14 21:44:06 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-02-14 21:44:06 0 [Note] InnoDB: Number of pools: 1
2020-02-14 21:44:06 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-02-14 21:44:06 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-02-14 21:44:06 0 [Note] InnoDB: Completed initialization of buffer pool
2020-02-14 21:44:06 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-02-14 21:44:06 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-02-14 21:44:06 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-02-14 21:44:06 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-02-14 21:44:06 0 [Note] InnoDB: Waiting for purge to start
2020-02-14 21:44:06 0 [Note] InnoDB: 10.4.11 started; log sequence number 300979; transaction id 197
2020-02-14 21:44:06 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-02-14 21:44:06 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-02-14 21:44:06 0 [Note] Server socket created on IP: '::'.
luffy1025

Posts: 7
Joined: 10. July 2019 19:16
XAMPP version: 7.3.7
Operating System: windows
luffy1025
 
Posts: 8
Joined: 10. July 2019 11:16
XAMPP version: 7.3.7
Operating System: windows

Re: After changing the password, MySQL does not work.

Postby luffy1025 » 24. February 2020 18:09

I asked this question a year ago but I still suffer. Can someone help me?
luffy1025
 
Posts: 8
Joined: 10. July 2019 11:16
XAMPP version: 7.3.7
Operating System: windows

Re: After changing the password, MySQL does not work.

Postby Nobbie » 24. February 2020 20:49

I dont know what is wrong with your database. But you should change the login method from "config" to "cookie" (you will find "config" in config.inc.php). Then you will get a login form, where you have to enter user and password, instead of having it in config.inc.php. You can delete these values/entrys in config.inc.php.

Perhaps that runs better, but honestly, i am unsure, as there seems to be a hardware problem with your database. Maybe it is crashed, i dont know.
Nobbie
 
Posts: 13175
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 231 guests