Problem to create a new DB and user
Submitted by Francesco on Thu, 03/30/2017 - 15:45
When I try to create a new DB and user (on ubuntu 16.04), via Wordpress install script inside the program too, EHCP stops with these regardings as you can look at the file attach:
Success sending info to daemon ()
Some Error Occured.
Could not connect as root!
and
Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO) in /var/www/new/ehcp/classapp.php on line 9047
Can you help me?
Thanks in advance
Attachment | Size |
---|---|
![]() | 151.83 KB |
ehcpdeveloper
Sat, 09/30/2017 - 13:00
Permalink
In your screenshot, there is
In your screenshot, there is no:
"access denied for user 'root'@localhost "
but there is,
"access denied for user ''@localhost "
This means, your db root user is set empty, in config.php
Check your config.php in ehcp dir.
it should be root. the user should be root there.