Connection Database Error |
||
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.
Zymic Webmaster Forums Zymic Free Web Hosting Databases & MySQL |
||
![]() |
Connection Database Error |
||
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 ? Thx |
|
|
Apr 30 2012, 01:01 AM
Post
#2
|
|
|
THE SILENT FORUM NINJA ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrators Posts: 3,708 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
|
|
|
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... 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
|
|
|
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****** |
|
|
Apr 30 2012, 02:57 PM
Post
#5
|
|
|
THE SILENT FORUM NINJA ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrators Posts: 3,708 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
|
|
|
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 |
|
|
May 1 2012, 04:49 PM
Post
#7
|
|
|
Newbie ![]() Group: Members Posts: 8 Joined: 29-April 12 Member No.: 239,939 |
Any idea?
|
|
|
May 1 2012, 04:52 PM
Post
#8
|
|
|
THE SILENT FORUM NINJA ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrators Posts: 3,708 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()
|
|
|
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 |
|
|
May 2 2012, 11:52 AM
Post
#10
|
|
|
Newbie ![]() Group: Members Posts: 8 Joined: 29-April 12 Member No.: 239,939 |
Any idea?
|
|
|
May 2 2012, 03:49 PM
Post
#11
|
|
|
THE SILENT FORUM NINJA ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrators Posts: 3,708 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
|
|
|
May 3 2012, 09:43 AM
Post
#12
|
|
|
Newbie ![]() Group: Members Posts: 8 Joined: 29-April 12 Member No.: 239,939 |
|
|
|
May 3 2012, 03:53 PM
Post
#13
|
|
|
THE SILENT FORUM NINJA ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrators Posts: 3,708 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
|
|
|
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..
|
|
|
![]() |
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users) |
||
| 0 Members: | ||
Forum Jump |
||
| Lo-Fi Version | Time is now: 23rd May 2013 - 07:11 PM |