• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved [1045] Access denied for user 'whiserv'@'localhost'

whitevo

Feeling good, thats what I do.
Joined
Jan 2, 2015
Messages
3,454
Solutions
1
Reaction score
627
Location
Estonia
access denied error is back in new form!
now it comes up in the apahce error log.
apparently DevAAC owner doesn't know what is causing it so i bring this issue in support section again.

this is the error:
Code:
[Wed Jan 07 00:59:29.368149 2015] [:error] [pid 172564:tid 1804] [client 127.0.0.1:59340] PHP Fatal error:  Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [1045] Access denied for user 'whiserv'@'localhost' (using password: YES)' in C:\\UniServerZ\\www\\vendor\\illuminate\\database\\Illuminate\\Database\\Connectors\\Connector.php:47\nStack trace:\n#0 C:\\UniServerZ\\www\\vendor\\illuminate\\database\\Illuminate\\Database\\Connectors\\Connector.php(47): PDO->__construct('mysql:host=loca...', 'whiserv', 'test', Array)\n#1 C:\\UniServerZ\\www\\vendor\\illuminate\\database\\Illuminate\\Database\\Connectors\\MySqlConnector.php(20): Illuminate\\Database\\Connectors\\Connector->createConnection('mysql:host=loca...', Array, Array)\n#2 C:\\UniServerZ\\www\\vendor\\illuminate\\database\\Illuminate\\Database\\Connectors\\ConnectionFactory.php(59): Illuminate\\Database\\Connectors\\MySqlConnector->connect(Array)\n#3 C:\\UniServerZ\\www\\vendor\\illuminate\\database\\Illuminate\\Database\\Connectors\\ConnectionFactory.php(47): Illuminate\\Database\\Connectors\\ConnectionFactory->createSingleConnection(Array)\n#4 C:\\UniServerZ\\www\\vendor\\illuminate\\database\\Illuminate\\Da in C:\\UniServerZ\\www\\vendor\\illuminate\\database\\Illuminate\\Database\\Connectors\\Connector.php on line 47, referer: http://localhost/
The user and password are correct ones in the config.lua
i have tried different users and different passwords (no uppercase, no numbers, etc)
when i had this permission problem before i modfied my .htaccess
i was able to get into: localhost/#
now i rly don't have any clue how to proceed because i don't even know what is wrong.

this is .htaccess
PHP:
Options +FollowSymLinks

DirectoryIndex index.html index.php
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
 
It's not a problem with your htaccess, your connection has faulty. Do you know the host, username and password for your database access?

Make sure they are correct in the config.php file, wherever that is.

Ignazio
 
It's not a problem with your htaccess, your connection has faulty. Do you know the host, username and password for your database access?

Make sure they are correct in the config.php file, wherever that is.

Ignazio

yes, they are correct. have been doublechecking them ~5times per day for 5 days. (includes making new users and testing them)
 
How often does this occur? Seems strange if it works some times. The code is clearly complaining about the access, "denied" for whiserv with password test.

Ignazio
 
well it hasn't worked at all.. i didn't have the error message is apacahe log before, but i had forbidden access on the browser page.
now the browser page is blank and error is in the apache error log.
 
Back
Top