About Store Forum Documentation Contact



Post Reply 
Connections to the database
Author Message
Babulesnik Offline
Member

Post: #1
Connections to the database
I already have the hosting sql server. For connections of this with a database I need to install sql server on my local computer? If I specify the address database on my hosting this gives me an error.

Code:
if(!sql.connect("xxx.mysql.ukraine.com.ua", "game_db", "", "", &messages))Exit(S+"Can't connect to Server!\nPlease read instructions in the tutorial codes.\nGiven Error:\n"+messages);
06-22-2011 09:25 PM
Find all posts by this user Quote this message in a reply
Babulesnik Offline
Member

Post: #2
problem with the tutorial"sql.cpp"
I created a database as described in the tutorial but when I run an error occurs( We have the majority of hosts use MySql not Mssql. How do I use MySQL???


Attached File(s) Image(s)
       
06-23-2011 02:04 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #3
RE: Connections to the database
try specifying user/password, if you don't do this, windows authentication is required (running the exe on the target machine is needed)
for user/password you need to create them on the sql server/database first (look google for sql help)
06-23-2011 07:08 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: problem with the tutorial"sql.cpp"
your screen shows MSSQL, MYSQL is not supported.
06-23-2011 07:11 PM
Find all posts by this user Quote this message in a reply
Babulesnik Offline
Member

Post: #5
RE: problem with the tutorial"sql.cpp"
(06-23-2011 07:11 PM)Esenthel Wrote:  your screen shows MSSQL, MYSQL is not supported.

Thank you. When will support MySQl?
06-23-2011 07:15 PM
Find all posts by this user Quote this message in a reply
Post Reply