Jump to content

Confusing, Experts please....


Snooble

Recommended Posts

Hello everyone,

 

I've been looking for so long now, i have a program that needs either:

 

a connection string

 

or

 

a .udl file

 

 

This is to connect to the database. Could you please help me out...

 

If

server = sql.server.com

username = username

password = password

db = database

 

what would the connection string look like with that information.

 

Thank you,

 

Any help is MUCH appreciated.

 

Snooble

 

Link to comment
https://forums.phpfreaks.com/topic/53572-confusing-experts-please/
Share on other sites

I'm connecting to a MySQL database held on a server online.

 

From a program called Automate.

 

It says it passes an SQL statement to the datasource via OLEDB.

 

Beneath the connection string it has the query box.

 

I just need to know how i enter the information to connect to my sql server. because there's obviously some sort of format to the string.

 

Thanks again

 

Snooble

Thanks,

 

so i should use:

 

Provider=MySQLProv;Data Source=mydb;User Id=myUsername;Password=myPassword;

 

BUT,

 

could you please run me through the difference. As i dont know where to put the host of the sql. (eg. localhost or sql15.ifastnet.com etc)

 

Sorry to be a nightmare.. obviously the rest i understand.

 

Thank you!

 

Snooble

:)...

 

didn't work though... i get the error (couldn't connect to database). I was connecting using localhost. checked phpmyadmin settings to get the correct username and password... and used a database that's there. and said couldn't connect... maybe you cant connect locally?

 

Any suggestions?

 

Snooble

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.