I'm unable to start Mysql

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

I'm unable to start Mysql

Postby townsbg » 08. February 2024 19:04

I am trying to start mysql on an instance of xampp successfully set up on another system. I tried and both apache and mysql failed until I logged into my administrator account. Once I logged into the admin account I first ran the file .\setup_xampp.bat. That was successful. Then I ran the control panel and installed the apache and mysql services. Apache asked for permission to allow through the firewall (which I allowed) and the installed and ran. Mysql didn't initially ask for firewall access but the service installed however the process wouldn't run. I uninstalled and reinstalled. This time the process asked for access through the firewall which I allowed. The service installed but it still isn't running.

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


When running the file xampp_start.exe I get:
XAMPP now starts as a console application.

Instead of pressing Control-C in this console window, please use xampp_stop.exe
to stop XAMPP, because it lets XAMPP end any current transactions and cleanup
gracefully.

2024-02-08 11:44:02 0 [Note] Using unique option prefix 'key_buffer' is error-pr
one and can break in the future. Please use the full name 'key_buffer_size' inst
ead.
(OS 10048)Only one usage of each socket address (protocol/network address/port)
is normally permitted. : AH00072: make_sock: could not bind to address [::]:80
(OS 10048)Only one usage of each socket address (protocol/network address/port)
is normally permitted. : AH00072: make_sock: could not bind to address 0.0.0.0:
80
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs


.\mysql_start.bat Returns
Diese Eingabeforderung nicht waehrend des Running beenden
Please dont close Window while MySQL is running
MySQL is trying to start
Please wait ...
MySQL is starting with mysql\bin\my.ini (console)
2024-02-08 11:59:37 0 [Note] Using unique option prefix 'key_buffer' is error-pr
one and can break in the future. Please use the full name 'key_buffer_size' inst
ead.

MySQL konnte nicht gestartet werden
MySQL could not be started
Press any key to continue . . .]


