By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,723 Members | 1,891 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,723 IT Pros & Developers. It's quick & easy.

PDO mysql sqlite and sqlite2

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
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.