Jump to content

Mysql Starts Then Stops


phdphd

Recommended Posts

Hi All,

I have been using the uWamp package. Since this morning while Apache starts correctly, MySQL starts then stops.

What does this line mean in mysql log :[ERROR] unknown option '--datadir        C:/UwAmp/bin/database/mysql-5.7.11/data' ?

Thanks!

 

Edited by phdphd
Link to comment
Share on other sites

After some fixing, I no longer have this error,  but instead I have the following one :
 

Quote

InnoDB: Trying to access page number 4 in space 1118, space name database_name/table_name, which is outside the tablespace bounds. Byte offset 0, len 16384, i/o type read. If you get this error at mysqld startup, please check that your my.cnf matches the ibdata files that you have in the MySQL server.

In the file my.ini, in the [mysqld] section I added

Quote

innodb_data_file_path=ibdata1:12M:autoextend

However I still get the same error on server restart.

I also noticed the presence of a file called "ibtmp1", whether the server is running or stopped. Should I put it also in the innodb_data_file_path option ?

In the message, the table_name is a quite large table (around 4 MB) that is regularly fed with new records. This is the first time I have this error.

Thanks!

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.