 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
aracona
Joined: 14 Feb 2008 Posts: 1 Location: Dallas, TX
|
Posted: Thu Feb 14, 2008 12:21 am Post subject: Pear AUTH - alternative to DSN?? |
|
|
I can't get AUTH to connect to my MySQL database on a local development server... I've narrowed the problem down to issues with the DSN, but since I'm not experienced with DSNs, (or ODBC, which DSNs seem based on) I've hit a brick wall.
Can someone tell me how to just use a simple connection string instead? That's how I usually connect to MySQL in PHP pages. I'm obviously very inexperienced, but would like to give AUTH a try if I can only get it to connect with my DB... thanks in advance. |
|
| Back to top |
|
 |
mark

Joined: 07 Jan 2007 Posts: 1048
|
Posted: Thu Feb 14, 2008 12:37 pm Post subject: |
|
|
| Not sure what the problem really is, but usually you simply pass a string like 'mysql://username:password@serveraddress/databasename'. Insert the right values and it should work. If it doesn't, you need to elaborate a little bit about e.g. the error messages that you get. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|