Jump to content

Server mysql Problem Connection.lua


ReGo

Recommended Posts

[2013-03-27 11:07:01] ERROR: mysql\connection.lua:210: attempt to call global 'mysql_escape_string' (a nil value)

[2013-03-27 11:07:01] ERROR: mysql\connection.lua:210: attempt to call global 'mysql_escape_string' (a nil value)

[2013-03-27 11:07:01] ERROR: call: failed to call 'mysql:escape_string' [string "?"]

[2013-03-27 11:07:01] ERROR: account-system\s_login.lua:54: attempt to concatenate local 'safepassword' (a boolean value)

[2013-03-27 11:07:24] ERROR: mysql\connection.lua:210: attempt to call global 'mysql_escape_string' (a nil value)

[2013-03-27 11:07:24] ERROR: mysql\connection.lua:210: attempt to call global 'mysql_escape_string' (a nil value)

[2013-03-27 11:07:24] ERROR: call: failed to call 'mysql:escape_string' [string "?"]

[2013-03-27 11:07:24] ERROR: mysql\connection.lua:210: attempt to call global 'mysql_escape_string' (a nil value)

[2013-03-27 11:07:24] ERROR: mysql\connection.lua:210: attempt to call global 'mysql_escape_string' (a nil value)

[2013-03-27 11:07:24] ERROR: call: failed to call 'mysql:escape_string' [string "?"]

[2013-03-27 11:07:24] ERROR: account-system\s_login.lua:54: attempt to concatenate local 'safepassword' (a boolean value)

[2013-03-27 11:07:59] ERROR: apps-system\s_apps.lua:15 mysql\connection.lua:63: attempt to call global 'mysql_ping' (a nil value)

[2013-03-27 11:07:59] ERROR: call: failed to call 'mysql:query_fetch_assoc' [string "?"]

[2013-03-27 11:08:59] ERROR: apps-system\s_apps.lua:15 mysql\connection.lua:63: attempt to call global 'mysql_ping' (a nil value)

[2013-03-27 11:08:59] ERROR: call: failed to call 'mysql:query_fetch_assoc' [string "?"]

MYSQL

connection.lua

-- connection settings

local hostname = get( "hostname" ) or "localhost"

local username = get( "username" ) or "LeonsZ"

local password = get( "password" ) or ""

local database = get( "database" ) or "LeonsZdb"

local port = tonumber( get( "port" ) ) or 3306

s_mysql.lua

username = get( "username" ) or "LeonsZ"

password = get( "password" ) or ""

db = get( "database" ) or "LeonsZdb"

host = get( "hostname" ) or "localhost"

port = tonumber( get( "port" ) ) or 3306

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...