#1
Dear, I wanted to introduce myself politely and provide more details but it seems that my previous post was too long or something.
Can you please suggest what I shall do to solve the error message in the title. It renders when I try to open the URL http://localhost/db_pathway/students/test of the beginners learning curriculum, right after configuring the database.php file and creating the table in mySQL. Thanks and regards
#2
I tried:
1. changing the password to 'root' in phpMyAdmin
2. changing the password to 'something' in /config/database.php and to 'something' in phpMyAdmin
3. switching the $debug variable of /engine/Model.php back and forth between 'true' and 'false'
4. remove the password from database.php ('PASSWORD', '');
--> no effect. The only difference is that the action 4 resulted in a slightly different error message
SQLSTATE[HY000] [1045] Access denied for user '3306'@'localhost' (using password: NO)
#3
There is no error in any of the /config/database.php or /config/Students.php files. I checked them 10 times.
#4
Looks like a database error.
Whats the name of the database.
The user name should be 'root'.
password ''.
#5
Thanks for your reply. Here below is the database.php file. The database created in phpMyAdmin is db_pathway. I tried already with an empty password [define('PASSWORD', '');] but the error remains.
//Database settings
define('HOST', '127.0.0.1');
define('USER', '3306');
define('PASSWORD', 'root');
define('DATABASE', 'db_pathway');
#6
//Database settings -- Should be as follows:
define('HOST', '127.0.0.1');
define('PORT', '3306');
define('USER', 'root');
define('PASSWORD', '');
define('DATABASE', 'db_pathway');
#7
Sorry for the bother... I skipped a line when copying this example, what a shame. It works now...
https://trongate.io/codelab/display/beginner/database_interaction/getting_started_with_the_db
#8
Not a bother at all, I too am now learning Trongate and I make these type of mistakes all the time.
The Help Bar is exactly for users like us!

Cheers!
#9
Thank you!