Results 16 to 30 of 44
-
16-04-2007, 19:43 #16
-= TeamSpeak User =-
- Join Date
- Apr 2007
- Location
- Ger
- Posts
- 4
I get every time username/passwort.... I think there is not really a connection to mysql... I tried without pass and the same error... anybody a idea?
Swen
-
25-04-2007, 11:02 #17
-= TeamSpeak User =-
- Join Date
- Apr 2007
- Location
- Quebec
- Posts
- 1
with Fedora Core 6 all you have to do when you get the cannot find lib ... you get
MySQL-shared-compat-4.1.22-0.i386.rpm from mysql web site. once installed using full path it work with :
mysql Ver 14.12 Distrib 5.0.27, for redhat-linux-gnu (i686) using readline 5.0
================================================== ========
[DBEXPRESS]
sqldir=/usr/bin/tss2_rc2/mysql_sql/
Drivername=mysql
Database=ts_domainname_com
Hostname=127.0.0.1
User_name=ts_linux
Password=long-ass-password
GetDriverFunc=getSQLDriverMYSQL
VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
LibraryName=/usr/bin/tss2_rc2/libsqlmy.so
Active=1
================================================== ========
no problem for now.
-
30-04-2007, 20:36 #18
-= TeamSpeak Lover =-
- Join Date
- Apr 2007
- Location
- Germany
- Posts
- 33
1. Has your mysql server networking enabled? Check your /etc/mysql/my.cnf and comment out the line "skip-networking".
2. You have to use old passwords, since the authentication mechanism within mysql changed. Connect to the database as root-user and type the following:
SET PASSWORD FOR '<your-ts-db-user>'@'localhost' = OLD_PASSWORD('<your-ts-db-pass>')
3. Does your teamspeak-server connect to "127.0.0.1" instead of "localhost"? If your database server supports sockets, you have to use the ip address of the loopback device (127.0.0.1) instead of the hostname (localhost) to prevent the teamspeak-server from using the unix socket.
server.ini example:
sqldir=mysql_sql/
Drivername=mysql
Database=teamspeak
Hostname=127.0.0.1
User_name=teamspeak
Password=xxxxxx
GetDriverFunc=getSQLDriverMYSQL
VendorLib=/usr/lib/libmysqlclient_r.so.10
LibraryName=./libsqlmy.so
Active=1
Note: The property "User_name" is correct, don't use "Username" (without the underscore) here as told elsewhere in this forum, it won't work.
-
07-04-2008, 14:48 #19
-= TeamSpeak Lover =-
- Join Date
- Oct 2007
- Location
- France
- Posts
- 73
Hello,
I'm on debian (last version updated)
My server don't work on mysql and i don't find why.
Originally Posted by configuration
I've tested with many configuration, but it don't work, here's the differently configuration i've used:
Originally Posted by error
VendorLib=/usr/lib/libmysqlclient_r.so.15.0.0
VendorLib=/usr/lib/libmysqlclient_r.so.15
VendorLib=/usr/lib/libmysqlclient.so.15.0.0
VendorLib=/usr/lib/libmysqlclient.so.15
VendorLib=./libmysqlclient_r.so.15.0.0
VendorLib=./libmysqlclient.so.15.0.0
If anybody have solution for me it's very cool, my test server on windows is on mysql and it work perfectly at the first time, i don't understand why it doesn't work on linux
thx in advance
-
10-05-2008, 19:15 #20
-= TeamSpeak User =-
- Join Date
- May 2008
- Location
- Milano, Italy
- Posts
- 3
you should obtain necessary libs. you can do this in the following way:
go to that link and download the .rpm file. so now you should open that file.
if you are under linux (i'll hope), you should install a program called alien (available, i know, for gentoo and debian; probably also for other distros).
by command line type
with the -t option, you will make a .tgz file from the .rpm file.Code:alien -t /YOURPATH/MySQL-shared-compat-4.1.9-0.i386.rpm
now in your .tgz (you can open it with some archive managers) there will be the necessary libs: libmysqlclient_r.so.10 is the one who interest you
doing that i've obtained a starting and running server on my gentoo, using a mysql 5.0 database..but now i've a problem:
from server.log:
when i try to use webadmin interface from superadmin managing permissions that message is shown:
and in the permissions sections of the webadmin, all values are shown like "%!SERVERCFG_GROUP_PERMISSIONS_SA!%" (as in their htmls).Code:,ERROR,All,WEBINTERFACE, SetVariables Exception: EInvalidField.field b_sp_AdminEditServerWelcomeMessage not found
if i restart server, every time, it is shown that message:
so i'm unable to manage my server...Code:,ERROR,All,SERVER, VirtualServer Startup(1) Exception: EInvalidField.field b_sp_AdminEditServerWelcomeMessage not found
an other user had my same problem, but the replies to his post are not useful for me..
so can someone help me?
-
28-05-2008, 10:36 #21
-= TeamSpeak Lover =-
- Join Date
- Oct 2007
- Location
- France
- Posts
- 73
i have the same problem :s
if you have this error
EInvalidField.field b_sp_AdminEditServerWelcomeMessage not found
Edit the table and change the type tyint to int and the value 1 to 11
for the moment my problem is solved, i work on it
I confirm, problem solved
Now i have a new question, how i can update my server.dbs on mysql table?Last edited by Bloody-wave; 28-05-2008 at 11:38.
-
29-05-2008, 21:59 #22
-= TeamSpeak User =-
- Join Date
- May 2008
- Location
- Hungary
- Posts
- 1
i have a problem
dear helpers!
[DBEXPRESS]
sqldir=mysql_sql\
Drivername=mysql
Database=test
Hostname=localhost
User_name=team
Password=****
GetDriverFunc=getSQLDriverMYSQL
VendorLib=libmysql.dll
LibraryName=dbexpmysql.dll
Active=1
----------
29-05-08 22:49:37,ALL,Info,server, Server init initialized
29-05-08 22:49:37,ALL,Info,server, Server version: 2.0.24.1 Win32
29-05-08 22:49:37,ERROR,All,SQL, Database initialization error: EDatabaseError.Unable to Load libmysql.dll
29-05-08 22:49:37,ERROR,All,SERVER, Start_Server: unable to open database
29-05-08 22:49:37,ERROR,All,GENERAL, critical error, shutdown initiated
------
mysql ver: 5.0.45
what is the problem(s)?
-
30-05-2008, 22:36 #23
-= TeamSpeak User =-
- Join Date
- May 2008
- Location
- Hungary
- Posts
- 17
mysql 5 problema
TS server is not working with mysql 5 library, because libsqlmy.so want a function (called mysql_connect) which isnt exists in 5.x library:
I added the missing function to mysql 5 source:Code:# grep mysql_connect /usr/lib/libmysqlclient_r.so.10 Binary file /usr/lib/libmysqlclient_r.so.10 matches # grep mysql_connect /usr/lib/libmysqlclient_r.so.15 #
After recompile and install:Code:MYSQL* STDCALL mysql_connect(MYSQL *mysql, const char *host, const char *user, const char *passwd) { return NULL; }
I write a little mysql wrapper. With this, i can "monitor" the mysql calls.Code:# grep mysql_connect /usr/lib/libmysqlclient_r.so.15 Binary file /usr/lib/libmysqlclient_r.so.15 matches #
Run ts2 server with mysql 3.x library working good:
http://pastebin.com/f4004fa0a
Run ts2 server with mysql 5.x library still not working:
http://pastebin.com/f6872c01e
Watch out to: own_mysql_real_query called:SHOW TABLES.
TS dont call own_mysql_fetch_row to get the showtable result! Why?
(Ubuntu Hardy)
-
03-06-2008, 18:20 #24
-= TeamSpeak User =-
- Join Date
- Apr 2007
- Location
- Ger
- Posts
- 4
But the file is exist in folder... Any ideas?03-06-08 19:00:06,ALL,Info,server, Server init initialized
03-06-08 19:00:06,ALL,Info,server, Server version: 2.0.20.1 Linux
03-06-08 19:00:06,ERROR,All,SQL, Database initialization error: EDatabaseError.Unable to Load /usr/lib/libmysqlclient_r.so.10.0.0
03-06-08 19:00:06,ERROR,All,SERVER, Start_Server: unable to open database
-
05-06-2008, 05:31 #25
-= TeamSpeak User =-
- Join Date
- Nov 2006
- Location
- US
- Posts
- 8
all I can say is:
Please document this better.
edit: after reflection, I can also say:
Linux isn't that hard to understand, and developing for it is almost as hard. So please, help a "brotha" out and begin the love for mysql on linux!!!
-
05-06-2008, 05:43 #26
-= TeamSpeak User =-
- Join Date
- Nov 2006
- Location
- US
- Posts
- 8
further elaboration:
if one searches for "libmysqlclient_r.so.10.0.0" with google.com, the first result is:
libmysqlclient_r.so.10.0.0 - TeamSpeak Community Forums
??????
within the thread there's a statement further explaining the lack of regard for this demand for "support":
It's hard to see a leg snap on a titanium-alloy reinforced bench, wtf is going on here??????
-
05-06-2008, 06:15 #27
-= TeamSpeak User =-
- Join Date
- Nov 2006
- Location
- US
- Posts
- 8
some MAJOR problems with the release of both the binary and "non existant" documentation:
1) wont work if you use relative path names in the settings file
2) binary distribution does not contain REQUIRED sql files in the mysql_sql folder
3) Not sure, but I belive if you try to use (any) release other than 10.0.0 of the client library, then you're in a world of hurt.
4) SET PASSWORD FOR '%%%%%%%%%%'@'%%%%%%%%' = OLD_PASSWORD( '%%%%%%%%%%%%%%%%%%' ) OR DIEEEEEEEE
5) Impossible to administer server unless stock sql files edited before install: http://forum.teamspeak.com/showthrea...849#post179849
WTF people!!!!!!!!Last edited by FoolyCooly; 05-06-2008 at 08:34.
-
23-07-2008, 18:08 #28
-= TeamSpeak Fanatic =-
- Join Date
- Feb 2005
- Location
- .
- Posts
- 1,010
It seems that most of the scripts in the mysql_sql directory are missing. We supposed to rewrite those for MySQL? Anyone else written them? No sense in reinventing the wheel.
-
24-07-2008, 02:31 #29
-= TeamSpeak Fanatic =-
- Join Date
- Feb 2005
- Location
- .
- Posts
- 1,010
Ok, so they are all on the FTP: ftp://ftp.freenet.de/pub/4players/te...2401/mysql_sql For some reason, they were left out of Windows and Linux server downloads.
Rather than you having to copy all the text and save it to individual files, I thought I'd zip and tar them for you. See attached files.
EDIT:in my zip and tar should beCode:delete_channel_privileges.sql
Code:delete_channel_privilege.sql
Last edited by sgtbenc; 25-07-2008 at 00:04.
-
23-08-2008, 23:59 #30
-= TeamSpeak Addict =-
- Join Date
- Jun 2006
- Location
- England, Hertfordshire
- Posts
- 254
Anyone know where I can get libmysqlclient_r.so.10.0.0 as the server won't allow libmysqlclient_r.so.15.0.0?
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
How to Install TS & MySQL 4 Properly
By DOMINATION in forum [TeamSpeak 2] Server SupportReplies: 242Last Post: 15-09-2009, 01:24 -
Teamspeak & MySQL 4.x
By -FN- in forum [TeamSpeak 2] Server SupportReplies: 32Last Post: 16-08-2009, 14:25 -
TeamSpeak + MySQL 4.1.7 (GA)
By McAfee in forum [TeamSpeak 2] Server SupportReplies: 11Last Post: 08-08-2005, 16:29 -
Teamspeak hacked via MySQL
By [BSS]Hambone in forum [TeamSpeak 2] Server SupportReplies: 10Last Post: 20-05-2005, 22:35


Reply With Quote
