• tmysql returning nil
    3 replies, posted
Hey. My code for tmysql is returning nil. [code] local db, err = tmysql.initialize(host, username, password, database, 3306, 5, 5); [/code] I added print(db) and it's just saying nil. It will not connect, however, I added this in, [code] MsgC(Color(255, 0, 0, 255), "[Debug] ", Color(0, 0, 0, 255), "Db connection: "..err) [/code] and it returns as a nil value. (just prints errors...) Need help. Yes, host, username, password, database are defined. :)
Tmysql 4 or 3?
[QUOTE=thekiller123;49433409]Hey. ... and it returns as a nil value. (just prints errors...) ...[/QUOTE] what are the errors?
[QUOTE=Coffeee;49435947]what are the errors?[/QUOTE] Cant exactly post them but here is what is said mainly, Attempt to concatenate nil value 'err' [editline]2nd January 2016[/editline] [QUOTE=Jordanlol;49435601]Tmysql 4 or 3?[/QUOTE] tmysql4
Sorry, you need to Log In to post a reply to this thread.