$ LD_PRELOAD=/usr/lib/libmysqlwrap.so ./ts2_server -pid=./teamspeak2.pid -httpdocs=./httpdocs -tcpquerydocs=./tcpquerydocs -ini=./server.ini -log=./ts2.log -sql=./mysql_sql -badnames=./badnames.txt
dlopen: /usr/lib/libmysqlclient_r.so.10, 2
dlopen: (null), 1
dlsym: ExternalInit = (nil)
dlopen: (null), 1
dlsym: _BorUnwind_RegisterIPLookup = (nil)
dlsym: @Sysinit@ResSym = 0x8111528
dlsym: @Sysinit@ResSym = 0x8111528
dlsym: @Sysinit@ResStr = 0x8111728
dlsym: @Sysinit@ResHash = 0x81117d0
dlopen: libuuid.so.1, 1
dlsym: uuid_generate_time = 0xb7f81080
dlopen: /usr/lib/libsqlmy.so, 1
dlsym: getSQLDriverMYSQL = 0xb7419948
dlopen: /usr/lib/libsqlmy.so, 1
dlopen: /usr/lib/libmysqlclient_r.so.10, 2
dlsym: mysql_init = 0xb7f85c0b
dlsym: mysql_connect = 0xb7f85c57
dlsym: mysql_real_connect = 0xb7f85cad
dlsym: mysql_close = 0xb7f85d76
dlsym: mysql_real_query = 0xb7f85dc2
dlsym: mysql_use_result = 0xb7f85e23
dlsym: mysql_fetch_field = 0xb7f85e6f
dlsym: mysql_fetch_row = 0xb7f85eea
dlsym: mysql_fetch_lengths = 0xb7f86006
dlsym: mysql_free_result = 0xb7f86052
dlsym: mysql_escape_string = 0xb7df1762
dlsym: mysql_field_count = 0xb7df11eb
dlsym: mysql_affected_rows = 0xb7df11f9
dlsym: mysql_error = 0xb7df122f
own_mysql_init called
own_mysql_real_connect called: H:localhost U:xxxxxx P:xxxxxx
File '/usr/share/libmysqlclient/charsets/?.conf' not found (Errcode: 2)
Character set '#210' is not a compiled character set and is not specified in the '/usr/share/libmysqlclient/charsets/Index' file
own_mysql_real_query called:SHOW TABLES
own_mysql_use_result called
own_mysql_fetch_field called
field name Tables_in_ts2
own_mysql_fetch_row called
ROWS[1]: [ts2_bans]
own_mysql_fetch_lengths called
own_mysql_fetch_row called
ROWS[1]: [ts2_channel_privileges]
own_mysql_fetch_lengths called
own_mysql_fetch_row called
ROWS[1]: [ts2_channels]
own_mysql_fetch_lengths called
own_mysql_fetch_row called
ROWS[1]: [ts2_clients]
own_mysql_fetch_lengths called
own_mysql_fetch_row called
ROWS[1]: [ts2_server_privileges]
own_mysql_fetch_lengths called
own_mysql_fetch_row called
ROWS[1]: [ts2_servers]
own_mysql_fetch_lengths called
own_mysql_fetch_row called
ROWS[1]: [ts2_servers2]
own_mysql_fetch_lengths called
own_mysql_fetch_row called
ROWS[1]: -
own_mysql_free_result called
own_mysql_close called
...