Results 1 to 11 of 11
-
21-12-2009, 13:22 #1
-= TeamSpeak Lover =-
- Join Date
- Aug 2008
- Location
- German
- Posts
- 78
Teamspeak 3 and connecting with MySQL
Hello,
I've been trying the whole time TS3 server with my MyAQL vebinden too. Unfortunately, this does not work, it only appears when you start the following:
[code]2009-12-21 09:45:13.131005|INFO |ServerLibPriv | | Server Version: 3.0.0-beta2 [Build: 9398]
2009-12-21 09:45:13.134311|INFO |DatabaseQuery | | dbPlugin name: MySQL plugin, (c)TeamSpeak Systems GmbH
2009-12-21 09:45:13.134519|INFO |DatabaseQuery | | dbPlugin version: 1
2009-12-21 09:45:13.151091|ERROR |DatabaseQuery | | mysql_real_connect() failed with error: Access denied for user 'root'@'localhost' (using password: NO)
2009-12-21 09:45:13.151226|CRITICAL|ServerLibPriv | | Server() DatabaseError[/ code]
But when I connect via console () with the following command:
[code]mysql --host=localhost --port=3306 --user=teamspeak --password=x5gUjs ts3db[/ code]
Will I be connected to MySQL. Can one help me, where is the problem?
Sorry for my English, but I can not do it so well and let everything translate with google.
Greeting
RavLau
-
21-12-2009, 14:20 #2
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 1
-
21-12-2009, 18:12 #3
-= TeamSpeak Addict =-
- Join Date
- Dec 2007
- Location
- Austria,Linz
- Posts
- 220
You should delet your mysql password for the user teamspeak....
try with a file!
(i) MySQL plugin
To make your TeamSpeak 3 Server use a MySQL database you need to make sure that the
"ts3db_mysql" library is located in your servers installation directory. Per default,
the plugin is using the following parameters:
* host (127.0.0.1)
The hostname or IP addresss of your MySQL server.
* port (3306)
The TCP port of your MySQL server.
* username (root)
The username used to authenticate with your MySQL server.
* password (<empty>)
The password used to authenticate with your MySQL server.
* database (test)
The name of a database on your MySQL server. Note that this database must be created
before the TeamSpeak 3 Server is started.
* socket (<empty>)
The name of the Unix socket file to use, for connections made via a named pipe to a
local server.
All parameters can be customized by creating a INI-style configuration file called
"ts3db_mysql.ini". For example:
[config]
host=localhost
port=3306
username=teamspeak
password=x5gUjs
database=ts3db
socket=
The path and filename of the configuration file can be set using the "dbpluginparameter"
commandline parameter.
To start the TeamSpeak 3 Server with MySQL support, you need to specify the "dbplugin"
commandline parameter. You may also need to specify the "dbsqlcreatepath" parameter if
you're starting the server instance for the first time since the syntax of the MySQL
installation files differs from SQLite3.
Example:
$ ./ts3server_linux_amd64 dbplugin=ts3db_mysql dbsqlcreatepath=create_mysql/
-
22-12-2009, 09:42 #4
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 20
Hi,
I have the same Problem i setup this file but it ignores it and try to connect as root.
My ts3db_mysql.ini contains this and is stored in the maindir from the teamspeakserver.
output from consoleCode:[config] host=localhost port=3306 username=teamspeak3 password=mypassword database=teamspeak3 socket=
Whats the Problem ? Why dont use my configfile?Code:./ts3server_linux_amd64 inifile=ts3db_mysql.ini dbplugin=ts3db_mysql dbsqlcreatepath=create_mysql/ Logging started 2009-12-22 09:41:30.945098|INFO |ServerLibPriv | | Server Version: 3.0.0-beta3 [Build: 9419] 2009-12-22 09:41:30.948474|INFO |DatabaseQuery | | dbPlugin name: MySQL plugin, (c)TeamSpeak Systems GmbH 2009-12-22 09:41:30.948557|INFO |DatabaseQuery | | dbPlugin version: 1 2009-12-22 09:41:30.953494|ERROR |DatabaseQuery | | mysql_real_connect() failed with error: Access denied for user 'root'@'localhost' (using password: NO) Speicherzugriffsfehler
Greetings
BlackScript
-
22-12-2009, 10:02 #5
-= TeamSpeak Lover =-
- Join Date
- Aug 2008
- Location
- German
- Posts
- 78
-
22-12-2009, 19:53 #6
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 2
I've the same problem!
It keeps ignoring the Username & Password for the mysql connection.
No matter if I use the config file or the commandline params.
-
22-12-2009, 20:26 #7
-= TeamSpeak Lover =-
- Join Date
- Jun 2009
- Location
- Wuppertal
- Posts
- 48
that is a buggy fileCode:[config] host=localhost port=3306 username=teamspeak password=x5gUjs database=ts3db socket=
that the correktCode:[config] host=localhost username=teamspeak password=x5gUjs database=ts3db blankline
-
26-12-2009, 12:22 #8
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 20
-
26-12-2009, 13:16 #9
-= TeamSpeak Lover =-
- Join Date
- Mar 2005
- Location
- Germany
- Posts
- 51
-
30-12-2009, 15:27 #10
-= TeamSpeak Lover =-
- Join Date
- Aug 2008
- Location
- German
- Posts
- 78
DELETED...
I get the problem solved itself.Last edited by RavLau; 30-12-2009 at 15:49.
-
28-06-2010, 00:06 #11
-= TeamSpeak User =-
- Join Date
- Jun 2010
- Location
- UK
- Posts
- 1
Since this thread is the first place you land on when searching for the error on Google...
This problem is caused on Windows by not escaping the backslashes on the dbpluginparameter parameter, i.e. you need something like:
dbpluginparameter=C:\\Path\\ts3db_mysql.ini
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
TeamSpeak with MySQL > 4.0
By mokum in forum [TeamSpeak 2] Server SupportReplies: 50Last Post: 02-10-2009, 21:03 -
Connecting to Teamspeak VIA website ..
By {BB} KnifE in forum [TeamSpeak 2] Client SupportReplies: 4Last Post: 15-08-2009, 01:22 -
connecting teamspeak server to remote mysql database
By goarack in forum [TeamSpeak 2] Server SupportReplies: 2Last Post: 11-06-2009, 03:10 -
Web interface timing out
By J_Campbell7 in forum [TeamSpeak 2] Server SupportReplies: 0Last Post: 10-02-2008, 16:36 -
Linux server dependecies
By nwerensteijn in forum [TeamSpeak 2] Server SupportReplies: 79Last Post: 05-09-2007, 21:23


Reply With Quote