In the error log it says:
Code: Select all
2024-02-08 11:17:08 0 [Note] Starting MariaDB 10.4.28-MariaDB source revision c8f2e9a5c0ac5905f28b050b7df5a9ffd914b7e7 as process 3412
2024-02-08 11:17:08 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2024-02-08 11:17:08 0 [Note] InnoDB: Uses event mutexes
2024-02-08 11:17:08 0 [Note] InnoDB: Compressed tables use zlib 1.2.12
2024-02-08 11:17:08 0 [Note] InnoDB: Number of pools: 1
2024-02-08 11:17:08 0 [Note] InnoDB: Using SSE2 crc32 instructions
2024-02-08 11:17:08 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2024-02-08 11:17:08 0 [Note] InnoDB: Completed initialization of buffer pool
2024-02-08 11:17:10 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2024-02-08 11:17:10 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2024-02-08 11:17:10 0 [Note] InnoDB: Setting file '\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2024-02-08 11:17:10 0 [Note] InnoDB: File '\xampp\mysql\data\ibtmp1' size is now 12 MB.
2024-02-08 11:17:10 0 [Note] InnoDB: Waiting for purge to start
2024-02-08 11:17:10 0 [Note] InnoDB: 10.4.28 started; log sequence number 4998730; transaction id 8632
2024-02-08 11:17:10 0 [Note] InnoDB: Loading buffer pool(s) from I:\xampp\mysql\data\ib_buffer_pool
2024-02-08 11:17:10 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-02-08 11:17:10 0 [Note] Server socket created on IP: '::'.
2024-02-08 11:17:10 0 [Note] InnoDB: Buffer pool(s) load completed at 240208 11:17:10
2024-02-08 11:17:10 0 [Note] Reading of all Master_info entries succeeded
2024-02-08 11:17:10 0 [Note] Added new Master_info '' to hash table
2024-02-08 11:17:10 0 [Note] mysql\bin\mysqld.exe: ready for connections.
Version: '10.4.28-MariaDB'  socket: ''  port: 3306  mariadb.org binary distribution
2024-02-08 11:19:30 0 [Note] Starting MariaDB 10.4.28-MariaDB source revision c8f2e9a5c0ac5905f28b050b7df5a9ffd914b7e7 as process 2560
2024-02-08 11:19:30 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2024-02-08 11:19:30 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2024-02-08 11:19:30 0 [ERROR] Plugin 'InnoDB' init function returned error.
2024-02-08 11:19:30 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2024-02-08 11:19:30 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-02-08 11:19:30 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2024-02-08 11:19:30 0 [ERROR] Aborting
2024-02-08 11:19:49 0 [Note] Starting MariaDB 10.4.28-MariaDB source revision c8f2e9a5c0ac5905f28b050b7df5a9ffd914b7e7 as process 5720
2024-02-08 11:19:49 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2024-02-08 11:19:49 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2024-02-08 11:19:49 0 [ERROR] Plugin 'InnoDB' init function returned error.
2024-02-08 11:19:49 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2024-02-08 11:19:49 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-02-08 11:19:49 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2024-02-08 11:19:49 0 [ERROR] Aborting
2024-02-08 11:40:05 0 [Note] Starting MariaDB 10.4.28-MariaDB source revision c8f2e9a5c0ac5905f28b050b7df5a9ffd914b7e7 as process 4616
2024-02-08 11:40:05 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2024-02-08 11:40:05 0 [Note] InnoDB: Uses event mutexes
2024-02-08 11:40:05 0 [Note] InnoDB: Compressed tables use zlib 1.2.12
2024-02-08 11:40:05 0 [Note] InnoDB: Number of pools: 1
2024-02-08 11:40:05 0 [Note] InnoDB: Using SSE2 crc32 instructions
2024-02-08 11:40:05 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2024-02-08 11:40:05 0 [Note] InnoDB: Completed initialization of buffer pool
2024-02-08 11:40:05 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=4998730
2024-02-08 11:40:06 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2024-02-08 11:40:06 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2024-02-08 11:40:06 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2024-02-08 11:40:06 0 [Note] InnoDB: Setting file '\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2024-02-08 11:40:06 0 [Note] InnoDB: File '\xampp\mysql\data\ibtmp1' size is now 12 MB.
2024-02-08 11:40:06 0 [Note] InnoDB: 10.4.28 started; log sequence number 4998739; transaction id 8632
2024-02-08 11:40:06 0 [Note] InnoDB: Loading buffer pool(s) from I:\xampp\mysql\data\ib_buffer_pool
2024-02-08 11:40:06 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-02-08 11:40:06 0 [Note] Server socket created on IP: '::'.
2024-02-08 11:40:06 0 [Note] Reading of all Master_info entries succeeded
2024-02-08 11:40:06 0 [Note] Added new Master_info '' to hash table
2024-02-08 11:40:06 0 [Note] mysql\bin\mysqld.exe: ready for connections.
Version: '10.4.28-MariaDB'  socket: ''  port: 3306  mariadb.org binary distribution
2024-02-08 11:40:06 0 [Note] InnoDB: Buffer pool(s) load completed at 240208 11:40:06
2024-02-08 11:40:28 0 [Note] Starting MariaDB 10.4.28-MariaDB source revision c8f2e9a5c0ac5905f28b050b7df5a9ffd914b7e7 as process 6036
2024-02-08 11:40:28 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2024-02-08 11:40:28 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2024-02-08 11:40:28 0 [ERROR] Plugin 'InnoDB' init function returned error.
2024-02-08 11:40:28 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2024-02-08 11:40:28 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-02-08 11:40:28 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2024-02-08 11:40:28 0 [ERROR] Aborting
2024-02-08 11:41:40 0 [Note] Starting MariaDB 10.4.28-MariaDB source revision c8f2e9a5c0ac5905f28b050b7df5a9ffd914b7e7 as process 5292
2024-02-08 11:41:40 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2024-02-08 11:41:40 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2024-02-08 11:41:40 0 [ERROR] Plugin 'InnoDB' init function returned error.
2024-02-08 11:41:40 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2024-02-08 11:41:40 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-02-08 11:41:40 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2024-02-08 11:41:40 0 [ERROR] Aborting
2024-02-08 11:42:19 0 [Note] mysql\bin\mysqld.exe (initiated by: unknown): Normal shutdown
2024-02-08 11:42:19 0 [Note] Event Scheduler: Purging the queue. 0 events
2024-02-08 11:42:19 0 [Note] InnoDB: FTS optimize thread exiting.
2024-02-08 11:42:19 0 [Note] InnoDB: Starting shutdown...
2024-02-08 11:42:19 0 [Note] InnoDB: Dumping buffer pool(s) to I:\xampp\mysql\data\ib_buffer_pool
2024-02-08 11:42:19 0 [Note] InnoDB: Instance 0, restricted to 250 pages due to innodb_buf_pool_dump_pct=25
2024-02-08 11:42:19 0 [Note] InnoDB: Buffer pool(s) dump completed at 240208 11:42:19
2024-02-08 11:42:20 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2024-02-08 11:42:20 0 [Note] InnoDB: Shutdown completed; log sequence number 4998757; transaction id 8633
2024-02-08 11:42:20 0 [Note] mysql\bin\mysqld.exe: Shutdown complete

2024-02-08 11:43:10 0 [Note] Starting MariaDB 10.4.28-MariaDB source revision c8f2e9a5c0ac5905f28b050b7df5a9ffd914b7e7 as process 4912
2024-02-08 11:43:10 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2024-02-08 11:43:10 0 [Note] InnoDB: Uses event mutexes
2024-02-08 11:43:10 0 [Note] InnoDB: Compressed tables use zlib 1.2.12
2024-02-08 11:43:10 0 [Note] InnoDB: Number of pools: 1
2024-02-08 11:43:10 0 [Note] InnoDB: Using SSE2 crc32 instructions
2024-02-08 11:43:10 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2024-02-08 11:43:10 0 [Note] InnoDB: Completed initialization of buffer pool
2024-02-08 11:43:10 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2024-02-08 11:43:10 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2024-02-08 11:43:10 0 [Note] InnoDB: Setting file '\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2024-02-08 11:43:10 0 [Note] InnoDB: File '\xampp\mysql\data\ibtmp1' size is now 12 MB.
2024-02-08 11:43:10 0 [Note] InnoDB: Waiting for purge to start
2024-02-08 11:43:11 0 [Note] InnoDB: 10.4.28 started; log sequence number 4998757; transaction id 8632
2024-02-08 11:43:11 0 [Note] InnoDB: Loading buffer pool(s) from i:\xampp\mysql\data\ib_buffer_pool
2024-02-08 11:43:11 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-02-08 11:43:11 0 [Note] Server socket created on IP: '::'.
2024-02-08 11:43:11 0 [Note] Reading of all Master_info entries succeeded
2024-02-08 11:43:11 0 [Note] Added new Master_info '' to hash table
2024-02-08 11:43:11 0 [Note] mysql\bin\mysqld.exe: ready for connections.
Version: '10.4.28-MariaDB'  socket: ''  port: 3306  mariadb.org binary distribution
2024-02-08 11:43:11 0 [Note] InnoDB: Buffer pool(s) load completed at 240208 11:43:11
2024-02-08 11:44:02 0 [Note] Starting MariaDB 10.4.28-MariaDB source revision c8f2e9a5c0ac5905f28b050b7df5a9ffd914b7e7 as process 6448
2024-02-08 11:44:02 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2024-02-08 11:44:02 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2024-02-08 11:44:02 0 [ERROR] Plugin 'InnoDB' init function returned error.
2024-02-08 11:44:02 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2024-02-08 11:44:02 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-02-08 11:44:02 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2024-02-08 11:44:02 0 [ERROR] Aborting
2024-02-08 11:58:14 0 [Note] Starting MariaDB 10.4.28-MariaDB source revision c8f2e9a5c0ac5905f28b050b7df5a9ffd914b7e7 as process 2516
2024-02-08 11:58:14 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2024-02-08 11:58:14 0 [Note] InnoDB: Uses event mutexes
2024-02-08 11:58:14 0 [Note] InnoDB: Compressed tables use zlib 1.2.12
2024-02-08 11:58:14 0 [Note] InnoDB: Number of pools: 1
2024-02-08 11:58:14 0 [Note] InnoDB: Using SSE2 crc32 instructions
2024-02-08 11:58:14 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2024-02-08 11:58:14 0 [Note] InnoDB: Completed initialization of buffer pool
2024-02-08 11:58:14 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=4998757
2024-02-08 11:58:16 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2024-02-08 11:58:16 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2024-02-08 11:58:16 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2024-02-08 11:58:16 0 [Note] InnoDB: Setting file '\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2024-02-08 11:58:16 0 [Note] InnoDB: File '\xampp\mysql\data\ibtmp1' size is now 12 MB.
2024-02-08 11:58:16 0 [Note] InnoDB: 10.4.28 started; log sequence number 4998766; transaction id 8632
2024-02-08 11:58:16 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-02-08 11:58:16 0 [Note] InnoDB: Loading buffer pool(s) from \xampp\mysql\data\ib_buffer_pool
2024-02-08 11:58:16 0 [Note] Server socket created on IP: '::'.
2024-02-08 11:58:16 0 [Note] InnoDB: Buffer pool(s) load completed at 240208 11:58:16
2024-02-08 11:58:16 0 [Note] Reading of all Master_info entries succeeded
2024-02-08 11:58:16 0 [Note] Added new Master_info '' to hash table
2024-02-08 11:58:16 0 [Note] mysql\bin\mysqld.exe: ready for connections.
Version: '10.4.28-MariaDB'  socket: ''  port: 3306  mariadb.org binary distribution
2024-02-08 11:59:37 0 [Note] Starting MariaDB 10.4.28-MariaDB source revision c8f2e9a5c0ac5905f28b050b7df5a9ffd914b7e7 as process 2196
2024-02-08 11:59:37 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2024-02-08 11:59:37 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2024-02-08 11:59:37 0 [ERROR] Plugin 'InnoDB' init function returned error.
2024-02-08 11:59:37 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2024-02-08 11:59:37 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-02-08 11:59:37 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2024-02-08 11:59:37 0 [ERROR] Aborting


