Community Forums Today's Posts     Member List     Archive    
Results 1 to 15 of 43

Hybrid View

  1. #1
    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:

    Code:
    Access denied for user 'root'@'localhost' (using password: NO)
    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?

    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.

  2. #2
    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".

  3. #3
    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).

  4. #4
    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.

  5. #5
    Join Date
    Dec 2009
    Location
    London
    Posts
    32

    Thumbs up

    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... )

  6. #6
    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
    Code:
    [config]
    host=<your host>
    username=<username>
    password=<password>
    database=<db name>
    Put this code into and upload it in the ts3 server folder.

    Second, create a file call it ts3_server.
    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
    Put this code into. Copy this file to your ts3 folder.
    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.

  7. #7
    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

  1. Router problems
    By bigteam0385 in forum [TeamSpeak 2] Server Support
    Replies: 4
    Last Post: 24-05-2011, 10:53
  2. server on freeBSD 5.3
    By Dulithol in forum [TeamSpeak 2] Server Support
    Replies: 0
    Last Post: 01-02-2005, 21:36
  3. Sicherheit
    By Cuidas in forum [TeamSpeak 2] Server Support
    Replies: 12
    Last Post: 10-09-2004, 18:12
  4. Stopped server wont restart
    By Black_ice8472 in forum [TeamSpeak 2] Server Support
    Replies: 1
    Last Post: 24-06-2004, 15:27
  5. Scheisse habe QDSL alles geht nur keine REG
    By Creeper in forum [TeamSpeak 2] Server Support
    Replies: 6
    Last Post: 29-08-2002, 09:06

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •