Connecting To Mysql From Within Php |
||
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 |
||
![]() |
Connecting To Mysql From Within Php |
||
Feb 22 2012, 01:02 AM
Post
#1
|
|
|
Newbie ![]() Group: Members Posts: 1 Joined: 22-February 12 Member No.: 231,409 |
I have recently created a zymic account and site and recently uploaded a test site that I'm doing for a university course I'm taking. The site uses PHP for the server-side scripting and connects to a MySQL database which I have also set up. I modified my PHP DB connection logic to use the appropriate connection settings (at least I think so), but I get the error "could not find driver" when I attempt to make a connection to the database. I am using the PHP PDO object within the code to handle the DB interaction. I have XAMPP set up on my system at home and it has been working just fine there with this logic. Does anyone have an idea what I'm might be doing wrong or if there is something that is not set up correctly?
|
|
|
Feb 22 2012, 01:31 AM
Post
#2
|
|
|
THE SILENT FORUM NINJA ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrators Posts: 3,711 Joined: 23-January 10 From: on your screen Member No.: 127,507 |
we dont have PDO enable on Zymic so it wont work
|
|
|
![]() |
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users) |
||
| 0 Members: | ||
Forum Jump |
||
| Lo-Fi Version | Time is now: 25th May 2013 - 06:11 AM |