Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : MySQL not starting due to port discrepency



Threaded Mode | Print  

 MySQL not starting due to port discrepency, MySQL alreadying using port 3306? (2 Replies, Read 4800 times)
jrglass
Group: Member
Post Group: Newbie
Posts: 2
Status:
For some reason, I can't start MySQL within AMPPS on a fresh install of v2.3 running the latest release of OS X Mavericks.

I looked at the error log and it says I have mysql server running on port 3306, which I have no idea I did.

Here is the log file:




2014-02-20 15:58:01 8263 [Warning] You need to use --log-bin to make --binlog-format work.
2014-02-20 15:58:01 8263 [Note] Plugin 'FEDERATED' is disabled.
2014-02-20 15:58:01 8263 [Note] InnoDB: The InnoDB memory heap is disabled
2014-02-20 15:58:01 8263 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2014-02-20 15:58:01 8263 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-02-20 15:58:01 8263 [Note] InnoDB: Not using CPU crc32 instructions
2014-02-20 15:58:01 8263 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2014-02-20 15:58:01 8263 [Note] InnoDB: Completed initialization of buffer pool
2014-02-20 15:58:01 8263 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
2014-02-20 15:58:01 8263 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
2014-02-20 15:58:01 8263 [Note] InnoDB: Database physically writes the file full: wait...
2014-02-20 15:58:01 8263 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
2014-02-20 15:58:01 8263 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
2014-02-20 15:58:02 8263 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
2014-02-20 15:58:02 8263 [Warning] InnoDB: New log files created, LSN=45781
2014-02-20 15:58:02 8263 [Note] InnoDB: Doublewrite buffer not found: creating new
2014-02-20 15:58:02 8263 [Note] InnoDB: Doublewrite buffer created
2014-02-20 15:58:02 8263 [Note] InnoDB: 128 rollback segment(s) are active.
2014-02-20 15:58:02 8263 [Warning] InnoDB: Creating foreign key constraint system tables.
2014-02-20 15:58:02 8263 [Note] InnoDB: Foreign key constraint system tables created
2014-02-20 15:58:02 8263 [Note] InnoDB: Creating tablespace and datafile system tables.
2014-02-20 15:58:02 8263 [Note] InnoDB: Tablespace and datafile system tables created.
2014-02-20 15:58:02 8263 [Note] InnoDB: Waiting for purge to start
2014-02-20 15:58:02 8263 [Note] InnoDB: 5.6.15 started; log sequence number 0
2014-02-20 15:58:02 8263 [Note] Server hostname (bind-address): '*'; port: 3306
2014-02-20 15:58:02 8263 [Note] IPv6 is available.
2014-02-20 15:58:02 8263 [Note]  - '::' resolves to '::';
2014-02-20 15:58:02 8263 [Note] Server socket created on IP: '::'.
2014-02-20 15:58:02 8263 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
2014-02-20 15:58:02 8263 [ERROR] Do you already have another mysqld server running on port: 3306 ?
2014-02-20 15:58:02 8263 [ERROR] Aborting




I've tried to shutdown mysqld in activity monitor with no success as it just keeps restarting.

Any ideas how to solve this issue? I also have a ticket in with AMPPS.

IP: --   

MySQL not starting due to port discrepency
ketan
Group: Member
Post Group: Working Member
Posts: 241
Status:
Hi,

Please run the following command in terminal,
killall -9 mysqld

and then try to start MySQL from AMPPS application.

Let us know if you still facing the problem.

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

MySQL not starting due to port discrepency
jrglass
Group: Member
Post Group: Newbie
Posts: 2
Status:
Thanks for the help as I finally got MySQL running.

Here's how I did it:

1. Start AMPPS
2. Open terminal and type killall mysqld
3. Start apache
4. Start MySQL

I didn't try 'killall -9 mysqld' as the other command worked.

But if it happens again I'll try this if 'killall mysqld' doesn't work.

Love how I actually tried this command before posting and it wasn't working. Classic!

JG
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 29, 2024, 6:22 pm.

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