傲天♂浪子追风 发表于 2008-1-18 15:41:41

锡灵,你英文好,麻烦进来帮个忙--(或者谁的英文自己觉得不错的话也可以)

麻烦翻译一下,下面这段文章:xhan


###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######

### What we need ###
Naturally, we will need a MySQL server to store the data for us, this document
will not explain how this can be done - there are documents out there for the
interested. The requirements include a (empty) database for TeamSpeak to use
and a user account (username + password) that has the permissions to do stuff
with the database. Additionally, you will need a vendor library installed on the
local machine, this came with my MySQL install.
These instructions will not tell you how you might transfer your data from the
SQLite database to the MySQL database, we start with a clean and empty MySQL
database.
Some users have reported ways to import a SQLite database into MySQL, but at
the time of writing, there are still too many issues - check the current status
in the TeamSpeak forums if you are interested.
NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
Borland was used. This driver can only interface with the client library that
comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
client library - basically all you have to do is to use a 3.x client library as
"VendorLib" and a 4.x database to connect to.
If you need more info about dbExpress, you can contact Borland.

### Doing the work ###
Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
the perquisites right, just open your server.ini file, and add this section at
the end:
---cut here---

sqldir=mysql_sql
Drivername=mysql
Database=Your_Database_Name_Here
Hostname=The_PC_the_MySQL-Server_is_on
User_name=User_name_on_the_MySQL-Server
Password=Password_to_go_with_above_user_name
GetDriverFunc=getSQLDriverMYSQL
VendorLib=path_pointing_at_your_mysql_vendor_lib
LibraryName=path_to_libsqlmy_libary
Active=1
---cut here---
In my environment (a linux box with a MySQL server running locally) I have:
---example---

sqldir=mysql_sql
Drivername=mysql
Database=test
Hostname=localhost
User_name=testuser
Password=my_password
GetDriverFunc=getSQLDriverMYSQL
VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
LibraryName=./libsqlmy.so
Active=1
---example---

On a windows box, also running the MySQL server locally, it would be:
---example---

sqldir=mysql_sql
Drivername=mysql
Database=test
Hostname=127.0.0.1
User_name=testuser
Password=my_password
GetDriverFunc=getSQLDriverMYSQL
VendorLib=libmysql.dll
LibraryName=dbexpmysql.dll
Active=1
---example----
- written 02.03.04 by pwk.linuxfan

傲天♂浪子追风 发表于 2008-1-18 15:43:17

就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan

傲天♂浪子追风 发表于 2008-1-18 15:48:42

我这里有一个网页自动翻译的结果,大家校正一下看看

######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######

# # #我们所需要# # #
当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
不会解释如何做到这一点-也有文件存在,为
有兴趣的。要求包括: (空)数据库teamspeak使用
和一个用户帐户(用户名+密码) ,有权限做的东西
随着数据库。此外,你需要一个卖方图书馆安装于
本地机器,这是我的MySQL安装。
这些指示不会告诉你,你怎么可能转移你的数据,从
SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
数据库。
有些用户报方式进口SQLite数据库到MySQL中,但在
编写本报告的时候,仍然有太多的问题-检查现状
在teamspeak论坛,如果你有兴趣。
注意:为了让teamspeak访问MySQL数据库的dbexpress司机
Borland公司使用。这个司机只能界面与客户端库
随MySQL 3.x.这是有可能进入一个mysql解数据库,这
客户端库-基本上你所需要做的就是使用3 .x客户端库作为
" vendorlib " ,并解数据库连接。
如果您需要更多的信息dbexpress ,你可以联络Borland公司。

# # #做好工作# # #
成立teamspeak使用MySQL (应该)直线前进时,一旦你都
该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
结束:
---削减这里---
[ dbexpress ]
sqldir = mysql_sql
drivername = MySQL中
数据库= your_database_name_here
主机= the_pc_the_mysql - server_is_on
user_name = user_name_on_the_mysql服务器
密码= password_to_go_with_above_user_name
getdriverfunc = getsqldrivermysql
vendorlib = path_pointing_at_your_mysql_vendor_lib
libraryname = path_to_libsqlmy_libary
积极= 1
---削减这里---
在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
---例如---
[ dbexpress ]
sqldir = mysql_sql
drivername = MySQL中
数据库=测试
主机=本地主机
user_name = testuser
密码= my_password
getdriverfunc = getsqldrivermysql
vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
libraryname =. / libsqlmy.so
积极= 1
---例如---

对Windows中,也运行MySQL服务器本地的,那就是:
---例如---
[ dbexpress ]
sqldir = mysql_sql
drivername = MySQL中
数据库=测试
主机= 127.0.0.1
user_name = testuser
密码= my_password
getdriverfunc = getsqldrivermysql
vendorlib = libmysql.dll在
libraryname = dbexpmysql.dll
积极= 1
---例如----
-写在0 2.03.04由p wk.linuxfan

傲天♂翼魔 发表于 2008-1-18 15:57:50

zhu48t zhu48t zhu48t 火星语言

傲天♂浪子追风 发表于 2008-1-18 16:02:23

我现在正在我们自己的服务器上调试TS与论坛结合,这篇文章里的大概操作方法我是明白了,但是我怕翻译过来可能有点出入,所以还是要专业的英文水平高的人看看才行:xhan

傲天♂让爱伤心 发表于 2008-1-18 18:45:35

那你只有找哪个马来人了。。。

啸西风 发表于 2008-1-20 18:35:58

zhu45t 俄有自知之明

傲天♀妮歌 发表于 2008-1-21 11:37:51

:xbiexu比 考4级还难懂!!

傲天♂神话 发表于 2008-1-21 13:54:07

怎么不问我呢 我晕

锡灵@霹雳 发表于 2008-1-21 14:15:44

sorry for the late, i think the best way is i go to TS and translate for you. coz now i cannot type chinese words

but, i only will free at nite, tuesday 11pm, your time
页: [1] 2
查看完整版本: 锡灵,你英文好,麻烦进来帮个忙--(或者谁的英文自己觉得不错的话也可以)