List:General Discussion« Previous MessageNext Message »
From:Larry Martell Date:January 16 2012 3:36pm
Subject:Re: help! mysqld cannot start!
View as plain text  
On Mon, Jan 16, 2012 at 4:37 AM, mantianyu <mantianyu@stripped> wrote:
> I have download the
>
> Linux - Generic 2.6 (x86, 32-bit), Compressed TAR Archive
>
> binary edition
>
> and I installed it all followed the INSTALL_BINARY
>
> but at last step I start the service by run
>
> sudo bin/mysqld_safe --user=mysql
>
> I got following error message
>
> cifer@Pig:/usr/local/mysql$ 120116 19:15:28 mysqld_safe Logging to
> '/var/log/mysql/error.log'.
> 120116 19:15:28 mysqld_safe Starting mysqld daemon with databases from
> /var/lib/mysql
> 120116 19:15:30 mysqld_safe mysqld from pid file /var/lib/mysql/Pig.pid
> ended
>
>
> and I check the error.log file it shows that
>
> 120116 19:15:28 mysqld_safe Starting mysqld daemon with databases from
> /var/lib/mysql
> 120116 19:15:28 [ERROR] Can't find messagefile '/usr/share/errmsg.sys'
> 120116 19:15:28 [Note] Plugin 'FEDERATED' is disabled.
> 120116 19:15:28 InnoDB: The InnoDB memory heap is disabled
> 120116 19:15:28 InnoDB: Mutexes and rw_locks use InnoDB's own implementation
> 120116 19:15:28 InnoDB: Compressed tables use zlib 1.2.3
> 120116 19:15:28 InnoDB: Using Linux native AIO
> 120116 19:15:28 InnoDB: Initializing buffer pool, size = 128.0M
> 120116 19:15:28 InnoDB: Completed initialization of buffer pool
> 120116 19:15:28 InnoDB: highest supported file format is Barracuda.
> 120116 19:15:28  InnoDB: Waiting for the background threads to start
> 120116 19:15:29 InnoDB: 1.1.8 started; log sequence number 1595675
> 120116 19:15:29 [ERROR] Aborting
>
> 120116 19:15:29  InnoDB: Starting shutdown...
> 120116 19:15:30  InnoDB: Shutdown completed; log sequence number 1595675
> 120116 19:15:30 [Note]
> 120116 19:15:30 mysqld_safe mysqld from pid file /var/lib/mysql/Pig.pid
> ended
>
>
> every step I followed the INSTALL_BINARY file
> why it still can't start?
>
> who can help me? thanks!


I had the same issue, and I solved it by starting the server with this
command line option:

--lc-messages-dir="/usr/local/mysql/share/"


HTH,
-larry
Thread
help! mysqld cannot start!mantianyu16 Jan
  • Re: help! mysqld cannot start!Johan De Meersman16 Jan
  • Re: help! mysqld cannot start!hsv16 Jan
  • Re: help! mysqld cannot start!Larry Martell16 Jan