Database in C/C++

Discussion in 'Computer Programming, Emulation, and Game Modding' started by Wabsta, Jul 7, 2009.

Jul 7, 2009

Database in C/C++ by Wabsta at 3:10 PM (638 Views / 0 Likes) 1 replies

  1. Wabsta

    Member Wabsta you fight like a dairy farmer

    Apr 25, 2008
    SCUMM Bar
    Okay, so I'm programming a nice little application, and atm, I'm using XML for reading the Data.
    But actually I would like to have something like MySQL, you know, like a database, with tables, where I can easily manage the data, and easily read it from my application.
    But I have no freakin idea what to google for this.

    Oh, it has to be offline btw.
    Anyone has suggestions?
  2. emupaul

    Member emupaul GBAtemp Fan

    Jun 26, 2009
    United States, I learned from here. the c++ wrapper api sucks ballz use the real deal.

    to get the the libs and header files you need to install the mysql community server.

    optional install xampp it sets up a webserver and mysql db on local host it also includes myphpadmin a webtool to add drop tables etc

    then you can connect after linking the correct libs to your project
    MYSQL mysql;
    you can even set up a no-ip account to get a free domain name that points to your internet ip address so you can connect to your local database from another computer.

    you must also download a client to keep your server domain name active and up to date in case your ip changes.

    If you have webspace that includes mysql database make sure they allow remote database connection otherwise your c/c++ program will not be able to connect.
    most webspace servers do not offer this because of security reasons.

Share This Page