Results 1 to 15 of 43
Hybrid View
-
20-12-2009, 00:18 #1
-= TeamSpeak Lover =-
- Join Date
- Dec 2009
- Location
- London
- Posts
- 32
MySQL Issue + how to stop the server
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
Hi,
I got two questions actually. First one... I am not able to start the server using the MySQL database, the error is:
And I have no clue what that means, all data is correct. The database is up and running, it has a login incl. a password, all information is entered in the config file I had to create as documented in the TS3 Server manual. Any ideas?Code:Access denied for user 'root'@'localhost' (using password: NO)
The next question: when you start the TS3 server (in this case without the mySQL support)... how do you shut it down? I start it and then (using PuTTY) the command line is not coming back and using the server-connection to send commands always says that the serverstop command is not supported, even though it's documented.Last edited by dante696; 21-02-2011 at 12:12.
-
20-12-2009, 00:22 #2
-= TeamSpeak Lover =-
- Join Date
- Dec 2009
- Location
- lutz
- Posts
- 39
There has to be an issue with the mysql library. I can not start the server with mysql in any way be it from the command line, or from an ini file.
as far as stopping the server hit "ctrl c".
-
20-12-2009, 00:25 #3
-= TeamSpeak Addict =-
- Join Date
- Dec 2009
- Location
- Norwich, UK
- Posts
- 140
You're not the first to report this issue.
To be safe double check that your root user has permission over the database (generally should be the case).
-
20-12-2009, 00:29 #4
-= TeamSpeak Lover =-
- Join Date
- Dec 2009
- Location
- lutz
- Posts
- 39
Just for giggles try to start your server using
"./ts3server_linux_x86 dbplugin=ts3db_mysql dbsqlcreatepath=create_mysql/"
And tell us what happens. It shouldn't connect to your actual mysql server database.
-
20-12-2009, 00:29 #5
-= TeamSpeak Lover =-
- Join Date
- Dec 2009
- Location
- London
- Posts
- 32
There is only one user and that is the root user indeed, thanks a lot for the tips, mates!
edit: no, it's not connecting, because of the error message mentioned above (just in case you're addressing me...
)
-
20-12-2009, 00:58 #6
-= TeamSpeak User =-
- Join Date
- Jun 2006
- Location
- Germany
- Posts
- 13
If you want to use mysql, first you have to create a file.
Call it ts3db_mysql.ini
Put this code into and upload it in the ts3 server folder.Code:[config] host=<your host> username=<username> password=<password> database=<db name>
Second, create a file call it ts3_server.
Put this code into. Copy this file to your ts3 folder.Code:#!/bin/bash DIR="/etc/ts3_server" 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
now you can start and stop your server with this script, and the
mysql function is loaded automatically.
Go into your TS3 folder and start the server: ./ts3_server start
To stop the server: ./ts3_server stop
And finally, sorry for my bad english, try my best.
-
20-12-2009, 01:01 #7
-= TeamSpeak Lover =-
- Join Date
- Dec 2009
- Location
- London
- Posts
- 32
But the main problem is, that it can't connect to mysql at all. I am not a pro, but that doesn't look like it would solve the issue of not accepting the root login data?
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Router problems
By bigteam0385 in forum [TeamSpeak 2] Server SupportReplies: 4Last Post: 24-05-2011, 10:53 -
server on freeBSD 5.3
By Dulithol in forum [TeamSpeak 2] Server SupportReplies: 0Last Post: 01-02-2005, 21:36 -
Sicherheit
By Cuidas in forum [TeamSpeak 2] Server SupportReplies: 12Last Post: 10-09-2004, 18:12 -
Stopped server wont restart
By Black_ice8472 in forum [TeamSpeak 2] Server SupportReplies: 1Last Post: 24-06-2004, 15:27 -
Scheisse habe QDSL alles geht nur keine REG
By Creeper in forum [TeamSpeak 2] Server SupportReplies: 6Last Post: 29-08-2002, 09:06


