Zymic Forums

Webmaster resources

Zymic IRC Server

Chat in real time at irc.zymic.com - Learn More

Welcome

Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.

In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.

left Zymic Webmaster ForumsZymic Free Web HostingDatabases & MySQL right
  Reply to this topic Start new topic
left right
TrailVDB
post Apr 29 2012, 10:57 PM
Post #1


Newbie
*

Group: Members
Posts: 8
Joined: 29-April 12
Member No.: 239,939



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
Go to the top of the page 
 
  + Quote Post
ssfdre38
post Apr 30 2012, 01:01 AM
Post #2


THE SILENT FORUM NINJA
*******

Group: Administrators
Posts: 3,755
Joined: 23-January 10
From: on your screen
Member No.: 127,507



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
Go to the top of the page 
 
  + Quote Post
TrailVDB
post Apr 30 2012, 06:38 AM
Post #3


Newbie
*

Group: Members
Posts: 8
Joined: 29-April 12
Member No.: 239,939



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
Go to the top of the page 
 
  + Quote Post
TrailVDB
post Apr 30 2012, 02:26 PM
Post #4


Newbie
*

Group: Members
Posts: 8
Joined: 29-April 12
Member No.: 239,939



Any idea ?

For info i use this parameter:

host = localhost
login = 7134*****
database = tvdb_zx******
Go to the top of the page 
 
  + Quote Post
ssfdre38
post Apr 30 2012, 02:57 PM
Post #5


THE SILENT FORUM NINJA
*******

Group: Administrators
Posts: 3,755
Joined: 23-January 10
From: on your screen
Member No.: 127,507



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
Go to the top of the page 
 
  + Quote Post
TrailVDB
post Apr 30 2012, 04:55 PM
Post #6


Newbie
*

Group: Members
Posts: 8
Joined: 29-April 12
Member No.: 239,939



ok


host = localhost
login = 713484_us
database = tvdb_zxq_datb
Go to the top of the page 
 
  + Quote Post
TrailVDB
post May 1 2012, 04:49 PM
Post #7


Newbie
*

Group: Members
Posts: 8
Joined: 29-April 12
Member No.: 239,939



Any idea?
Go to the top of the page 
 
  + Quote Post
ssfdre38
post May 1 2012, 04:52 PM
Post #8


THE SILENT FORUM NINJA
*******

Group: Administrators
Posts: 3,755
Joined: 23-January 10
From: on your screen
Member No.: 127,507



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()
Go to the top of the page 
 
  + Quote Post
TrailVDB
post May 2 2012, 08:56 AM
Post #9


Newbie
*

Group: Members
Posts: 8
Joined: 29-April 12
Member No.: 239,939



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
Go to the top of the page 
 
  + Quote Post
TrailVDB
post May 2 2012, 11:52 AM
Post #10


Newbie
*

Group: Members
Posts: 8
Joined: 29-April 12
Member No.: 239,939



Any idea?
Go to the top of the page 
 
  + Quote Post
ssfdre38
post May 2 2012, 03:49 PM
Post #11


THE SILENT FORUM NINJA
*******

Group: Administrators
Posts: 3,755
Joined: 23-January 10
From: on your screen
Member No.: 127,507



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
Go to the top of the page 
 
  + Quote Post
TrailVDB
post May 3 2012, 09:43 AM
Post #12


Newbie
*

Group: Members
Posts: 8
Joined: 29-April 12
Member No.: 239,939



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?
Go to the top of the page 
 
  + Quote Post
ssfdre38
post May 3 2012, 03:53 PM
Post #13


THE SILENT FORUM NINJA
*******

Group: Administrators
Posts: 3,755
Joined: 23-January 10
From: on your screen
Member No.: 127,507



no cause it has to be done system wide and that will require a complete reinstall of PHP for it to be enable
Go to the top of the page 
 
  + Quote Post
TraceTimmer
post Jun 22 2012, 06:50 PM
Post #14


Newbie
*

Group: Members
Posts: 8
Joined: 2-December 11
Member No.: 220,505



Very useful and informative post thanks for sharing friends..
Go to the top of the page 
 
  + Quote Post
 Reply to this topic Start new topic
left right
0 Members:
left right
 


Lo-Fi Version Time is now: 18th June 2013 - 07:04 AM