Re: [Dev-C++] Which database to use ???
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Les F. <lh...@xt...> - 2004-05-22 04:43:08
|
A.Buschhüter wrote: >Hi, >I whant to create an advanture game. >To store all the datas I whant to use a data base. > >First I tried to implement MySQL but don't get it to work... :( >I've got the latest MySQL version (incl. MyODBC) and the MySQL-DevPak installed. >I used to test it with the sample projekt from the DevPak but can't get any connections to the >data base... > >Well, MySQL also seems not to be the right DB for use with my project... > > I am sure that MySQL is more than adequate. Like most databases, you need to read the instructions for it and configure a username/password for access rights (the default admin user and password from installation will probably do for testing purposes). The details of this user, the host and database name all need to be used in the database connection string to get a connection to work. I do not know which example code you followed, but I am sure it contained a connection string or a series of connection parameters, which you modified to match your local database settings. Those details and the results of your debugging from attempting to run the code, may be useful information when you ask here for assistance. There are other issues tho, if you want a quick light database back end to an application, maybe SQLite or similar would be better for a distributed app, as the MySQL database must be installed and executed as a separate background service. -- Les Ferguson |