Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

MySQL won't start after power reset

Hola,

I'm having problems with a MySQL server. After a power reset (node problems), my MySQL server won't start anymore.

The /var/log/mysql* logs are empty.

Anyone knows how to fix this?

Comments

  • OS?

  • First you should tell us how you are trying to start it. Try to start it without using the init script: mysqld_safe & and see what you get.

  • Which OS ?

    What are you getting on this :

    service mysql start or service mysqld start

  • I'm running Debian x86_x64

    # mysqld_safe &
    [1] 11054
    141220 11:04:02 mysqld_safe Logging to syslog.
    141220 11:04:02 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
    141220 11:04:04 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
    
    # service mysql start
    [FAIL] Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
    
  • Check the mysql.log or mysql dir on /var/log, it should have details on what failed.

  • mysqld_safe --log-error=/tmp/mysql.log

    Thanked by 1cassa
  • @bf1 said:
    mysqld_safe --log-error=/tmp/mysql.log

    Thanks!

    I got this:

    141220 11:19:10  InnoDB: Warning: io_setup() failed with EAGAIN. Will make 5 attempts before giving up.
    

    Fixed by placing the following in the /etc/mysql/my.cnf in [mysqld]

    innodb_use_native_aio = 0
    
Sign In or Register to comment.