marko_popovic_7842
New Member
- Messages
- 1
- Reaction score
- 0
- Points
- 0
Please help me,
I am a beginer with databases.
My application which is written in C++ can be connected on MySQL only with localhost ( On my PC is installed XAMPP ,OS is windows7). I have success to insert new row in database table.
After that I opened account on your site.
Here are my hosting account's details:
•Username: marko123
•Password: This is the same as your client account password
•Domain: expert123.x10.mx
•Package: adfree-infinity
•Hosting Server: stoli
Next steps were:
in CPanel in RemoteSQL:
- I added my IPaddress access Host.
in CPanel in MySQL Databases:
- I created new table marko123_222
- I added new user with username and password. (username is: marko123_222user ,password is different from client account password )
My questions:
1) Am I finished with setup connection?
2) If I use in my aplication in C++ function with 4 parameters for connecting on mysql:
CMysqlConn (string const& hostName,
string const& dbName,
string const&username,
string const& password)
Should I use for the first parameter hostName: expert123.x10.mx ? (it works with hostName localhost)
Should I use for the third parameter username: marko123 (which I got when I created account) or marko123_222user (which I made in CPanel->MySQL Databases, when I added new user with username and password) ?
Should I use for the fourth parameter password: password which I made when I created account or another password which I made in CPanel->MySQL Databases(when I added new user with username and password) ?
Sorry for my bad English.
Thanks in advance,
Marko
I am a beginer with databases.
My application which is written in C++ can be connected on MySQL only with localhost ( On my PC is installed XAMPP ,OS is windows7). I have success to insert new row in database table.
After that I opened account on your site.
Here are my hosting account's details:
•Username: marko123
•Password: This is the same as your client account password
•Domain: expert123.x10.mx
•Package: adfree-infinity
•Hosting Server: stoli
Next steps were:
in CPanel in RemoteSQL:
- I added my IPaddress access Host.
in CPanel in MySQL Databases:
- I created new table marko123_222
- I added new user with username and password. (username is: marko123_222user ,password is different from client account password )
My questions:
1) Am I finished with setup connection?
2) If I use in my aplication in C++ function with 4 parameters for connecting on mysql:
CMysqlConn (string const& hostName,
string const& dbName,
string const&username,
string const& password)
Should I use for the first parameter hostName: expert123.x10.mx ? (it works with hostName localhost)
Should I use for the third parameter username: marko123 (which I got when I created account) or marko123_222user (which I made in CPanel->MySQL Databases, when I added new user with username and password) ?
Should I use for the fourth parameter password: password which I made when I created account or another password which I made in CPanel->MySQL Databases(when I added new user with username and password) ?
Sorry for my bad English.
Thanks in advance,
Marko