ok thank you for the advices,
here is the code i use to connect the program with my local data base i installed using easyphp, and it works, this time i need to connect my program with my online database who is installed in x10hosting, i tried to put the ip adress of the server but it didn't work, maybe it's because of the php restrictions, i changed the setings, and i'm waiting them to take effects, (it may take 12 hours) i hope that's the solution
Code:
Public Const ConnnectionStr = "Database=proximad;Data Source=localhost;User Id=root;Password=;"
Public Function SeConnecter(ByRef Conn As MySql.Data.MySqlClient.MySqlConnection) As Boolean
On Error GoTo dberr
' Se connecter ā la base MySQL
Conn.ConnectionString = ConnnectionStr
Conn.Open()
ReconLoop = 0
explorerFrm.ReconTimer.Enabled = False
Return True
Exit Function
Edit:
HI,
i recieved an email that tell's me that my hosting account's version of PHP has been updated to version 2 successfully, unfortunally it still doesn't work, here is the code i used to connect to my database!
Code:
Public Const ConnnectionStr = "Database=proximad_proximad;Data Source=67.228.161.42;User Id=proximad_imad;Password=*******;"
here is the error i recieved:
Unable to connect to any of the specified MySQL hosts.
thank u fot your help