I verified that system has full access to the xampp folder. What do I need to do to get Mysql to run.
townsbg
 
Posts: 21
Joined: 21. January 2015 07:26
XAMPP version: 8.2.4
Operating System: WIndows 7

Re: I'm unable to start Mysql

Postby Nobbie » 08. February 2024 20:15

townsbg wrote:I verified that system has full access to the xampp folder. What do I need to do to get Mysql to run.


Obviously, there must be something gone wrong. MySQL clearly states:

2024-02-08 11:19:30 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2024-02-08 11:19:30 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable


For whatever reason, the drive letter of the Xampp installation is missing:

2024-02-08 11:17:10 0 [Note] InnoDB: Setting file '\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2024-02-08 11:17:10 0 [Note] InnoDB: File '\xampp\mysql\data\ibtmp1' size is now 12 MB.


Thats all we know.
Nobbie
 
Posts: 13176
Joined: 09. March 2008 13:04

Re: I'm unable to start Mysql

Postby townsbg » 08. February 2024 21:31

I removed it because I didn't think that it's necessary. I tried all permission for that file for the user's group but I'm still getting that error message.

Image
townsbg
 
Posts: 21
Joined: 21. January 2015 07:26
XAMPP version: 8.2.4
Operating System: WIndows 7

Re: I'm unable to start Mysql

Postby Nobbie » 09. February 2024 00:44

townsbg wrote:I removed it because I didn't think that it's necessary


Thats absolutely and totally wrong. Drive letters are absolutely important, as letters for some devices (like network drives) do only exist for the logged in user, but not for System user (which runs the services).
Nobbie
 
Posts: 13176
Joined: 09. March 2008 13:04

Re: I'm unable to start Mysql

Postby townsbg » 09. February 2024 22:01

I didn't remove it from xammp. Just the post. What's the solution? I've changed the permissions to include everyone but I still can't start it.
townsbg
 
Posts: 21
Joined: 21. January 2015 07:26
XAMPP version: 8.2.4
Operating System: WIndows 7

Re: I'm unable to start Mysql

Postby Nobbie » 09. February 2024 22:30

As long as you dont tell us about the Drive I:, its totally impossible to solve your problem.
Nobbie
 
Posts: 13176
Joined: 09. March 2008 13:04

Re: I'm unable to start Mysql

Postby townsbg » 09. February 2024 23:45

It's there. What do you need to know about it?
townsbg
 
Posts: 21
Joined: 21. January 2015 07:26
XAMPP version: 8.2.4
Operating System: WIndows 7

Re: I'm unable to start Mysql

Postby townsbg » 10. February 2024 22:36

Nobbie wrote:As long as you dont tell us about the Drive I:, its totally impossible to solve your problem.


Nobbie if you need to know something about the drive please ask because I don't know what it is. I've already tried to provide the files with as much permissions as I know how so I don't know what else to tell you. How do I make sure that it's available to the system? System has full permissions to the folder. I found the following error in the control panel but I don't know how to fix it.

3:56:00 PM [mysql] MySQL Service detected with wrong path
3:56:00 PM [mysql] Change XAMPP MySQL and Control Panel settings or
3:56:00 PM [mysql] Uninstall/disable the other service manually first
3:56:00 PM [mysql] Found Path: I:\xampp\mysql\bin\mysqld --defaults-file=I:\xampp\mysql\bin\my.ini mysql
3:56:00 PM [mysql] Expected Path: i:\xampp\mysql\bin\mysqld.exe --defaults-file=i:\xampp\mysql\bin\my.ini mysql


I replaced the my.ini file with a backup and stopped receiving that message. I change the driver letters in the properties.ini file and it still isn't running.
townsbg
 
Posts: 21
Joined: 21. January 2015 07:26
XAMPP version: 8.2.4
Operating System: WIndows 7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 157 guests