Help - Search - Members - Calendar
Full Version: Connection Database Error
Zymic Webmaster Forums > Zymic Free Web Hosting > Databases & MySQL
TrailVDB
Hello,

I use cakePHP and i have a problem when i want to connect on my database.
I use this parameter :

CODE
<?php
class DATABASE_CONFIG {

    public $default = array(
        'datasource' => 'Database/Mysql',
        'persistent' => false,
        'host' => 'localhost',
        'login' => '7******',
        'password' => '******',
        'database' => '******',
        'prefix' => '',
        'encoding' => 'utf8'
    );
}
?>


Do you have an idea for my problem ? huh.gif

Thx
ssfdre38
go to http://mysqlquery.zymichost.com/connectionchecker.php to see if you set it up right and do NOT ever star out the user or database if you ever need help cause that will hinder the support
TrailVDB
I check the connection and they are : 'SUCCESS! YOUR DETAILS ARE CORRECT.'

I don't find where is my problem... wacko.gif

QUOTE(ssfdre38 @ Apr 30 2012, 01:01 AM) *
go to http://mysqlquery.zymichost.com/connectionchecker.php to see if you set it up right and do NOT ever star out the user or database if you ever need help cause that will hinder the support
TrailVDB
Any idea ?

For info i use this parameter:

host = localhost
login = 7134*****
database = tvdb_zx******
ssfdre38
TraiilVDB do NOT use * at all just show everything or it will hinder the support cause we need to see the full databas user and database name and its safe
TrailVDB
ok


host = localhost
login = 713484_us
database = tvdb_zxq_datb
TrailVDB
Any idea?
ssfdre38
it can be on that end but from what i can see, your fine cause your using mysql_connect() and you put persistent to false so you dont use mysql_(p)connect()
TrailVDB
I think I discovered the problem.
cakePHP need 'pdo mysql' but phpinfo said he is not available while so here yes.
Why ? Does someone could turn it on?

Thx
TrailVDB
Any idea?
ssfdre38
well first you need to wait cause the Zymic forums is the SLOWEST way to get support and second PDO isnt easily enable as it would require a complete reinstall of PHP on Zymic to install it
TrailVDB
QUOTE(ssfdre38 @ May 2 2012, 03:49 PM) *
well first you need to wait cause the Zymic forums is the SLOWEST way to get support and second PDO isnt easily enable as it would require a complete reinstall of PHP on Zymic to install it


That's impossible to have the PDO drivers Mysql in my domain?
ssfdre38
no cause it has to be done system wide and that will require a complete reinstall of PHP for it to be enable
TraceTimmer
Very useful and informative post thanks for sharing friends..
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.