NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
mode500
Sep 16, 2014Aspirant
PhpMyAdmin & MysqlOn Problems
Hi all :D
This is my first post here so go easy with me ...
OK I've recently bought a second hand ReadyNAS Duo V1 and am trying to get it up & running as a web server to use wordpress on. I have read plenty of info on the subject and followed a couple of guides to the best of my ability but have come across the problem of not being able to log into PhpMyAdmin due to the Username & Password that is highly discussed elsewhere on the web.
Now my question is, when it says 'Edit the file config.inc.php' where exactly am I supposed to be looking for this file to edit? I have searched high & low for an answer to this but to no avail. I'm along the lines of thinking that it maybe something to do in Front View under the MysqlOn option which brings me to my second question, although its more of a query. In Front View MysqlOn is on and up & running but the inner box shows no content at all, is this correct? Its just that the PHP5 & PHPMyAdmin have content in their inner boxes but the MysqlOn is completely blank. This I found to be a little odd.
MysqlOn V.1.0
PHP5 V.5.3.28-sparc-4.5.5
PHPMyAdmin V.2.5
RAIDiator V.4.1.13 [1.00a043]
RAIDar V.4.3.8 ( 4.3.8 )
Mac OS X 10.4.9
Oh, and I also d/l a copy of iTerm if that helps!
Many thanks in advance :)
This is my first post here so go easy with me ...
OK I've recently bought a second hand ReadyNAS Duo V1 and am trying to get it up & running as a web server to use wordpress on. I have read plenty of info on the subject and followed a couple of guides to the best of my ability but have come across the problem of not being able to log into PhpMyAdmin due to the Username & Password that is highly discussed elsewhere on the web.
Now my question is, when it says 'Edit the file config.inc.php' where exactly am I supposed to be looking for this file to edit? I have searched high & low for an answer to this but to no avail. I'm along the lines of thinking that it maybe something to do in Front View under the MysqlOn option which brings me to my second question, although its more of a query. In Front View MysqlOn is on and up & running but the inner box shows no content at all, is this correct? Its just that the PHP5 & PHPMyAdmin have content in their inner boxes but the MysqlOn is completely blank. This I found to be a little odd.
MysqlOn V.1.0
PHP5 V.5.3.28-sparc-4.5.5
PHPMyAdmin V.2.5
RAIDiator V.4.1.13 [1.00a043]
RAIDar V.4.3.8 ( 4.3.8 )
Mac OS X 10.4.9
Oh, and I also d/l a copy of iTerm if that helps!
Many thanks in advance :)
30 Replies
Replies have been turned off for this discussion
- mode500AspirantAnyone please?
- xeltrosApprenticeusing login "root" and letting password empty doesn't work ? That's how it is done on OS6.
Do you try to have phpmyadmin or wordpress ? because for wordpress the site says that you should edit "wp-config.php". PhpMyadmin has a file called config.inc.php. The problem is to know where the files were copied to. Usual Debian setup would suggest /var/www but since this is an addon it could be anywhere as long as it is specified in an apache configuration.
Otherwise than that, I can't really help as I don't have the NAS to test. You may contact the addon creator to get more information. I believe the file you seek is accessible only via SSH but the location varies depending on the configuration. - mode500AspirantHi, first of all thank you so much for the reply!
Yes, that is correct, using the login 'root' and leaving the password field empty does not work! I have been trying to follow the work around here http://www.readynas.com/forum/viewtopic.php?f=36&t=72799 and here http://www.linuxquestions.org/questions/linux-newbie-8/can't-login-to-phpmyadmin-819842/ but I am totally confused by it as I am not sure where I am supposed to be looking for the files, and how?
Thank you once again :) - mode500AspirantThe last post on one of the above threads ends with this 'I know I'm bringing this older post alive... but since I didn't see resolution and recently installed the WhoCares? MyPHPAdmin plugin myself on my ReadyNAS (albeit Ultra)... I did manage to figure out where this setting needs to be made is in /etc/phpmyadmin/config.inc.php. Just need to uncomment the line with AllowNoPassword and then you can login with root and no password.'
So my question is where is /etc/phpmyadmin/config.inc.php and how do I access it?
Sorry for being such a dumb ass :P - StephenBGuru - Experienced User/etc is on the OS partition. You enable ssh to access it, and use something like putty.
Once there, you either
-use vi, or
-copy it to the data partition, and edit it with an editor like notepad++ which preserves linux formatting (not notepad). Then copy it back with ssh when done.
You enable ssh by installing the sparc binary of the enablerootssh add-on here: http://www.readynas.com/?p=4203 - mode500AspirantHi Stephen,
I've already installed the spark binary of enablerootssh (sorry if that wasn't mentioned earlier) ... and as I have already said I have a copy of iTerm which I believe to be the Mac version of Putty.
What do you mean by the OS partition? What is vi? I feel so close yet so far with all of this right now!
Thanks - mode500AspirantBy the way I have been mainly following the guide here :
http://readynas.sphardy.com/2011/06/setting-up-website-with-php-mysql_6972.html
I am up to the part of logging into phpMyAdmin which is not allowing me to using root as the username and leaving the password blank. I believe that once I have managed to get past this part then I should be OK. - StephenBGuru - Experienced UserAre you able to log into the ReadyNAS with iterm? If you can, the try entering
cd /etc/phpmyadmin
ls -l
The NAS has a data partition on the disks, which is where the shares are. There's a second partition which contains the linux operating system and the NAS software - a 2 GB partition on your NAS.
vi is a command line text editor that is often used by linux folks. You probably won't like it much (I don't). - mode500AspirantOK I've actually managed to log into the NAS via Mac OS's Terminal and I have just used the command line you have given me cd /etc/phpmyadmin
ls -l - StephenBGuru - Experienced Usergood. You should see config.inc.php in the file listing, correct?
so if you want to copy that file to a normal share (say "backup") then enter thiscp config.inc.php /c/backup
Of course use a real sharename. Now you can access the file from your mac.
First copy the original file somewhere, so you can get back to it if needed. Then edit the file on your mac, using a text editor (I don't have a mac, so I can't recommend one). OSX and Linux have compatible text formats, so any plain text editor should work. When you are done, then write the file back to the share.
Then enter this from iterm (using the real sharename)cd /c/backup
That will copy your edited file back into /etc/phpmyadmin
cp config.inc.php /etc/phpmyadmin
Related Content
NETGEAR Academy

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