I have a cloud server that I host 5 web sites. I use cpanel and whm.
I have Centos operating system on my server. I created a database using Cpanel for one of my website.
I am trying to create a mysql table for the same website but when I use my ip addres for the connection string it can not connect it.
I have 5 domains 1 shared ip. I use below code to connect.
"username", "password") or die(mysql_error());
e") or die(mysql_error());
The error message is:
Warning: mysql_connect() [function.mysql-connect]: Host 'www.tavsiyevar.net'
is not allowed to connect to this MySQL server in /home/alaramlz/public_html
m.php on line 11
is not allowed to connect to this MySQL server