Hi Hugo,
This is what I have in my settings/website.conf.
# Website configuration
#
CACHE_TIMEOUT = 86400
DEBUG_MODE = yes
LAYOUT_CMS = layout_cms
LAYOUT_SITE = layout_site
SESSION_TIMEOUT = 1800
SESSION_PERSISTENT = no
UPLOAD_DIRECTORY = files
WEBSITE_ONLINE = yes
# Database configuration
#
DB_HOSTNAME = 192.168.1.130:1296
DB_DATABASE = hiawatha_monitor
DB_USERNAME = hiawatha
DB_PASSWORD = gr175wt7jugvjn5rwj1lztgxnyx7ryb
My DB root user has been renamed dbadmin
when I do ./setup_database I get the following:
This script will create a MySQL user 'hiawatha' and the database 'hiawatha_monitor'.
Make sure the database settings in settings/website.conf are correct!
Enter MySQL root password: PHP Warning: system() has been disabled for security reasons in /usr/local/www/webs/monitor/database/setup_database on line 19
fyZ0Y5+mysecretpassword+I017VU2e
PHP Warning: system() has been disabled for security reasons in /usr/local/www/webs/monitor/database/setup_database on line 21
PHP Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'192.168.1.125' (using password: YES) in /usr/local/www/webs/monitor/libraries/database/mysqli_connection.php on line 23
Can't connect to MySQL database (root@mysql).
Where does 192.168.1.125 is the web server local IP. where does it get that from?
Thank you