NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
kiokoman
May 23, 2012Aspirant
How to Install PHP5 and phpmyadmin joomla(arm) duo v2
work on T33 and T41 you need to Enable Root SSH on the ReadyNAS. my english is not very good so i will make it short: apt-get install nano libapache2-mod-php5 php5 php5-mysql php5-gd phpmyad...
kullyrai
Feb 18, 2013Tutor
Hi charliwest,
Thanks for the tip.
I went ahead with the 'apt-get install -f' command, and after it had completed I then ran the main 'apt-get install' command with all the php packages again, and I now have php installed and working.
phpmyadmin also works, although I have noticed that when I try to start mysql, I get the following errors:
After this though, it is working and I can connect to mysql, both via command line and phpmyadmin and access the databases (created new user and test database for web development testing)
Is there a way to remove the startup errors, and also have mysql start automatically on ReadyNAS startup?
thanks
kullyrai
Thanks for the tip.
I went ahead with the 'apt-get install -f' command, and after it had completed I then ran the main 'apt-get install' command with all the php packages again, and I now have php installed and working.
phpmyadmin also works, although I have noticed that when I try to start mysql, I get the following errors:
root@ReadyNAS:~# /etc/init.d/mysql status
MySQL is stopped..
root@ReadyNAS:~#
root@ReadyNAS:~#
root@ReadyNAS:~#
root@ReadyNAS:~# /etc/init.d/mysql start
Starting MySQL database server: mysqld ..
Checking for corrupt, not cleanly closed and upgrade needing tables..
root@ReadyNAS:~# Could not open required defaults file: /etc/mysql/debian.cnf
Fatal error in defaults handling. Program aborted
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
^C
root@ReadyNAS:~#
After this though, it is working and I can connect to mysql, both via command line and phpmyadmin and access the databases (created new user and test database for web development testing)
root@ReadyNAS:/etc/mysql#
root@ReadyNAS:/etc/mysql# ps -ef | grep mysql
root 3864 1 0 10:24 pts/0 00:00:00 /bin/sh /usr/bin/mysqld_safe
admin 3979 3864 0 10:24 pts/0 00:00:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=admin --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306
root 3980 3864 0 10:24 pts/0 00:00:00 logger -t mysqld -p daemon.error
root 4261 3573 0 10:51 pts/0 00:00:00 grep mysql
root@ReadyNAS:/etc/mysql#
Is there a way to remove the startup errors, and also have mysql start automatically on ReadyNAS startup?
thanks
kullyrai
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!