[lua]connect = dbConnect( "mysql", "dbname=Ilusion;host=instance31261.db.xeround.com;port=20197", "pekio123", "pekio19999", "share=1" )
if connect then
outputChatBox ( "Connected", source )
base = executeSQLQuery("CREATE TABLE IF NOT EXISTS players (clothes_head_texture TEXT, clothes_head_model TEXT, name TEXT)")
executeSQLQuery("CREATE TABLE IF NOT EXISTS `players` (`clothes_head_texture` TEXT, `clothes_head_model` TEXT, `name` TEXT)")
if base and base2 then
outputChatBox ( "Connected2", source )
end
else
outputChatBox ( "Error", source )
end
[/lua]
How i can user this to create tabla Players in mysql datebase? this not work put Connected2 and Connected but no create table