Results 1 to 7 of 7
Thread: [solved] Beta 17 with MYSQL
-
03-02-2010, 15:01 #1
-= TeamSpeak Lover =-
- Join Date
- Oct 2008
- Location
- USA
- Posts
- 31
[solved] Beta 17 with MYSQL
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
Before I used a simple start script that worked well.
And I had a "ts3db_mysql.ini"#!/bin/bash
DIR="/home/teamspeak/tss3"
case "$1" in
start)
cd ${DIR}
${DIR}/ts3server_linux_x86 dbplugin=ts3db_mysql
;;
stop)
killall ts3server_linux_x86
;;
*)
echo "Usage: 'basename $0' {start|stop}">&2
exit 42
;;
esac
exit 0
So I tried updating the "ts3server_startscript.sh" file like this :[config]
host=localhost
port=3306
username=*******
password=********
database=teamspeak3
COMMANDLINE_PARAMETERS="ts3db_mysql"
Should I have done anything else. It doesn't work.
Before I just started the server using "./ts3_server start &"
Any help would be greatly appreciated.Last edited by florian_fr40; 15-11-2011 at 09:54.
-
03-02-2010, 15:29 #2
-= TeamSpeak Team =-
- Join Date
- Jul 2002
- Location
- Germany
- Posts
- 2,836
Well your command line parameters probably should be "dbplugin=ts3db_mysql" at least thats what you pass to the script you pasted above.
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 ?
-
03-02-2010, 16:04 #3
-= TeamSpeak Lover =-
- Join Date
- Oct 2008
- Location
- USA
- Posts
- 31
I am getting this....
tss3new17]$ ./ts3server_startscript.sh start
-bash: ./ts3server_startscript.sh: /bin/bash^M: bad interpreter: No such file or directory
-
03-02-2010, 16:06 #4
-= TeamSpeak Lover =-
- Join Date
- Oct 2008
- Location
- USA
- Posts
- 31
Do you need to define a DIR?
-
03-02-2010, 16:09 #5
-= TeamSpeak Lover =-
- Join Date
- Oct 2008
- Location
- USA
- Posts
- 31
Also now getting this when I revert to my old server install.
tss3]$ ./ts3_server stop
2010-02-03 15:39:37.154769|INFO |ServerMain | | Received signal SIGTERM, shutting down.
[teamspeak@localhost tss3]$ 2010-02-03 15:39:37.540748|INFO |VirtualServer | 1| stopped
./ts3_server: line 3: 1756 Segmentation fault ${DIR}/ts3server_linux_x86 dbplugin=ts3db_mysql
-
03-02-2010, 16:12 #6
-= TeamSpeak Team =-
- Join Date
- Jul 2002
- Location
- Germany
- Posts
- 2,836
Extract the ts3 archive on linux. My best guess is you extracted on windows and then uploaded to your linux machine, which messes up file permissions for sure, and in this case it looks like it has also messed up line endings for this file.
Also edit the startscript on linux, don't ever send it through a windows machine
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 ?
-
03-02-2010, 17:44 #7
-= TeamSpeak Lover =-
- Join Date
- Oct 2008
- Location
- USA
- Posts
- 31
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
MySQL with Beta 17
By Micromac in forum Linux / FreeBSDReplies: 4Last Post: 05-02-2010, 14:41 -
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 -
mysql headaches (invalid username/pw)
By whysyn in forum [TeamSpeak 2] Server SupportReplies: 1Last Post: 05-12-2007, 16:58 -
Windows TS2 Server to Remote MySQL Server?
By xCav8r in forum [TeamSpeak 2] Server SupportReplies: 4Last Post: 19-02-2005, 15:57



