NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
brianv
Jun 01, 2017Aspirant
ReadyNAS 214 on 6.7.4 - MySQL app failed to start
Yesterday I updated the firmware on my ReadyNAS 214 to 6.7.4. Once installed, the MySQL app stopped functioning. I rely on that for my web-based business management software that I wrote. Here's where I started:
1) Tried starting the app from the web interface. Got an error "Aplication failed to initialize" with "Code: 22002010000"
2) Tried without success both a reboot, and a shutdown and restart.
3) Tried uninstalling MySQL, PHPMyAdmin and reinstalling - same result.
4) Checked file permissions for the /var/lib/mysql database directory - all say mysql
5) Checked file permissions for the /etc/mysql directory - all say root
6) Tried to check the status from command line with this result:
'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Here's what fixed it:
1) So I made sure the processes were killed, ( sudo pkill mysqld; sudo pkill mysql )
2) removed the app from the web interface
3) purged it from the command line ( sudo apt-get remove --purge mysql\* )
4) Reinstalled the MySQL and PHP MyAdmin from the web interface
5) Everything worked again!! And my databases and MySQL users/permissions stayed intact. Yeah!
Don't know if that helps anyone else, but it did for me.
2 Replies
Replies have been turned off for this discussion
- elematAspirant
It seems a similar problem like my case https://community.netgear.com/t5/Community-Add-ons/Phpmyadmin-on-ReadyNAS-102-VS-212/m-p/1294318#M5742.
I have MySql working, while Phpmyadmin no. Did you purge Phpmyadmin via command line?
- brianvAspirant
I did not have to do anything to PHPMyAdmin other than uninstall and reinstall from the web interface.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!