Welcome Guest, Not a member yet? Register   Sign In
Zymic Web Hosting + Database Problem
#1

[eluser]$ilovephp[/eluser]
Hello there!

I am using a free web hosting Zymic. The problem is I cannot connect to the database though I am sure that i provided the correct username, password, database and the host.

Under database.php it seems that dbcollat is required. I had a doubt that this caused the error message :

Code:
A Database Error Occurred

Unable to connect to your database server using the provided settings.

Though I suspect this as a reason, Zymic do not explicitly provide their Connection Collation. Can I just exclude this $db['default']['dbcollat']? Or maybe just set this to null?

Or could anyone tell me the collation used by Zymic?

below is my configuration in database.php
Code:
$active_group = "default";
$active_record = TRUE;

$db['default']['hostname'] = "localhost";
$db['default']['username'] = "171676_admin";
$db['default']['password'] = "******"; //intentionally hidden
$db['default']['database'] = "lubotsabaso_zxq_db";
$db['default']['dbdriver'] = "mysql";
$db['default']['dbprefix'] = "";
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = "";
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";

I am looking forward for your reply guys.
Thanks in advance.
#2

[eluser]karlis_i[/eluser]
I just saw another thread that had the answer- You have to set pc_connet to false:

Code:
$db['default']['pconnect'] = FALSE;




Theme © iAndrew 2016 - Forum software by © MyBB