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

2316 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
3 n& f& W" k, W; H! u3 J- N, O2 D4 O, t

  1. - Q7 r: J( \1 X
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    / t9 E3 P" I! \( Y

  3. : `/ T! L! Y' ]
  4. ### What we need ###
    , g8 u; D- L1 U+ a5 G
  5. Naturally, we will need a MySQL server to store the data for us, this document
    3 p5 j6 A0 ~) B# c" h
  6. will not explain how this can be done - there are documents out there for the 9 j) g) d( I+ F" g$ s
  7. interested. The requirements include a (empty) database for TeamSpeak to use+ s+ [# c6 }9 m3 ]
  8. and a user account (username + password) that has the permissions to do stuff/ [# m2 m0 u' t0 k6 I8 X" x1 T, P
  9. with the database. Additionally, you will need a vendor library installed on the
    2 f1 M  Z: f- y" Y
  10. local machine, this came with my MySQL install.
    9 Z+ n, C4 |- H, [2 r- L
  11. These instructions will not tell you how you might transfer your data from the- P9 S% m6 w5 D/ D0 [" a
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL9 u3 z$ ^6 H# @
  13. database./ ^$ H6 M- e  Z$ |; s
  14. Some users have reported ways to import a SQLite database into MySQL, but at
      o8 t4 v1 P' A; i3 }5 ?! i
  15. the time of writing, there are still too many issues - check the current status3 a* }! O' G) F* V) y
  16. in the TeamSpeak forums if you are interested.& B2 A9 S' D9 A8 G! k7 S: F# b! o
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from6 D+ I% Z4 o( e; G" T- t
  18. Borland was used. This driver can only interface with the client library that
    $ V6 b+ C2 H9 u) N
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this% k; a  B. B# z# M
  20. client library - basically all you have to do is to use a 3.x client library as
    4 @# X9 C4 \4 l6 ]. t7 [# s
  21. "VendorLib" and a 4.x database to connect to.
    9 e; Q# I* f' Q: c* N$ ~
  22. If you need more info about dbExpress, you can contact Borland.( Q- s3 g# I' Z- A- t6 i$ u
  23. 7 D% }% @( Y8 l
  24. ### Doing the work ###- z7 a( P8 Q, S# G3 ]
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    , ?. q7 r/ n2 _2 \2 C
  26. the perquisites right, just open your server.ini file, and add this section at# @& \2 g1 |1 I. c1 M1 V% D
  27. the end:
    2 q0 B, S, ^; |8 e
  28. ---cut here---
    . |% G' N/ b, S5 x- z1 b  q
  29. [DBEXPRESS]
    & D/ R3 d- ^+ G( d9 I6 }  P$ \
  30. sqldir=mysql_sql
      B# w! G% d  M' q! Y& r- s+ P5 `
  31. Drivername=mysql
    , [2 _. ~. Y9 U, ^8 s* l
  32. Database=Your_Database_Name_Here
    * U! F! Z5 U  ~( N! g/ _* i- p+ [
  33. Hostname=The_PC_the_MySQL-Server_is_on) z6 c2 M2 d& p9 Q4 q0 N
  34. User_name=User_name_on_the_MySQL-Server
    / o% c+ ?6 ]2 O/ h; h! W0 h
  35. Password=Password_to_go_with_above_user_name
    4 K% R) U" l2 d! q  f  n
  36. GetDriverFunc=getSQLDriverMYSQL
    ! M# m  ~: S. ^8 _# \$ r. I
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    # W% H7 a2 z$ q. V
  38. LibraryName=path_to_libsqlmy_libary
    # L0 g, H8 i9 P+ _
  39. Active=1
    4 {; {# ^* L7 h  N: q
  40. ---cut here---- f* X/ V( H) [$ w9 K0 ^: p
  41. In my environment (a linux box with a MySQL server running locally) I have:! _  ~: v, Z6 F1 Z7 L9 ~
  42. ---example---! v; Z! V/ F" ]5 N5 o
  43. [DBEXPRESS]+ d8 s$ f# u8 h) r6 @7 M
  44. sqldir=mysql_sql! z" a, B( \5 Q0 ~! `% @7 U9 O
  45. Drivername=mysql
    6 l3 y4 }8 C* f1 t4 L
  46. Database=test) i/ ?& f* t+ K% h
  47. Hostname=localhost+ n) m8 {0 b" o5 o" `/ e$ _
  48. User_name=testuser1 h0 B( h, `" e/ Z, a  O
  49. Password=my_password
    ' d' u2 J7 E$ w  u
  50. GetDriverFunc=getSQLDriverMYSQL
    - n- i) U$ O: U0 P. O
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    8 ?6 z8 ]' U( ~* ^% ^, Z1 L
  52. LibraryName=./libsqlmy.so$ b2 Y  J+ N; N: _0 c
  53. Active=1
    $ d# t1 r' P  N
  54. ---example---6 s/ J$ I+ b+ P
  55. 1 }2 P: E+ n7 |  j0 j
  56. On a windows box, also running the MySQL server locally, it would be:
    1 F$ e9 D: l# w- v8 @
  57. ---example---
    8 K2 P3 U; L& l; q2 i4 w+ Y
  58. [DBEXPRESS]& a/ x* M/ R. ~% ~' K5 z
  59. sqldir=mysql_sql
    # ?; i. S) r* q: ^
  60. Drivername=mysql
    5 |. ^+ i- z  f( Q
  61. Database=test
    ( R! V8 O1 O/ I: w0 o% I
  62. Hostname=127.0.0.1
    , U' R. E5 I$ M, e* ^
  63. User_name=testuser
    , g$ H5 b+ {) ]6 p! |8 t8 S
  64. Password=my_password
    : G4 R" z, s7 @5 m
  65. GetDriverFunc=getSQLDriverMYSQL! t* Q% L5 v( J1 s
  66. VendorLib=libmysql.dll
    , v, D% f6 `; p  ^% \' `1 ~
  67. LibraryName=dbexpmysql.dll
    + k: O7 e, m# M' U, A& b
  68. Active=1& R& a. D1 w& {5 |! `
  69. ---example----
    7 m: A: c; K/ \% r8 b$ c' K
  70. - written 02.03.04 by pwk.linuxfan
    . v1 h6 C& j( o; t! a
  71. : [/ P/ j' y3 N, c' U
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看$ A* l* x& B: l
  1. 6 m5 ~9 b& P; ~5 [( `$ _6 {
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### * e* ]9 W6 s0 k9 ?% w9 ^$ s& q

  3. 3 N1 L, _- B1 y& `# O# @# ~
  4. # # #我们所需要# # # & g& a; Q' Q" B7 i
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    1 X+ X4 n; ~/ P4 l# r8 d
  6. 不会解释如何做到这一点-也有文件存在,为
    6 m# ]: v* R% p7 |
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    . ]- S1 a% H0 \* o# [4 H
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ' K6 `' o; o0 ^% }
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    9 b0 B$ A) q0 X, l
  10. 本地机器,这是我的MySQL安装。 7 k; f' _: B: i( t5 O
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ! }+ J4 G8 S7 t  M! c' a0 a# t
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 7 {  c6 ~& c' Z) s, \: ?  E
  13. 数据库。 , l% F; m% Q3 q# o
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    # G" s1 l: ?: \3 f, y( b
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    * G, ^, l+ A) K# Q5 ?
  16. 在teamspeak论坛,如果你有兴趣。 8 U  g5 V  H: L- U1 R. o
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ; m$ ]2 s6 O" Y& l) m
  18. Borland公司使用。这个司机只能界面与客户端库
    ! M9 B/ }/ ?; o5 b; i
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    # e. d6 k9 c3 U5 v$ Z( E2 j* q& X1 A
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
      ~- A( l6 a; c/ k
  21. " vendorlib " ,并解数据库连接。 0 e% W' _$ V- h
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    , u1 j6 ^9 N* _2 t7 L& q

  23. # `. D0 B8 C* Q  L/ D
  24. # # #做好工作# # #
    - x$ {7 x' y; u0 _" F, w) X) O
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都# U9 K4 z, J$ m* M$ @4 J: R
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    % ~& H' b1 p5 j9 F# V9 C/ n
  27. 结束: ( J0 i3 d, {8 v7 B9 t. _% E" I
  28. ---削减这里---
    4 c- B9 O6 N9 r7 M
  29. [ dbexpress ]
    % O, _8 \$ O: n/ g& n& H
  30. sqldir = mysql_sql
    - s# V9 C3 p- o, q
  31. drivername = MySQL中0 u. }; v7 b4 `- Z; ?- c4 Z
  32. 数据库= your_database_name_here + Z$ j' P. }+ t0 [2 F
  33. 主机= the_pc_the_mysql - server_is_on
    * y7 S" k* B5 z6 G9 J# H, u
  34. user_name = user_name_on_the_mysql服务器
    / D) e4 C6 k& |, Q+ q6 E7 F( V% V
  35. 密码= password_to_go_with_above_user_name : z7 H5 H. Z$ ^5 z9 d4 N' A
  36. getdriverfunc = getsqldrivermysql - J5 K6 s) V5 W$ i, A2 Y4 d5 H
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    8 @& r/ v- X  v' B: q
  38. libraryname = path_to_libsqlmy_libary
    * ^( j0 d7 r: Y0 j( G
  39. 积极= 1 ( f; G5 X! V  l$ Y! z+ s" P
  40. ---削减这里--- ) C: _0 D6 q, D) T
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    5 \# J4 C# H$ s' u8 _5 W) X
  42. ---例如--- - Q0 {/ d) u1 n! ^
  43. [ dbexpress ]
    1 I! L4 N6 u( |- a5 t  H
  44. sqldir = mysql_sql
    7 P0 O, H1 P, D6 F
  45. drivername = MySQL中
    * [9 C+ \. i" ?" v2 J
  46. 数据库=测试
    6 p) H+ V1 y1 B7 t) ]
  47. 主机=本地主机3 h* T. P8 n6 E
  48. user_name = testuser
    $ C5 R* k3 E9 G% q
  49. 密码= my_password
    3 _& h% C/ W- u& ~2 b" V
  50. getdriverfunc = getsqldrivermysql
    + X  f- u+ D# v
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 " ~+ F: F; k! P
  52. libraryname =. / libsqlmy.so 3 m) j& l6 y: J1 S$ l  W# k
  53. 积极= 1 2 A8 l! S2 T+ k" U2 x2 |
  54. ---例如--- . l- `6 }7 W" w' ^: q; T
  55. & o/ C. i/ m9 b& l$ x) p$ b
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    $ d3 `1 R( E1 V" G" m
  57. ---例如---
    " N( j4 Z0 ]# Z4 Q9 p& q
  58. [ dbexpress ]
    & X9 z  ?, }7 }& f1 f
  59. sqldir = mysql_sql
    ( v# U/ U% q1 p+ U) G% ]: D
  60. drivername = MySQL中
    ; X5 z$ @( z( l
  61. 数据库=测试8 ?6 q1 [( }8 b. \
  62. 主机= 127.0.0.1
    2 w" q5 E3 }- ^/ j3 V8 H
  63. user_name = testuser ; y) S/ a( r; _# L: v2 J+ b
  64. 密码= my_password
    8 Q* v, R8 E' G$ f6 p0 j
  65. getdriverfunc = getsqldrivermysql
    ! |% \, b' t/ _* @0 P
  66. vendorlib = libmysql.dll在
    & E; }" ?) A/ p+ r; ^
  67. libraryname = dbexpmysql.dll
    3 e$ O2 G% t1 h' y0 w  X
  68. 积极= 1 3 {, H" f0 s  c
  69. ---例如---- 6 R* N/ U# ^/ _# X6 q& b
  70. -写在0 2.03.04由p wk.linuxfan
    4 d, E* P2 N; ~& L6 N
复制代码
发表于 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
% H" w3 `' Y% z# K" R/ Q7 h! v  c
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-19 12:21 , Processed in 0.094450 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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