Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

External MySQL

Comments in 'Plugin Development' started by Falk, Nov 3, 2013.

  1. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,707
    Plugins:
    22
    Minecraft User:
    Falkirknh
    I was trying to use mysqli and I noticed that it didn't work. I really don't think it's smart to use already deprecated functions but would mysql work?
  2. JWhy
    Offline

    JWhy New Member

    Joined:
    Oct 21, 2013
    Posts:
    13
    Minecraft User:
    I don't play MCPE :P
    The MySQL functions are just deprecated to point out it's cooler to use MySQLi, you should still be safe to use them.
    Falk likes this.
  3. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,707
    Plugins:
    22
    Minecraft User:
    Falkirknh
    Well then I will get switching
  4. 0becca0
    Offline

    0becca0 New Member

    Joined:
    Oct 4, 2013
    Posts:
    133
    Minecraft User:
    0becca0
    what is that?
  5. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,707
    Plugins:
    22
    Minecraft User:
    Falkirknh
    A server database. I am finishing a plugin which pulls a whitelist from a database.
  6. 0becca0
    Offline

    0becca0 New Member

    Joined:
    Oct 4, 2013
    Posts:
    133
    Minecraft User:
    0becca0
    whats myslqi or SLQ in general sorry im noob at that =C
  7. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,707
    Plugins:
    22
    Minecraft User:
    Falkirknh
    MySQL is server database system. Just google it :p
  8. wies
    Offline

    wies Notable Member

    Joined:
    Aug 23, 2013
    Posts:
    390
    You need to install the MySQL extension manually. The pocketmine installer only installs the sqlite extension.
    I woud advice you to use the pdo functions to make and handle your database. With pdo you can easily switch between SQLite, MySQL, MySQLi, Oracle, ...
    JWhy likes this.
  9. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,707
    Plugins:
    22
    Minecraft User:
    Falkirknh
    Yep, makes sense bit I haven't used PDO yet. Will give it a try.

Share This Page

Advertisement