Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : MySQL says it's started but it's not



Threaded Mode | Print  

 MySQL says it's started but it's not (3 Replies, Read 2328 times)
Jordivanderpluijm
Group: Member
Post Group: Newbie
Posts: 2
Status:
Hello,

I've been using Ampps for a while now but since today Ampps stopped working. When i start Apache it starts and it's alright but when i start MySQL it says it started but it isn't. Also the butten doesn't light op like it's started.

Error log:
Quote

2014-01-08 08:24:27 838 [Note] Plugin 'FEDERATED' is disabled.
2014-01-08 08:24:27 838 [Note] InnoDB: The InnoDB memory heap is disabled
2014-01-08 08:24:27 838 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2014-01-08 08:24:27 838 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-01-08 08:24:27 838 [Note] InnoDB: Not using CPU crc32 instructions
2014-01-08 08:24:27 838 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2014-01-08 08:24:27 838 [Note] InnoDB: Completed initialization of buffer pool
2014-01-08 08:24:27 838 [Note] InnoDB: Highest supported file format is Barracuda.
2014-01-08 08:24:27 838 [Note] InnoDB: The log sequence numbers 1854032 and 1854032 in ibdata files do not match the log sequence number 1854042 in the ib_logfiles!
2014-01-08 08:24:27 838 [Note] InnoDB: Database was not shutdown normally!
2014-01-08 08:24:27 838 [Note] InnoDB: Starting crash recovery.
2014-01-08 08:24:27 838 [Note] InnoDB: Reading tablespace information from the .ibd files...
2014-01-08 08:24:27 838 [ERROR] InnoDB: Attempted to open a previously opened tablespace. Previous tablespace mysql/innodb_index_stats uses space ID: 2 at filepath: ./mysql/innodb_index_stats.ibd. Cannot open tablespace oop/groups which uses space ID: 2 at filepath: ./oop/groups.ibd
2014-01-08 08:24:27 a05cd1a8  InnoDB: Operating system error number 2 in a file operation.
InnoDB: The error means the system cannot find the path specified.
InnoDB: If you are installing InnoDB, remember that you must create
InnoDB: directories yourself, InnoDB does not create them.
InnoDB: Error: could not open single-table tablespace file ./oop/groups.ibd
InnoDB: We do not continue the crash recovery, because the table may become
InnoDB: corrupt if we cannot apply the log records in the InnoDB log to it.
InnoDB: To fix the problem and start mysqld:
InnoDB: 1) If there is a permission problem in the file and mysqld cannot
InnoDB: open the file, you should modify the permissions.
InnoDB: 2) If the table is not needed, or you can restore it from a backup,
InnoDB: then you can remove the .ibd file, and InnoDB will do a normal
InnoDB: crash recovery and ignore that table.
InnoDB: 3) If the file system or the disk is broken, and you cannot remove
InnoDB: the .ibd file, you can set innodb_force_recovery > 0 in my.cnf
InnoDB: and force InnoDB to continue crash recovery here.


Any idea's on how I can fix this?
IP: --   

MySQL says it's started but it's not
Jordivanderpluijm
Group: Member
Post Group: Newbie
Posts: 2
Status:
Attached a screenshot of the GUI.
IP: --   

MySQL says it's started but it's not
ketan
Group: Member
Post Group: Working Member
Posts: 241
Status:
Hi,

1. Open Ampps Application -> MySQL Tab -> Configuration.

2. In [mysqld] section, add the following line:
innodb_force_recovery = 1

3. Save the file and try starting MySQL

4. Remove that line which you just added and Save.


Please let us know if you still facing the problem.

Edited by ketan : January 8, 2014, 7:55 am

-----------------------
Follow AMPPS on,
Twitter
Facebook
Google+
IP: --   

MySQL says it's started but it's not
freestyle
Group: Member
Post Group: Newbie
Posts: 4
Status:
Thanks I had this problem also and your suggestion worked

I really appreciate your great support

running mac OSX Mavericks - 10.9.1
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 25, 2024, 7:56 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.120