==========================================================================
So, I've made a website with php pages and a mysql dbase. Using Xampp on my PC all is good. I have another site already running on the net. I wanted to test it online and so I made a folder and dumped all my local files into that with Fzilla. Then I wrote the address into the browswer and got what i expect - a dbase error. Here it is.....
+++++++++++++++++++++++++++++++++++++++++++++++++++
Warning: mysqli::mysqli() [mysqli.mysqli]: (28000/1045): Access denied for user 'root'@'localhost' (using password: NO) in /home/masterto/public_html/aNewStite/www/classes/dbClass.php on line 9
Error connecting to the database
+++++++++++++++++++++++++++++++++++++++++++++++++++
This is my config.php content:
<?php
define('DBHOST', 'localhost');
define('DBUSER', 'root');
define('DBPASS', '');
define('DBNAME', 'banana');
?>
I'm trying to leap from html to php but I can't get my head around this dbase setting.
Can anyone advise please - thank you