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 ForumsWeb Design & DevelopmentServer Side ScriptingPHP right
left right
gemmy886
post Mar 2 2010, 04:12 AM
Post #1


Newbie
*

Group: Members
Posts: 1
Joined: 2-March 10
Member No.: 132,791



Hi,

I am new to zymic, and everything was fine until now..but I am wondering why is there no support for MySQL PDO?

the phpinfo() shows that sqlite, sqlite2 are available.. how come no mysql? "PDO drivers sqlite2, sqlite "

And this is the error I get on my site:

"on line 32 Failed to get DB handle In oo_db_class : could not find driver "

Have any timming ZYMIC open the PDO Driver for MySql ?

Thank you for the help.
Go to the top of the page 
 
  + Quote Post
 
Start new topic
Replies (1 - 1)
RaSh
post Mar 8 2010, 05:27 PM
Post #2


Newbie
*

Group: Members
Posts: 7
Joined: 8-March 10
From: France
Member No.: 133,562



You just have to do that :

CODE
$bdd = new PDO('sqlite:host='.$host.';dbname='.$dbname, $user, $pass);
Go to the top of the page 
 
  + Quote Post
 Closed Topic Start new topic
left right
0 Members:
left right
 


Lo-Fi Version Time is now: 24th May 2013 - 05:47 PM