MySQL Problem
#1

I've got a server working on MySQL. When I'm connecting from my computer to my localhost database(Windows OS), it works fine and goes well, but when I switch it to Debian Linux and change the database to the local host's network database the server doesn't run at all. I'm using MySQL R6 by G-Stylez, if you need that information. These are the debug errors:

Код:
[16:47:30] >> mysql_connect( )
[16:47:30] CMySQLHandler::CMySQLHandler() - constructor called.
[16:47:30] CMySQLHandler::CMySQLHandler() - Connecting to "localhost" | DB: "redzmax_samp" | Username: "redzmax_samp" ...
[16:47:30] CMySQLHandler::Connect() - Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) (Error ID: 2002)
[16:47:30] >> mysql_ping( Connection handle: 1 )
[16:47:30] CMySQLHandler::Ping() - You cannot call this function now. (Reason: Dead Connection)
[16:47:30] >> mysql_connect( )
[16:47:30] CMySQLHandler::Connect() - Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) (Error ID: 2002)
[16:47:30] >> mysql_ping( Connection handle: 1 )
[16:47:30] CMySQLHandler::Ping() - You cannot call this function now. (Reason: Dead Connection)
[16:47:30] CMySQLHandler::~CMySQLHandler() - deconstructor called.
[16:47:30] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
[16:47:30] CMySQLHandler::Disconnect() - You cannot call this function now. (Reason: Connection is dead)
[16:47:30] CMySQLHandler::~CMySQLHandler() - deconstructor called.
The SA:MP GamePanel gives me these errors:

Код:
** glibc detected *** ./samp03svr: munmap_chunk(): invalid pointer: 0x0a2c2198 ***
======= Backtrace: =========
/lib32/libc.so.6(+0x6b511)[0xf7514511]
/lib32/libc.so.6(+0x6bcae)[0xf7514cae]
plugins/mysql_debian.so(my_no_flags_free+0x21)[0xf7316721]
plugins/mysql_debian.so(free_rows+0x39)[0xf732e489]
plugins/mysql_debian.so(mysql_free_result+0x47)[0xf732e937]
plugins/mysql_debian.so(_ZN13CMySQLHandler10FreeResultEv+0x21)[0xf7305921]
plugins/mysql_debian.so(_ZN13CMySQLHandlerD1Ev+0x25)[0xf7307ed5]
plugins/mysql_debian.so(Unload+0x30)[0xf730d810]
./samp03svr[0x809f0ab]
./samp03svr[0x807793f]
/lib32/libc.so.6(__libc_start_main+0xe7)[0xf74bfe37]
./samp03svr(__gxx_personality_v0+0xf1)[0x804b451]
======= Memory map: ========
08048000-08168000 r-xp 00000000 08:03 1519529 /home/gsp_41/93.113.8.68-7777/samp03svr
08168000-08184000 rw-p 0011f000 08:03 1519529 /home/gsp_41/93.113.8.68-7777/samp03svr
08184000-0818f000 rw-p 00000000 00:00 0
0a00e000-0a333000 rw-p 00000000 00:00 0 [heap]
f5edb000-f5edc000 rw-p 00000000 00:00 0
f5edc000-f5edd000 ---p 00000000 00:00 0
f5edd000-f66dd000 rw-p 00000000 00:00 0
f6908000-f6909000 ---p 00000000 00:00 0
f6909000-f7109000 rw-p 00000000 00:00 0
f7109000-f7113000 r-xp 00000000 08:02 133486 /lib32/libnss_files-2.13.so
f7113000-f7114000 r--p 00009000 08:02 133486 /lib32/libnss_files-2.13.so
f7114000-f7115000 rw-p 0000a000 08:02 133486 /lib32/libnss_files-2.13.so
f7115000-f7247000 r-xp 00000000 08:02 43096 /lib32/libcrypto.so.0.9.8
f7247000-f724f000 r--p 00131000 08:02 43096 /lib32/libcrypto.so.0.9.8
f724f000-f725e000 rw-p 00139000 08:02 43096 /lib32/libcrypto.so.0.9.8
f725e000-f7261000 rw-p 00000000 00:00 0
f7261000-f72a5000 r-xp 00000000 08:02 43095 /lib32/libssl.so.0.9.8
f72a5000-f72a6000 r--p 00044000 08:02 43095 /lib32/libssl.so.0.9.8
f72a6000-f72a9000 rw-p 00045000 08:02 43095 /lib32/libssl.so.0.9.8
f72c0000-f7462000 r-xp 00000000 08:03 1554948 /home/gsp_41/93.113.8.68-7777/plugins/mysql_debian.so
f7462000-f74a6000 rw-p 001a2000 08:03 1554948 /home/gsp_41/93.113.8.68-7777/plugins/mysql_debian.so
f74a6000-f74a9000 rw-p 00000000 00:00 0
f74a9000-f75ff000 r-xp 00000000 08:02 133477 /lib32/libc-2.13.so
f75ff000-f7600000 ---p 00156000 08:02 133477 /lib32/libc-2.13.so
f7600000-f7602000 r--p 00156000 08:02 133477 /lib32/libc-2.13.so
f7602000-f7603000 rw-p 00158000 08:02 133477 /lib32/libc-2.13.so
f7603000-f7606000 rw-p 00000000 00:00 0
f7606000-f7623000 r-xp 00000000 08:02 91845 /usr/lib32/libgcc_s.so.1
f7623000-f7624000 r--p 0001c000 08:02 91845 /usr/lib32/libgcc_s.so.1
f7624000-f7625000 rw-p 0001d000 08:02 91845 /usr/lib32/libgcc_s.so.1
f7625000-f7649000 r-xp 00000000 08:02 133481 /lib32/libm-2.13.so
f7649000-f764a000 r--p 00023000 08:02 133481 /lib32/libm-2.13.so
f764a000-f764b000 rw-p 00024000 08:02 133481 /lib32/libm-2.13.so
f764b000-f7734000 r-xp 00000000 08:02 91853 /usr/lib32/libstdc++.so.6.0.13
f7734000-f7735000 ---p 000e9000 08:02 91853 /usr/lib32/libstdc++.so.6.0.13
f7735000-f7739000 r--p 000e9000 08:02 91853 /usr/lib32/libstdc++.so.6.0.13
f7739000-f773a000 rw-p 000ed000 08:02 91853 /usr/lib32/libstdc++.so.6.0.13
f773a000-f7741000 rw-p 00000000 00:00 0
f7741000-f7756000 r-xp 00000000 08:02 133491 /lib32/libpthread-2.1
I'm using the MySQL version - R6: CentOS, Debian 5, x86 (compiled on CentOS), x86 (compiled on Debian5)

Does anyone know what's the problem?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)