Hello, I am very impressed with your web hosting and the features that are offered. After setting up and uploaded my website that I have been developing on a test server, everything worked fine apart from it cannot connect to the MySQL database. After lots of troubleshooting I created a simple php file to test the connection.
This is the php file I created:
This is the output:
I have ensured the user is created in cPanel and phpmyadmin.
This is the php file I created:
PHP:
<?php
$conn = mysql_connect("localhost", "noisetes_user1", "**********") or die ('Error connecting to mysql');
?>
This is the output:
HTML:
<br>
<b>Warning</b>: mysql_connect(): Access denied for user 'noisetes_user1'@'localhost' (using password: YES) in <b>/home/noisetes/public_html/testdb.php</b> on line <b>8</b><br>
Error connecting to mysql
I have ensured the user is created in cPanel and phpmyadmin.