Hi all,
I've installed NuBuilder-4 on XAMPP for Windows, But doesn't work, error:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [1045] Access denied for user 'neo'@'localhost' (using password: NO)' in C:\xampp\htdocs\nuBuilder4\nudatabase.php:11 Stack trace: #0 C:\xampp\htdocs\nuBuilder4\nudatabase.php(11): PDO->__construct('mysql:host=127....', 'neo', '', Array) #1 C:\xampp\htdocs\nuBuilder4\nuchoosesetup.php(21): require_once('C:\\xampp\\htdocs...') #2 C:\xampp\htdocs\nuBuilder4\index.php(3): require_once('C:\\xampp\\htdocs...') #3 {main} thrown in C:\xampp\htdocs\nuBuilder4\nudatabase.php on line 11
File nuconfig:
$nuConfigDBHost = "localhost";
$nuConfigDBName = "nubuilder4";
$nuConfigDBUser = "neo";
$nuConfigDBPassword = "*********";
$nuConfigDBGlobeadminUsername = "admin"; //-- globeadmin username
$nuConfigDBGlobeadminPassword = "************"; //-- globeadmin password
$nuConfigTitle = "NuBuilder-4";
$nuConfigIsDemo = false;
$nuConfigTimeOut = 1440;
File nudatabase.php, row error:
$nuDB = new PDO("mysql:host=$DBHost;dbname=$DBName;charset=$DBCharset", $DBUser, $DBPassword, array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES $DBCharset"));
$nuDB->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
Any solution?
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Fatal error: Uncaught exception 'PDOException'
-
- Posts: 2
- Joined: Mon Dec 24, 2018 3:06 pm
-
- nuBuilder Team
- Posts: 4307
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 447 times
- Contact:
Re: Fatal error: Uncaught exception 'PDOException'
That error message usually means that either the password you are using doesn't match what MySQL thinks the password should be for the user you're connecting as, or a matching MySQL user doesn't exist (hasn't been created).
https://stackoverflow.com/a/31154458
https://stackoverflow.com/a/31154458
-
- Posts: 2
- Joined: Mon Dec 24, 2018 3:06 pm
Re: Fatal error: Uncaught exception 'PDOException'
Hi kevv1n,
Unfortunately (username and password) they are correct.
I suspect this is more complex than it first appears:
Maybe: https://stackoverflow.com/questions/238 ... th-message
Unfortunately (username and password) they are correct.
I suspect this is more complex than it first appears:
Maybe: https://stackoverflow.com/questions/238 ... th-message
-
- nuBuilder Team
- Posts: 4307
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 447 times
- Contact:
Re: Fatal error: Uncaught exception 'PDOException'
Good idea, try connecting with a slimmed-down PHP script.redmine wrote:Hi kevv1n,
Unfortunately (username and password) they are correct.
I suspect this is more complex than it first appears:
Maybe: https://stackoverflow.com/questions/238 ... th-message
-
- Posts: 16
- Joined: Fri Feb 15, 2019 5:13 pm
Re: Fatal error: Uncaught exception 'PDOException'
Hi,
just had the same problem. I removed the cookies (3 of those) from the browser cache. Refreshed - everything worked, Maybe try a private window - this has brought me on track.
Olaf
just had the same problem. I removed the cookies (3 of those) from the browser cache. Refreshed - everything worked, Maybe try a private window - this has brought me on track.
Olaf
* Database development *
* https://datenbank-projekt.de *
* https://datenbank-projekt.de *