468,242 Members | 1,546 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,242 developers. It's quick & easy.

PDO mysql sqlite and sqlite2

I've been writing all my utilities using PDO, and MySQL.

So, I'm working on a virtual server and I'm getting a missing driver
error. DSN look like this:

$DSN='mysql:dbname=...

PHP info does not show a mysql driver, but an sqlite and a sqlite2.

Now, I've Googled that and I can't seem to get beyond the chaff.

What is SQLite?

I don't have access to the php.ini files (that I know of). This is
php 5.2.4. What does it take to get the mysql driver? Is it likely a
php.ini change, or is this more work? The web host is BlueGenesis who I
long ago lost faith in... but we don't always get to choose our environment.

Jeff
Oct 4 '08 #1
3 3771
In article <Jp******************************@earthlink.com> ,
Jeff <jeff@spam_me_not.comwrote:
I've been writing all my utilities using PDO, and MySQL.

So, I'm working on a virtual server and I'm getting a missing driver
error. DSN look like this:

$DSN='mysql:dbname=...

PHP info does not show a mysql driver, but an sqlite and a sqlite2.

Now, I've Googled that and I can't seem to get beyond the chaff.

What is SQLite?
www.sqlite.org
Oct 4 '08 #2
Tim Streater wrote:
In article <Jp******************************@earthlink.com> ,
Jeff <jeff@spam_me_not.comwrote:
> I've been writing all my utilities using PDO, and MySQL.

So, I'm working on a virtual server and I'm getting a missing driver
error. DSN look like this:

$DSN='mysql:dbname=...

PHP info does not show a mysql driver, but an sqlite and a sqlite2.

Now, I've Googled that and I can't seem to get beyond the chaff.

What is SQLite?

www.sqlite.org

Thanks,

Is there any reason not to use this? I can't see anything that it
doesn't do what I need. Apparently there is no char or varchar, only
text and there doesn't seem to be a limit on the number of characters
that can be indexed.

Jeff
Oct 5 '08 #3
In article <Z7******************************@earthlink.com> ,
Jeff <jeff@spam_me_not.comwrote:
Tim Streater wrote:
In article <Jp******************************@earthlink.com> ,
Jeff <jeff@spam_me_not.comwrote:
I've been writing all my utilities using PDO, and MySQL.

So, I'm working on a virtual server and I'm getting a missing driver
error. DSN look like this:

$DSN='mysql:dbname=...

PHP info does not show a mysql driver, but an sqlite and a sqlite2.

Now, I've Googled that and I can't seem to get beyond the chaff.

What is SQLite?
www.sqlite.org


Thanks,

Is there any reason not to use this? I can't see anything that it
doesn't do what I need. Apparently there is no char or varchar, only
text and there doesn't seem to be a limit on the number of characters
that can be indexed.
I'm using it at home for a custom address database. Means I don't have
to run mysql for the purpose (although I have that too). This is under
OS X.
Oct 5 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Mike Henley | last post: by
3 posts views Thread by Ruby Tuesday | last post: by
4 posts views Thread by Jim Carlock | last post: by
14 posts views Thread by 7stud | last post: by
11 posts views Thread by Tim Streater | last post: by
2 posts views Thread by Gandalf | last post: by
2 posts views Thread by Joe Goldthwaite | last post: by
reply views Thread by Guilherme Polo | last post: by
reply views Thread by Joe Goldthwaite | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.