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

3450 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 3 i: B! r3 _% ]% Z9 H
, {2 B1 r6 v2 A" X" b* M
  1. 6 @! u: }' i9 h5 m4 r( Z1 t8 s
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######4 A7 ~/ N* c& o' I) v
  3. 2 n& m- J  v+ e
  4. ### What we need ###( Y8 N. T. E  V! N* v
  5. Naturally, we will need a MySQL server to store the data for us, this document
    . H5 A4 f4 d$ v, ^. s
  6. will not explain how this can be done - there are documents out there for the
    6 {3 X7 q2 i1 K
  7. interested. The requirements include a (empty) database for TeamSpeak to use# x: j# c% R  \
  8. and a user account (username + password) that has the permissions to do stuff* ?3 h/ u2 M" N$ N6 x) Y
  9. with the database. Additionally, you will need a vendor library installed on the
    8 D; ~- f/ q7 X4 d) q" s
  10. local machine, this came with my MySQL install.
    5 R' f4 v8 N" q
  11. These instructions will not tell you how you might transfer your data from the
    " }9 U2 c/ k4 o8 J5 f. \( j, {
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL1 [# Y( X$ X2 f% P" K- V* Q
  13. database.5 n; |, P1 L" }1 b$ E* j
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ) X7 f3 B! t6 m2 k* N5 e
  15. the time of writing, there are still too many issues - check the current status8 Y7 B  `7 `+ g+ a. U) B9 t
  16. in the TeamSpeak forums if you are interested.
    ! ]' P; K# P# F/ [
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from( c/ b* L+ X* U0 H+ G0 q0 p9 [
  18. Borland was used. This driver can only interface with the client library that ; u9 l9 ~, W' L& V8 t
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this9 ~: V" F( R- F7 z+ g1 H
  20. client library - basically all you have to do is to use a 3.x client library as
    0 L, g" B* H, r) @# H
  21. "VendorLib" and a 4.x database to connect to.4 O9 _3 X+ h, W# C0 ]* ]
  22. If you need more info about dbExpress, you can contact Borland.
    9 Y) A; z$ p3 P

  23. 5 @# y  C9 e3 i* R5 ^% I3 t
  24. ### Doing the work ###
    & U, W0 L" Q( J. {3 E  V! s3 A1 v
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    % Q# s: [5 u: [$ Y, L3 S0 [8 M
  26. the perquisites right, just open your server.ini file, and add this section at! u7 R4 T% M0 Z
  27. the end:7 {% e; y, E" ]- V: w6 j! _5 ?% y) p8 Z
  28. ---cut here---
    ( L% U8 f4 v$ r' o
  29. [DBEXPRESS]5 ?, C1 F2 W, Y, S, e) R
  30. sqldir=mysql_sql9 O  B& I0 k- n; n; s+ V3 R
  31. Drivername=mysql
    % E# p% ~" {5 J: q
  32. Database=Your_Database_Name_Here8 {- m, D) N4 F% W' j
  33. Hostname=The_PC_the_MySQL-Server_is_on( _! P( x8 r7 X9 {6 D& O
  34. User_name=User_name_on_the_MySQL-Server
    % _' ^6 i$ |; l+ w
  35. Password=Password_to_go_with_above_user_name4 _4 {) |4 ]4 e5 \/ O# @. {- q& y
  36. GetDriverFunc=getSQLDriverMYSQL
    1 p- S/ R& H: q9 g9 m) K' M. P
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    % B6 v# \: }/ O' L7 e9 J3 b
  38. LibraryName=path_to_libsqlmy_libary
    " V4 Y; n. ]3 p5 u( ]& w- p
  39. Active=1
    " F. K2 @& a8 i9 u  _1 t
  40. ---cut here---
    8 D7 ?; p( Z$ v3 n) {1 @
  41. In my environment (a linux box with a MySQL server running locally) I have:
    1 b9 @: V: n7 r; Z, u- h
  42. ---example---/ ]9 D% D# u! [0 Z% ]' `
  43. [DBEXPRESS]
    : l* b8 m) w1 [! n1 l
  44. sqldir=mysql_sql5 k3 G9 p7 T2 O' D% N
  45. Drivername=mysql4 h2 |' w+ u6 F; [% u- O
  46. Database=test
    1 n2 D, ]) l% i
  47. Hostname=localhost% }$ i( H3 A* t
  48. User_name=testuser7 b5 n, F  y% ^3 i% z# T
  49. Password=my_password% W2 }& |& M) H1 N0 w' v  f( N
  50. GetDriverFunc=getSQLDriverMYSQL
    # V+ ]) E& p+ c. l+ A
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    " ^7 w' h# ^' C7 O7 U$ U5 Q$ |
  52. LibraryName=./libsqlmy.so6 A* b. [9 a% ]5 y5 M, i' e( Q
  53. Active=1& e, Q/ s2 O) ?# t% T8 A
  54. ---example---
    : I  G! q( P  [0 b* X+ t/ w8 ~) @
  55. & S" g( @, k* E/ t+ E
  56. On a windows box, also running the MySQL server locally, it would be:/ @( P" s9 \: C) l
  57. ---example---+ C, x, l" i9 X2 d
  58. [DBEXPRESS]
    & P$ I  w" K2 D" u
  59. sqldir=mysql_sql) _" I; g. [" n: X4 W
  60. Drivername=mysql" H% D' x" i  O; o9 P
  61. Database=test
    0 G* e8 p* q2 v9 n' V. Y7 ~
  62. Hostname=127.0.0.1
    5 r/ V4 ~/ z) {% R- v
  63. User_name=testuser( L4 E8 m  o3 {, M
  64. Password=my_password
    . I2 k* G; Q& ^) o
  65. GetDriverFunc=getSQLDriverMYSQL: I: X+ E! R$ e  v- w( c
  66. VendorLib=libmysql.dll
    * m8 T! ~1 \: Z8 s* @
  67. LibraryName=dbexpmysql.dll
    # N* D# T& I0 N& H! n# q' ]% w7 Y
  68. Active=1
    / Y7 ^; |4 f6 f) N9 f
  69. ---example----
    5 V: W1 D* F# p& L
  70. - written 02.03.04 by pwk.linuxfan
    ' p& S9 D- T4 q. w" U

  71. * p2 U* o$ [$ C) x/ C) C# b/ z+ k
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
7 r* \' m3 A1 O

  1. 3 \1 j9 |/ F9 o  F+ e& k; x
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    $ N1 q. B8 {1 d$ j8 M4 G, I

  3. ) H( Q9 V7 V: i" X
  4. # # #我们所需要# # # * {' \2 h$ Z! n& y$ F. ^
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
      [0 O9 x  D& G" A
  6. 不会解释如何做到这一点-也有文件存在,为
    % u9 B. `( |0 j6 x/ i& e1 |
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    9 J- [) M9 l5 v- T
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ! @. C- I. y1 n1 l/ [. J
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    - |& f$ {  M" g7 K  ?4 n. B* h
  10. 本地机器,这是我的MySQL安装。 , a, G0 F$ D/ n0 z9 q% n! Y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从" k( E1 i9 S+ ?4 d* s# s6 r7 B1 P
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 1 O- g1 h8 l, K1 b) p
  13. 数据库。   F+ N+ F% l& j/ j* K* j
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    / C  F4 a4 i7 ^. t) d. C4 R
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    3 P) R$ y* ^4 R" _$ H) c4 q3 H: I
  16. 在teamspeak论坛,如果你有兴趣。
    3 p" z" R; T0 }. u0 I
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    , r- C$ n$ p  ]- J+ w
  18. Borland公司使用。这个司机只能界面与客户端库
    3 Q  ]4 ~& n% Q% M
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这4 [" ]! Q4 y6 ]& d  G6 i5 O
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为9 F" a0 H' {! q$ ~  K% D
  21. " vendorlib " ,并解数据库连接。
      \( ^) g% T8 ?  {/ [
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    & }2 n/ r. y# L& i
  23. 1 c8 E% [+ f4 f) L! D: g$ h8 p4 A5 T
  24. # # #做好工作# # # / Q# q: d) O* s6 Q0 R7 f, s
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    8 C0 @1 O0 H4 r6 n
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    : U5 @9 q( C4 y; Q7 j' b8 E
  27. 结束: , b# Q2 k; v8 z. h$ z  m
  28. ---削减这里--- * i& E" o$ _; g  T4 |
  29. [ dbexpress ]
    ' N5 K2 l  ^  ]; m" p( E
  30. sqldir = mysql_sql
    6 a, Y+ I4 f) h# D) N
  31. drivername = MySQL中0 |# q, ^# M8 i9 N. @/ x
  32. 数据库= your_database_name_here
    ! [; Y) Y% w* b1 F  ~1 V
  33. 主机= the_pc_the_mysql - server_is_on
    9 I' ]( D1 |* e  P
  34. user_name = user_name_on_the_mysql服务器+ s) k6 E2 X6 l. `8 X8 w3 b8 K
  35. 密码= password_to_go_with_above_user_name
    9 s2 J0 X& f0 s2 q
  36. getdriverfunc = getsqldrivermysql ( i0 A: ?! P" q# J
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib + l3 r( H7 I! g- x. W6 w
  38. libraryname = path_to_libsqlmy_libary " o# G( J8 \% }. J, S
  39. 积极= 1 8 m& S; ~+ R. A7 J" N
  40. ---削减这里--- 3 ^  L" ]  D; [% ]5 \
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    + Y  d0 m  b( u. }
  42. ---例如---
    # w9 ?+ i9 u# A5 I/ g# M% @1 i8 l: G
  43. [ dbexpress ] 5 L% P, Q1 W3 f) a2 x5 J: g4 r3 n$ V5 l
  44. sqldir = mysql_sql
    9 M& {6 G; p, }! }" p
  45. drivername = MySQL中
    3 M# C1 }/ V; e1 K$ t
  46. 数据库=测试0 ^8 D; T0 v2 I0 d3 y
  47. 主机=本地主机
    ; W" M% q) ~" H* {% Q0 f
  48. user_name = testuser $ X* q! D* E0 \4 h8 s. y  d) ]& c
  49. 密码= my_password
    0 h% w1 i' F& G; b0 j3 [
  50. getdriverfunc = getsqldrivermysql ' S9 Y6 D( i% b( e  r
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 2 K, W. O. k; N& r8 X0 m$ B
  52. libraryname =. / libsqlmy.so ! J7 [* g5 j3 m' L$ a
  53. 积极= 1
    & t$ |" `; A4 c/ P8 ~/ l& b
  54. ---例如---
      n8 p* j/ i" h6 ]. A- f; U: N
  55. 3 V9 a2 F5 [- N1 Q- S
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 5 ~9 A! M) T2 s& {
  57. ---例如--- $ r% C% k# Q4 \. f% o: |% Q
  58. [ dbexpress ] 4 W& O; p9 Q1 A1 s" x! G6 P
  59. sqldir = mysql_sql
    & ?/ q  ^: x$ h
  60. drivername = MySQL中7 m% v+ X  v- t5 T) c+ `. m
  61. 数据库=测试" B: M1 S9 o- Q7 S4 H" W
  62. 主机= 127.0.0.1 ! M) j* M! A$ I% k; ^" M
  63. user_name = testuser
    - Q: o$ P* o) U0 c# U
  64. 密码= my_password
    7 N/ y2 h1 k  j/ z8 ^6 _
  65. getdriverfunc = getsqldrivermysql 8 `/ n% r! z* {% I8 O6 v2 C
  66. vendorlib = libmysql.dll在( e/ c, t  H. i' _  F( ]
  67. libraryname = dbexpmysql.dll
    ' ?; f5 d* e( x* B% i, a8 l: U$ f& A
  68. 积极= 1 # U5 W' k/ w3 ]% E
  69. ---例如----
    . D0 J) M9 v) H/ P* i& O( b
  70. -写在0 2.03.04由p wk.linuxfan
    5 R) g8 K' e5 Y9 R( f; ~, i4 S" {
复制代码
发表于 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 words9 \2 W/ Z, K* m+ Q
! j" M) j: ^- I! O: @
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-30 10:06 , Processed in 0.065642 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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