1. Post #1
    InfernalCookie's Avatar
    December 2010
    700 Posts
    I'm not sure if this is in the right section, sorry.

    Can I get a link to tmysql download? I've been looking everywhere and I can't seem to find it. :/

  2. Post #2
    Gold Member
    maurits150's Avatar
    February 2007
    1,810 Posts

  3. Post #3
    InfernalCookie's Avatar
    December 2010
    700 Posts
    I'm getting an error saying "bad argument #3 to 'initialize' <string expected, got nil)(Hook: Initialize)" on line 99 which is:

    tmysql.initialize(self.Config["MySQL Host"], self.Config["MySQL Username"], self.Config["MySQL Password"], self.Config["MySQL Database"], 3306, 5, 5)
    

    I'm sorry, I've never used MySQL or anything before. I'm guessing I have to connect all this to a MySQL database or something, right?

  4. Post #4
    "The superior man understands what is right; the inferior man understands what will sell"
    Chessnut's Avatar
    August 2011
    3,514 Posts
    Where are you calling that in?

  5. Post #5
    InfernalCookie's Avatar
    December 2010
    700 Posts
    In GM:Initialize

  6. Post #6
    "The superior man understands what is right; the inferior man understands what will sell"
    Chessnut's Avatar
    August 2011
    3,514 Posts
    And is self.Config["MySQL Host"] defined?

  7. Post #7
    InfernalCookie's Avatar
    December 2010
    700 Posts
    Em, I don't know.. I downloaded the applejack gamemode and put tmysql on and I'm getting this error. I am not familiar with applejack coding nor do I know mysql

    As far as I can tell, no.

  8. Post #8
    InfernalCookie's Avatar
    December 2010
    700 Posts
    So why is it that when I put in:

    tmysql.initialize(self.Config["MySQL Host"], self.Config["MySQL Username"], self.Config["MySQL Password"], self.Config["MySQL Database"], 3306, 5, 5)

    It all works except the password.. but when I put in my mysql stuff everything but the Host works.. ?

    Edited:

    What I think I'm supposed to do with this:

    MySQLHost is supposed to be localhost
    MySQL Username is supposed to be what I use to log into the cpanel
    MySQL Password is supposed to be the password to log in
    MySQL Database is supposed to be the database I'm connecting to

    ... right?

  9. Post #9
    "The superior man understands what is right; the inferior man understands what will sell"
    Chessnut's Avatar
    August 2011
    3,514 Posts
    What do you mean it works except for the password.

  10. Post #10
    Gold Banana
    Banana Lord.'s Avatar
    May 2010
    6,587 Posts
    MySQL Username is supposed to be what I use to log into the cpanel?
    who is your host for the database

  11. Post #11
    InfernalCookie's Avatar
    December 2010
    700 Posts
    What do you mean it works except for the password.
    Forget that....

    I use xfactorservers

  12. Post #12

    July 2007
    864 Posts
    Forget that....

    I use xfactorservers
    -snip-

    i stand corrected
    Reply With Quote Edit / Delete Reply Windows 7 Denmark Show Events Dumb Dumb x 1 (list)

  13. Post #13

  14. Post #14

    July 2007
    864 Posts
    close enough