完美国际电信一霹雳区交流版 收藏本版 今日: 0 主题: 1794

2920 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan * E1 t9 v0 R6 R- p& ?- [

1 L9 N  s9 d9 E) H
  1. - P7 W1 h1 f. Z3 h  ?, n8 p3 @
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    8 Q$ s& l* k& a) q) y$ V0 V

  3. ) i8 e$ J+ u, E1 S* l% Q
  4. ### What we need ###0 n' P+ B& B- z) P/ g
  5. Naturally, we will need a MySQL server to store the data for us, this document $ s2 [3 v' t. m, k0 o* w
  6. will not explain how this can be done - there are documents out there for the
    7 F" D' a5 A7 d0 }- b$ _
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    1 J! |- E) s  h
  8. and a user account (username + password) that has the permissions to do stuff
    ' ?$ m; l2 W! V5 M
  9. with the database. Additionally, you will need a vendor library installed on the
    * }: y; p/ F; x9 c0 U9 J3 f, a
  10. local machine, this came with my MySQL install.
    # I8 ~! H! ]& N' U3 m
  11. These instructions will not tell you how you might transfer your data from the
    ) v: Q; u% v! T; ?
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    # d5 x  p' b2 w; F8 v
  13. database.
    / b% I/ h. O+ F$ n7 u
  14. Some users have reported ways to import a SQLite database into MySQL, but at6 f7 O1 n& g' O. i/ G1 l( Z
  15. the time of writing, there are still too many issues - check the current status
    * [+ W3 q5 q8 b. b
  16. in the TeamSpeak forums if you are interested.
    : ^; _7 E8 L0 v( ~( b' q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from$ B' z7 @5 I9 E& J- v
  18. Borland was used. This driver can only interface with the client library that
    ' r9 ]4 P& D8 i/ U
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this6 R) f5 v! o  |) b3 j0 n
  20. client library - basically all you have to do is to use a 3.x client library as 2 |  |' i8 n$ Y0 ^3 p. c/ E
  21. "VendorLib" and a 4.x database to connect to.
    - }  `: k) i, M0 g: ^2 S7 W9 H( ]
  22. If you need more info about dbExpress, you can contact Borland.& K. C8 F4 r" g& u* u# s

  23. 6 L* i6 w7 Y- d% z0 N% ^- G
  24. ### Doing the work ###+ o# V+ G! w( w
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    : L: W& `# k# R: K4 B; {
  26. the perquisites right, just open your server.ini file, and add this section at
    9 x0 ]" o. _$ V1 Y- G$ q
  27. the end:
    & c, h; ^5 z2 z  E# h: z! x
  28. ---cut here---: M7 h: L' O# [& G0 S
  29. [DBEXPRESS]
    5 v# G( M1 Y% D+ a& J, M7 y
  30. sqldir=mysql_sql* c! \4 {6 l! B9 Z/ \
  31. Drivername=mysql
    * ]* G1 j& v" N% N# c
  32. Database=Your_Database_Name_Here
    : t; D* l  P- `( J0 I6 ^) o
  33. Hostname=The_PC_the_MySQL-Server_is_on
    6 }, ?8 Z. N% o+ E  p3 F3 y
  34. User_name=User_name_on_the_MySQL-Server
    . W* s5 K& t' D7 G7 }* o. W
  35. Password=Password_to_go_with_above_user_name; I, b5 Y3 G" Z& a- w+ ~
  36. GetDriverFunc=getSQLDriverMYSQL
    - y+ j% N/ K& ~, V$ }
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    " f( Y$ Y$ O3 J
  38. LibraryName=path_to_libsqlmy_libary
    ) Q$ Z6 x* t$ q9 v' G7 d: X
  39. Active=1
    " L% k' }% }* M0 q  G1 m, t8 [
  40. ---cut here---
    & @; n: u9 \9 N
  41. In my environment (a linux box with a MySQL server running locally) I have:: Q+ |; ?7 F3 H3 |. J# d9 X9 q7 E) }! S
  42. ---example---
    5 u, p- O! `: v7 J. D6 k" W- U: u
  43. [DBEXPRESS]3 t! ?; D( r7 E' F5 V0 Z3 w
  44. sqldir=mysql_sql
    . p3 U8 g0 A6 ~
  45. Drivername=mysql/ i3 _7 D( ^' f- A9 f
  46. Database=test  j  |8 [2 X# Q' [. b) B; {+ g8 ?
  47. Hostname=localhost
    1 E- n+ T! h8 o
  48. User_name=testuser
    1 h7 `0 y2 s0 S2 {. N4 O' G# f
  49. Password=my_password
    & u+ j( W) ~* d. c7 U0 `# q8 ?
  50. GetDriverFunc=getSQLDriverMYSQL+ a! |5 B2 q( I5 x3 U% n, i$ F8 v
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    8 e8 j) i6 U- h$ M
  52. LibraryName=./libsqlmy.so# Q# ~) e* g& f) {/ f
  53. Active=1
    " [6 T3 o6 ~3 F: W' m
  54. ---example---: R7 C$ c2 H7 A0 E& `  p! S; R! C; W

  55. # j. D9 D! |/ c1 [/ I7 b
  56. On a windows box, also running the MySQL server locally, it would be:
    1 k0 V! U) ?7 h1 V7 a& Q) S
  57. ---example---
    . G+ Z, N9 ~+ c* S1 Q! B
  58. [DBEXPRESS]# ~; m* D0 ]$ y5 n- n5 Q
  59. sqldir=mysql_sql
    0 e9 x5 x) q5 L+ r* Y9 {
  60. Drivername=mysql
    $ H. m/ r3 x) c
  61. Database=test
    ; a% ?' w, [; G( V% I/ P
  62. Hostname=127.0.0.1
    ' Y. Y- x0 O: B9 {/ [2 S" s5 v
  63. User_name=testuser' Q0 Y- \" d0 N9 F# z! h; M7 P* L
  64. Password=my_password6 d, u5 i5 a6 k5 X& r3 R. ^
  65. GetDriverFunc=getSQLDriverMYSQL6 j0 C1 V) v5 K$ ^2 o
  66. VendorLib=libmysql.dll$ v. H+ q) O& Q
  67. LibraryName=dbexpmysql.dll6 H& V0 h" `/ j2 `+ |9 T
  68. Active=1$ K0 g. S% U( n% R3 w* h
  69. ---example----
    4 N$ y+ n* F/ c+ Q6 \' ?
  70. - written 02.03.04 by pwk.linuxfan
    8 y- Q* l4 Z7 m& N: i# w7 Y3 i% k5 c
  71. 2 p$ x5 ?" B0 k9 }8 w  j% s+ L! X
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看8 A- B. j3 ]# F7 u
  1. . Y' I1 T+ t# |, h8 A- P# \
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### + h3 W. u% E0 L+ M  L4 g7 n$ g8 I

  3. ) L* c/ m; V% ~3 s+ Q+ b9 w
  4. # # #我们所需要# # #
    0 N% ?. _3 ^  @7 M+ G- N
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件2 N$ g. _' ?/ F4 _* [
  6. 不会解释如何做到这一点-也有文件存在,为& ]% S3 y7 z3 p' C  a3 Z, T
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用+ O$ @& T3 x! C" i. b* t
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    4 b- m! x$ s" _) o$ n- Y1 }
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    % P, w$ V# U" g0 l' g. U( O1 C
  10. 本地机器,这是我的MySQL安装。
    + q8 p8 ?2 |0 l$ [1 r9 S& R$ E
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    : @" ^+ R4 R+ ]. H% K. W% q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL + l; ~% v  E- c# Q* L" b' h1 x- e
  13. 数据库。
    9 `2 [/ l6 V+ a" u
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在$ N$ Q1 z* c" B
  15. 编写本报告的时候,仍然有太多的问题-检查现状1 t. Z1 ?8 D0 h0 Z8 V$ p
  16. 在teamspeak论坛,如果你有兴趣。 1 ~$ q$ c0 f5 z6 S7 k8 @( g
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    # g7 B# g6 V- Q9 ?( r
  18. Borland公司使用。这个司机只能界面与客户端库( K, y8 @6 z* C2 `, s5 t; Q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这! z# u- |/ P) ]' X
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为( ]: w. f  G5 [8 k% V8 k& t$ A3 [
  21. " vendorlib " ,并解数据库连接。
    6 t' c% b8 y1 O4 y: Q+ P# N
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    6 p6 u, a' V. o: C4 X

  23. 2 _2 `$ G7 M5 P4 a: W1 \$ G) N+ D
  24. # # #做好工作# # #
    & J5 x' X; e! T/ r2 T* ]7 N1 W
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都, \0 ?4 R* Z4 ]! Q% _+ v
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    $ R6 |5 Y6 Y1 J
  27. 结束:
    3 \9 C2 r( U5 s- D* J5 {( |; D" D
  28. ---削减这里--- 3 N3 C" c" W0 b6 _' D
  29. [ dbexpress ]
    1 w+ I- q* W! K- }" P. B6 K) P
  30. sqldir = mysql_sql . S# K, S. H! g+ J
  31. drivername = MySQL中
    " P% o$ d% q6 ~- B' @8 D% y# a  `8 P
  32. 数据库= your_database_name_here 2 X+ d7 a# Z6 |& k% I+ Q' A
  33. 主机= the_pc_the_mysql - server_is_on
      o; i; g& _& g/ O
  34. user_name = user_name_on_the_mysql服务器; l# [9 T+ S$ ^6 m: k: V
  35. 密码= password_to_go_with_above_user_name $ y- E& a' r* G5 O/ c+ X' l" O. o
  36. getdriverfunc = getsqldrivermysql 4 D3 l; \0 ?8 u2 O' m% R
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ! s9 Z0 w$ J- F; j4 l9 ?
  38. libraryname = path_to_libsqlmy_libary & n$ t- c4 P8 @) H+ m9 Y2 Y, g
  39. 积极= 1 / g  ^9 o( @" |9 b5 ]/ a. k3 i+ [
  40. ---削减这里--- 2 T* n' G" D/ j( a! Z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 9 b2 U5 G# }' S$ L" u% P$ W
  42. ---例如---
    ! h0 z( }, }3 W2 K: u' f4 _3 c8 q8 m
  43. [ dbexpress ] ) Q0 F; o9 j. T! M
  44. sqldir = mysql_sql
    4 Z2 C9 \" Q. C' Z; d7 R5 ^
  45. drivername = MySQL中8 _, a! I4 b; [* e7 z  q
  46. 数据库=测试4 O# T' N2 y; `( d9 B) Y0 V
  47. 主机=本地主机- v0 ~" L; x+ h' k, I8 c1 P
  48. user_name = testuser
    ) c, v" J7 A$ X# F8 L- U
  49. 密码= my_password
    . g8 K: g5 ^6 w! l" b$ l% Z
  50. getdriverfunc = getsqldrivermysql
    # |# ~* g: j! v& b  X" q6 ]1 h8 T) z2 l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    5 z5 R, K+ \: |
  52. libraryname =. / libsqlmy.so
    7 }" ~& P: Q# N; a, n5 X
  53. 积极= 1
    * G, r% ?0 \  A' q0 P
  54. ---例如--- ) K  b: e. M9 w/ T1 s7 N

  55. & w$ K; y2 X# Z  J0 W& v, i. a) _+ s
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ) l' _4 K- Y+ H
  57. ---例如---
    8 J1 `0 J) C* g1 J, k+ y5 ~0 ~
  58. [ dbexpress ]
    : H7 k% @1 H* j# a& E
  59. sqldir = mysql_sql
    " a* F  A9 R( n. V9 v8 Q
  60. drivername = MySQL中
    * [) q# q6 U- N3 X# }1 j  V0 M
  61. 数据库=测试1 V3 I6 e3 T) Y( V- [/ @
  62. 主机= 127.0.0.1
    % d2 W' ]) X! b# a  h
  63. user_name = testuser
    $ c8 `. o- V9 T$ l
  64. 密码= my_password 5 r! {5 k% [% c/ }4 D& f& U% {
  65. getdriverfunc = getsqldrivermysql
    - a* \! i4 A' e3 Y7 P
  66. vendorlib = libmysql.dll在
    ; l# l% ^7 ?6 b) X$ m
  67. libraryname = dbexpmysql.dll $ m( v0 o) F% I/ Q; @: \5 ?4 X% _
  68. 积极= 1
    3 ?/ x7 `3 U. Z. f8 U* N' |
  69. ---例如---- : |  F  z) R4 I9 w& s
  70. -写在0 2.03.04由p wk.linuxfan$ h7 g' K) ^0 V) L7 O% I
复制代码
发表于 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 | 显示全部楼层
比 考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
: E0 `) N$ r9 U/ @3 F/ c4 _$ T: e5 v# s% S
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

傲天阁游戏公会
联系我们
咨询电话 : 020-88888888
事务 QQ : 85075421
电子邮箱 : admin@admin.com

小黑屋|手机版|Archiver|傲天阁游戏公会 ( 粤ICP备14058347号 )|免责声明

GMT+8, 2026-7-21 07:54 , Processed in 0.107845 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表