cant connect to mysql database, tried everything really annoying! - Joomla! Forum - community, help and support


hey guys,


iv spent day trying install joomla on new hosts server,
its virtual private server , have many domain names on 1 server,

each domain name has own folder , have uploaded , unzipped joomla them,

i have set php.ini file , run joomla 1.5rc3 installation

i step 4 , cant connect, iv tried everything, swapping hostname etc etc,

i have uploaded various simple scripts try , connect mysqldb eg..

// connect localhost , socket e.g. /tmp/mysql.sock



// variant 2: localhost
$link = mysql_connect('*************', '', '');
if (!$link) {
    die('could not connect: ' . mysql_error());
}
echo 'connected successfully';
mysql_close($link);
?>


and ouput in browser:

warning: mysql_connect() [function.mysql-connect]: host '208.101.15.162' not allowed connect mysql server in /*************/mysqlconnectiontest.php on line 7
could not connect: host '208.101.15.162' not allowed connect mysql server

its doing head simple cant find it, have tried mannual installation without sucess.


my webhosts software info here: http://digital-crocus.com/phpinfo.php


please me before things broken!! (im not new joomla nad iv done 2-3 installs before 1 confusing me!

if have firewall installed, try disabling it, or allow port 3306.  if it's not that, ensure localhost , localhost ip address can connect mysql servdr, if diffeen mysql server hosting server, mysql need have hosting servers ip address entered .





Comments

Popular posts from this blog

Flip address is out of range arduino uno r3

Arduino Uno not uploading

Indesign and MathType fonts