1. It's very slow, it takes 5 minutes to connect by PHPMyadmin or other script.
2. My unique script like that:
CODE
<?php
Config::set( 'db_connection', array(
'connection_string'=>'mysql:host=mysql.hosting.zymic.com;dbname=domainname_clanteam_database',
'username'=>'usernamedb',
'password'=>'passworddb',
'prefix'=>'prefix__'
));
// $locale = 'en-us';
?>
Config::set( 'db_connection', array(
'connection_string'=>'mysql:host=mysql.hosting.zymic.com;dbname=domainname_clanteam_database',
'username'=>'usernamedb',
'password'=>'passworddb',
'prefix'=>'prefix__'
));
// $locale = 'en-us';
?>
But it doesn't work although I tested on localhost. Then I put mysql account to test on localhost, setup is ok. But can't connect!!!
I hear there are two solutions on php.net:
QUOTE
mysql:host=localhost;port=3307;dbname=testdb
or
mysql:unix_socket=/tmp/mysql.sock;dbname=testdb
or
mysql:unix_socket=/tmp/mysql.sock;dbname=testdb
But the first is not right, the second one isn't sure /tmp/mysql.sock???
Can you help me? I'm using habara cms 6.0.3
