MyConnect parameters (server and database)
Posted: Sun  12 Mar 2006 15:46
				
				Hi
This is a really noob question. but how do I establish a connection to mySQL server? Im using MyConnection but I dont now how to set the appropriate parameters.
I got 2 questions:
1. MyConnection->Server = "?????"
Should this be the path where mySQL .exe file resides?
Like this "......mysql//bin//mysqld-nt.exe"
2. MyConnection->Database
This this be path where my database exists?
I have a database called "Test" and a table called "friends".
When looking into the folder that contain my database I found 3 files.
friends.frm
friends.MYD
friends.MYI
Which one should I use and how should I type it?:
MyConnection->Server = "mysql\data\test\friends.frm" ????????
Please help someone, this should really be a simple problem!
Best regards
Jonas
			This is a really noob question. but how do I establish a connection to mySQL server? Im using MyConnection but I dont now how to set the appropriate parameters.
I got 2 questions:
1. MyConnection->Server = "?????"
Should this be the path where mySQL .exe file resides?
Like this "......mysql//bin//mysqld-nt.exe"
2. MyConnection->Database
This this be path where my database exists?
I have a database called "Test" and a table called "friends".
When looking into the folder that contain my database I found 3 files.
friends.frm
friends.MYD
friends.MYI
Which one should I use and how should I type it?:
MyConnection->Server = "mysql\data\test\friends.frm" ????????
Please help someone, this should really be a simple problem!
Best regards
Jonas