Results 1 to 12 of 12
Thread: Mysql with beta 20
-
15-03-2010, 06:55 #1
-= TeamSpeak User =-
- Join Date
- Aug 2009
- Location
- US
- Posts
- 2
Mysql with beta 20
I am having a problem with using mysql on beta 20, the server works fine when using the sqlite plugin.
When I run the startscript I get this error:
After some googling I found out this was something to do with the libmysqlclient.15 so I ran ldd libts3db_mysql.so and got this:Code:2010-03-15 06:34:49.365740|CRITICAL|DatabaseQuery | | unable to load database plugin library "libts3db_mysql.so", halting!
I tried putting libmysqlclient.so.15.0.0 in the ts install directory and making a link, but no joy. Anyone have any ideas?Code:./libts3db_mysql.so: /usr/lib/libmysqlclient.so.15: version `libmysqlclient_15' not found (required by ./libts3db_mysql.so) linux-gate.so.1 => (0x00db6000) libmysqlclient.so.15 => /usr/lib/libmysqlclient.so.15 (0x00781000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x001cb000) libm.so.6 => /lib/libm.so.6 (0x00110000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00431000) libc.so.6 => /lib/libc.so.6 (0x002b6000) libpthread.so.0 => /lib/libpthread.so.0 (0x00a19000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x00143000) libnsl.so.1 => /lib/libnsl.so.1 (0x00175000) /lib/ld-linux.so.2 (0x009b7000)
-
28-03-2010, 13:10 #2
-= TeamSpeak User =-
- Join Date
- Mar 2010
- Location
- Germany
- Posts
- 4
I have the same problem. Here is some info on my config:
Folder contains:
ts3db_mysql.iniCode:-rw-r--r-- 1 srvusr users 15714 Mar 10 06:10 CHANGELOG -rw-r--r-- 1 srvusr users 24099 Mar 10 06:10 LICENSE drwxr-xr-x 2 srvusr users 4096 Mar 10 06:10 doc drwx------ 3 srvusr users 4096 Mar 28 03:05 files -rwxr-xr-x 1 srvusr users 195053 Mar 10 06:10 libts3db_mysql.so -rwxr-xr-x 1 srvusr users 827377 Mar 10 06:10 libts3db_sqlite3.so drwx------ 2 srvusr users 4096 Mar 28 14:00 logs -rw-r--r-- 1 srvusr users 10 Mar 28 03:05 query_ip_whitelist.txt drwxr-xr-x 2 srvusr users 4096 Mar 10 06:10 serverquerydocs drwxr-xr-x 4 srvusr users 4096 Mar 10 06:10 sql -rw-r--r-- 1 srvusr users 149254 Mar 28 12:24 ts3 -rw-r--r-- 1 srvusr users 88 Mar 28 13:56 ts3db_mysql.ini -rw-r--r-- 1 srvusr users 317 Mar 28 14:00 ts3server.ini -rw-r--r-- 1 srvusr users 5 Mar 28 13:47 ts3server.pid -rw-r--r-- 1 srvusr users 174080 Mar 28 13:20 ts3server.sqlitedb -rwxr-xr-x 1 srvusr users 5673336 Mar 10 06:10 ts3server_linux_x86 -rwxr-xr-x 1 srvusr users 157 Mar 10 06:10 ts3server_minimal_runscript.sh -rwxr-xr-x 1 srvusr users 2564 Mar 28 13:34 ts3server_startscript.sh
ts3server.iniCode:[config] host='localhost' username='ts' password='*****' database='teamspeak3' <<-- have the empty last line
and I get the following error when I run the command:Code:machine_id= default_voice_port=9987 voice_ip=0.0.0.0 licensepath= filetransfer_port=30033 filetransfer_ip=0.0.0.0 query_port=10011 query_ip=0.0.0.0 dbplugin=ts3db_mysql dbpluginparameter=ts3db_mysql.ini dbsqlpath=sql/ dbsqlcreatepath=create_mysql/ dblogkeepdays=90 logpath=logs logquerycommands=0 dbclientkeepdays=30
Edit by mod
Please don't use this outdated script anymore! The script got an overhaul long time ago.
Please use the minimal or startscript instead
Code:./ts3server_linux_x86 dbplugin=ts3db_mysql
does anyone know how to solve this?Code:TeamSpeak Server 3.0.0-beta20 [Build: 10413] (c)TeamSpeak Systems GmbH Logging started 2010-03-28 12:09:47.660945|INFO |ServerLibPriv | | Server Version: 3.0.0-beta20 [Build: 10413], Linux 2010-03-28 12:09:47.661517|INFO |DatabaseQuery | | Please make sure you use the supplied ts3server_minimal_runscript.sh to run the server, or set LD_LIBRARY_PATH yourself 2010-03-28 12:09:47.661600|CRITICAL|DatabaseQuery | | unable to load database plugin library "libts3db_mysql.so", halting!
Last edited by florian_fr40; 21-11-2011 at 09:31.
-
28-03-2010, 16:40 #3
-= TeamSpeak Fanatic =-
- Join Date
- Jan 2010
- Location
- Secret Base in Arctic Region
- Posts
- 1,186
You should run the server with the provided startscripts, else you have to set the library path manually before running the server.
-
29-03-2010, 09:09 #4
-= TeamSpeak User =-
- Join Date
- Mar 2010
- Location
- Germany
- Posts
- 4
To my total confusion, it works now. So what was the problem? I think I narrowed it down to three things:
1.) create an empty database for your ts server. Do not! import the tables by create.sql provided in the installation package. Make sure your tsdb user has all neccessary permissions to create and populate the tables.
2.) edit the "ts3server_startscript.sh" so that it uses the inifile you created. mine looks like this now:
3.) only use the ts3server_startscript.sh. Then it should work (thx Alcazar).Code:#!/bin/bash # Copyright (c) 2010 TeamSpeak Systems GmbH # All rights reserved COMMANDLINE_PARAMETERS="inifile=ts3server.ini" #add any command line parameters you want to pass here BINARYPATH="." cd "${BINARYPATH}" LIBRARYPATH="$(pwd)" ...
If you have any problems feel free to contact me.
H
-
29-03-2010, 20:57 #5
-= TeamSpeak User =-
- Join Date
- Mar 2010
- Location
- netherlands
- Posts
- 9
Thank you for the tip

This almost fixed the same issue for me. All I am still encountering now is that when I addition "inifile=ts3server.ini"to the startscript I get following error:
Regards,Code:WARNING ! For security reasons we advise: DO NOT RUN THE SERVER AS ROOT !!!!!!!!!!! Starting the TeamSpeak 3 server TeamSpeak 3 server started, for details please view the log file .so", halting!rv# 2010-03-29 19:52:56.035476|CRITICAL|DatabaseQuery | | unable to load database plugin library "libts3db_mysql
Stan
-
03-04-2010, 08:53 #6
-= TeamSpeak User =-
- Join Date
- Nov 2006
- Location
- Illinois
- Posts
- 3
i have the same issue
on beta 18 and 21
-
19-04-2010, 11:19 #7
-= TeamSpeak User =-
- Join Date
- Mar 2010
- Location
- Germany
- Posts
- 4
Hi Stan,
Well, we're in this together since I tried to start my ts3 server this morning and I get the error message again: "unable to load database plugin library "libts3db_mysql.so", halting!".
It worked fine alle the time, dunno what I did. Will keep you updated though.
Cheers, H
-
25-04-2010, 02:14 #8
I'm in the same boat as the rest of you. Same error.
I see the note about creating an empty database, but I'm not very familiar with database creation.
I've borrowed from the posts here - creating an empty database, making a ts3db_mysql.ini file. All to no avail.
If anyone else has any pointers, I'd love to hear them.
I'll be keeping an eye on this thread to see what you clever people come up with.
Last edited by WolfStar76; 25-04-2010 at 22:09.
-
25-04-2010, 10:23 #9
-= TeamSpeak Team =-
- Join Date
- Jul 2002
- Location
- Germany
- Posts
- 2,836
You need to use the runscript or startscript to start the TS3 server!
You think my answer is stupid ? Read This:
http://www.catb.org/~esr/faqs/smart-...ons.html#intro
In a world without fences and walls - who needs windows and gates ?
-
26-04-2010, 02:53 #10
Interesting.
I was following the steps provided in KoldFusion's tutorial, and was using the command:Running the startscript helped, however. I got the SuperAdmin information, and now I have to work go read to see what's going on with my license file.Code:./ts3server_linux_x86 inifile=ts3server.ini
Thanks, Peter!
-
09-05-2010, 13:01 #11
-= TeamSpeak User =-
- Join Date
- May 2010
- Location
- ....
- Posts
- 1
I have the same problem... I be reading the TeamSpeak 3 will work only with MySQL version 5.0x
(sry for my bad english ^^)
-
11-05-2010, 18:34 #12
-= TeamSpeak User =-
- Join Date
- May 2010
- Location
- Canada
- Posts
- 7
I assume everyone here is using the latest version of PHP. I had this same problem and could not figure out why. I followed some threads on this forum to debug this problem my self. I found out the problem but CentOS would not let me install and old version of libmysqlclient.so
PHP 5.2 uses libmysqlclient.so.16 however it creates a symbolic link from libmysqlclient.so.15 to libmysqlclient.so.16. Apparently TS does not like this.
This thread has a copy of the old .15 to download. Just put this file in the root directory of your TS3 release. Also create the symbolic link there as well.
http://forum.teamspeak.com/showthrea...qlclient.so.15
Post #2 has the file and Post #5 shows the link command.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[Solved] Beta 18 Mysql problem?
By leejw00t354 in forum WindowsReplies: 2Last Post: 08-12-2010, 00:22 -
MySQL with Beta 17
By Micromac in forum Linux / FreeBSDReplies: 4Last Post: 05-02-2010, 14:41 -
[solved] Beta 17 with MYSQL
By evendco in forum Linux / FreeBSDReplies: 6Last Post: 03-02-2010, 17:44 -
How to Install TS & MySQL 4 Properly
By DOMINATION in forum [TeamSpeak 2] Server SupportReplies: 242Last Post: 15-09-2009, 01:24 -
How to set up: TS-server (windows) and MySql Server (windows/linux)
By LaCosaNostra in forum [TeamSpeak 2] Server SupportReplies: 7Last Post: 02-09-2008, 21:54


Reply With Quote




