PHP + PhpMyAdmin

Got a question concerning an add-on? A nice trick on how to tweak stuff? Here's the are where you can exchange your findings with other users, ask questions and have a goof time as well.

PHP + PhpMyAdmin

Postby Isaksson » 26 May 2012, 20:31

Hello.

I just bought the PHP 5.3.10 + PhpMyAdmin 3.4.10 (x86) and have now installed it but i cant login to the mysql database.

/etc/init.d/mysql status
Output
MySQL is stopped..

I tryed to just start it
/etc/init.d/mysql start
Output
Starting MySQL database server: mysqld . . . . . . . . . . . . . .logger: invalid option -- i
BusyBox v1.18.4 (2011-03-28 19:08:01 PDT) multi-call binary.

Usage: logger [OPTIONS] [MESSAGE]

Write MESSAGE (or stdin) to syslog

Options:
-s Log to stderr as well as the system log
-t TAG Log using the specified tag (defaults to user name)
-p PRIO Priority (numeric or facility.level pair)

failed!
ReadyNas:~#

So what do you think? is iam trying to start it the wrong way? shouldent it already run?
Something iam doing wrong?
Isaksson
ReadyNASXtras Newbie
 
Posts: 3
Joined: 26 May 2012, 20:24
ReadyNAS1: x86

Advertisement

Re: PHP + PhpMyAdmin

Postby Isaksson » 26 May 2012, 22:19

Okey, i have tryed some more now and installed a plugin that "activates" the mysql but its not the "/etc/init.d/mysql" that is running.
But anyway, now iam up and running.

Link to the plugin that activates the mysql.
http://www.readynas.com/forum/viewtopic ... 48&t=22853
Isaksson
ReadyNASXtras Newbie
 
Posts: 3
Joined: 26 May 2012, 20:24
ReadyNAS1: x86

Re: PHP + PhpMyAdmin

Postby Xtras » 26 May 2012, 23:24

Yes, that's the standard procedure. MySQL isn't running on the x86 and Sparc lines by default. And PhpMyAdmin also doesn't enable it by default since PhpMyAdmin can be used to just work on remote servers, not only on the ReadyNAS itself. Since we don't know what PhpMyAdmin will be used for, we don't enable MySQL when the add-on is installed. That said, would you think an option to start/stop MySQL would make sense for the add-on?
User avatar
Xtras
Site Admin
 
Posts: 313
Joined: 30 Jul 2011, 17:55
ReadyNAS1: x86
ReadyNAS2: ARM
ReadyNAS3: Sparc

Re: PHP + PhpMyAdmin

Postby Isaksson » 27 May 2012, 19:25

Hello.

Yes that would be a great feature.
Isaksson
ReadyNASXtras Newbie
 
Posts: 3
Joined: 26 May 2012, 20:24
ReadyNAS1: x86


Return to Add-On Community Area

Who is online

Users browsing this forum: Google Adsense [Bot] and 3 guests

  • Advertisement