-
Notifications
You must be signed in to change notification settings - Fork 9
Something wrong with Installer. #29
Comments
@halojoy Instead "localhost", try to connect using 127.0.0.1. Seems like you're not using an username, are you connecting as anonymous? This first step when submitting the database settings it just run a basic |
THe error comes at this line: I am using port 3306, username=root and my password. |
I see... Seems like those parameters are not being passed to Installer() class, so the script is trying to connect to nowhere using empty values, otherwise you had seen "Access denied for user root@localhost (using password: YES)"... I'll investigate this issue. Just to know, which PHP version are you running? I want to make some tests matching the same environment as you have as much as possible. NOTE: may be related to #26 |
I actually run PHP 5.6.10, latest. On Apache 2.4.12, latest. MySQL is 5.6.16. |
The Database class has got a constructor. = _Connect I got it working after hard work. $Db = new Database(); |
Man, that's awesome! Can you send a PR with this fix? By the way, you can remove the underscore before ;) |
I am sorry. I tried to make a Pull Request. But I don't know how :( In Database.php. The Database class.
Everywhere it is a database call: That is all. |
Yeah, that's the wierd part... I set my Apache to run 5.6.x and everything still works fine as should be... I need to see what's going on, because now I'm not relying on my dev environment that much... OK, I'll do this modification and send the commit myself, and this fix will be credited to you in the changelog. ;) |
There is something wrong with the 0.5.1 installer.
I can fill in the database user and password.
But when I submit it won't let me connect to database.
Error. Access denied for user '' @ 'localhost'
Probably something with dbname, username or password.
I have tested other software and there is nothing wrong when installing them.
The text was updated successfully, but these errors were encountered: