NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Hansje
Mar 08, 2018Aspirant
mysqli_real_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO)
I cannot set up a database in mysql using phpmyadmin. Both apps are installed on the NAS. Occarding to the documentation a configuration file in mysql needs to be installed. But there's no directory ...
StephenB
Mar 08, 2018Guru - Experienced User
Hansje wrote:
Appaently I need Debian to read and write mysql files.
The NAS runs debian linux, and mysql does run on Windows too.
There are two things you can try to see the config file.
- Access the NAS using ssh (linux shell commands)
- Map the Data volume to a drive letter and look in .apps
The latter method assumes that mysql was correctly installed on the NAS (meaning that it was installed to the /apps folder).
What you do is run CMD and enter
net use * /delete
net use t: \\nas-ip-address\data /user:admin nas-admin-password
The first command will close any open SMB sessions - if it asks for confirmation, then let it proceed. The second will mount the NAS data volume as drive letter t. If your volume isn't named data, then use your actual volume name. This won't work if you are still using password as the NAS admin password. Be careful on the typing - both the spaces and the slash directions.
Once you've done this, open Windows File Explorer and go to T:\.apps This is a hidden folder, so you won't see it when you browse T. You should see a subfolder for every installed app, plus another subfolder named DO_NOT_DELETE.
Linux uses different text file conventions from windows, so you need to use an editor that can preserve Linux formatting. Notepad++ is a free editor that you can use. You go into the "edit" menu, and select Unix (LF) under EOL Conversion.
Hansje
Mar 08, 2018Aspirant
The second command is not accepted. Systems replies with "system error 53. Can't find the networkpath."
First nothing happened, but after enabling SSH the first command worked but the second failed.
Is there somthing I forgot?
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!