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

2335 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
7 `; M5 m2 _$ E# I/ f- t$ x; g9 r3 A  a8 f  ?, A9 E! ]. b

  1. 8 ]- m+ E1 O7 E/ f
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######/ V. s* U8 B1 E" L1 n3 v. ^! z, M

  3. . O3 Q) R( `! _
  4. ### What we need ###
    8 @% T5 k6 X: r. n
  5. Naturally, we will need a MySQL server to store the data for us, this document 9 g% a0 S  [2 k' Q5 X+ }5 k
  6. will not explain how this can be done - there are documents out there for the
    / _% l& h( ^, x. a7 S0 p, v
  7. interested. The requirements include a (empty) database for TeamSpeak to use: U, l7 e" ]% c, E* F4 J8 i' M+ u$ J
  8. and a user account (username + password) that has the permissions to do stuff
    6 Z0 `# ^) F% A, w
  9. with the database. Additionally, you will need a vendor library installed on the6 S  X' o6 R6 g9 O( z# p
  10. local machine, this came with my MySQL install.
    + j- g& @* m; F9 k) p+ `7 S8 |
  11. These instructions will not tell you how you might transfer your data from the
    5 W% g5 s* ]  L8 m* x4 z
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    3 i3 K( Y3 L: o4 ^+ I
  13. database.5 e) H/ }; \* ]) y. m
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    . T  Q2 [1 @& Y& Q# ]5 e
  15. the time of writing, there are still too many issues - check the current status
    6 V. G0 r2 m; E1 G2 c
  16. in the TeamSpeak forums if you are interested.4 o, o: C! ]- ~! X; t: f
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ( T4 `7 q5 ?4 r
  18. Borland was used. This driver can only interface with the client library that 3 `7 _( g. H1 f  W- ^
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    , b$ ~' g+ H0 G3 D- s1 y
  20. client library - basically all you have to do is to use a 3.x client library as
    ; o/ o4 }$ Z7 r! K9 c# S" N
  21. "VendorLib" and a 4.x database to connect to.
    8 E0 K3 e2 t: B  V+ \5 ^
  22. If you need more info about dbExpress, you can contact Borland.
    $ s+ R. k9 J" X: v  a& J0 X$ _

  23. 7 p: k: @) Y# q0 f8 m/ o
  24. ### Doing the work ###
    . R% f! b3 J% w  U) x
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    / S1 T: V' I8 ?. r
  26. the perquisites right, just open your server.ini file, and add this section at4 n* N* X) R6 [2 ~3 t
  27. the end:3 E$ D7 u/ L3 i  w) t4 E6 U
  28. ---cut here---
    , Q4 o. n7 b6 }9 N
  29. [DBEXPRESS]- h0 J( U2 n' m& X* I
  30. sqldir=mysql_sql7 x) B& @  K2 E* m& Q4 [, i2 k9 R7 Y
  31. Drivername=mysql0 i2 K, m9 ~) \: D$ n+ S9 s$ Z5 l
  32. Database=Your_Database_Name_Here
    . p) b3 H. _1 V9 N1 e
  33. Hostname=The_PC_the_MySQL-Server_is_on
    : ?# L+ n! {/ B, o7 r; X% [% Q
  34. User_name=User_name_on_the_MySQL-Server
    : w( y2 b  @" q6 Q8 _3 r( b7 _9 g* A
  35. Password=Password_to_go_with_above_user_name/ d6 t3 Z% q3 Q  A  a: y% Q# a  c
  36. GetDriverFunc=getSQLDriverMYSQL
    & d( H2 F1 C4 j, U- g9 R
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    3 V* L' H8 e, n0 ~0 j2 \
  38. LibraryName=path_to_libsqlmy_libary, b  Q2 v, h, f& R- {
  39. Active=1
    7 s5 a0 ^; M5 p# b5 s
  40. ---cut here---) H, }, P+ L4 @0 `6 t/ h. t
  41. In my environment (a linux box with a MySQL server running locally) I have:1 F1 q# \2 u1 F$ ^2 h6 d* ~; N
  42. ---example---7 v; {' z) I# Y: I' f
  43. [DBEXPRESS]) z3 o: F$ K& x( c" Y
  44. sqldir=mysql_sql0 k5 d. ~: d( Q
  45. Drivername=mysql% B% g# C) y: W/ [# S
  46. Database=test
    2 g' b1 h/ W1 E* V; r1 C4 S; ]
  47. Hostname=localhost
    , x8 Y9 q7 ^* n
  48. User_name=testuser. |1 S3 U+ M7 a. l1 S0 \8 o
  49. Password=my_password; M8 f; l$ g* l
  50. GetDriverFunc=getSQLDriverMYSQL
    ; ]" u2 d6 _* {6 g2 B% R
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    + S/ s* h3 G  M4 R) w- r- ?
  52. LibraryName=./libsqlmy.so, h# X3 }8 k3 M  i# x1 ^
  53. Active=1
    & Q1 T& s9 a7 C0 g& i+ D
  54. ---example---
    7 S' C6 F% L4 e1 F' J* x0 W

  55. # D  Q7 O$ r' k$ M; z* D) \& ^* f
  56. On a windows box, also running the MySQL server locally, it would be:
    - Q$ X0 e0 _2 b( L/ E
  57. ---example---* D$ Z; z6 \1 Y
  58. [DBEXPRESS]4 N# @  A. d( y$ |& U
  59. sqldir=mysql_sql
    + V( j, {8 h2 A5 V' I
  60. Drivername=mysql
    ( E  d0 ?, P8 \- ^: P" k0 A! n6 L
  61. Database=test% a" r# Z$ O+ `. ?$ H7 f" ^9 O
  62. Hostname=127.0.0.1, l, }0 S6 [7 B" K5 l. ]
  63. User_name=testuser2 ^; g1 t$ _# P5 Y. K% P' d8 E
  64. Password=my_password2 ~: ~" A) J" R1 h
  65. GetDriverFunc=getSQLDriverMYSQL
    5 e& Z1 q9 @' O8 T
  66. VendorLib=libmysql.dll
    2 S) n; {2 c$ Z! v. ~2 l3 s* g
  67. LibraryName=dbexpmysql.dll/ q0 W9 ^! K# v2 L' S. n
  68. Active=1/ j% `+ h# x. R5 U( x! v9 [; H: O
  69. ---example----6 o! Z( S$ M2 f( |
  70. - written 02.03.04 by pwk.linuxfan* K3 I, l+ @: Q0 f# a& _. U

  71. + O$ h; ?; C) U# e0 f2 H. c5 W
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看2 j- M, e& T, \5 k
  1. 7 }: h2 k2 l  W8 c# {. y: ^
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    " n1 X- Y2 I9 X) d
  3. 5 G# z5 r! G( L. ], T
  4. # # #我们所需要# # # # G" t- e* R/ A% A' j) Y  Z$ _1 J
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    & V! B7 Z) t8 Z% n+ o
  6. 不会解释如何做到这一点-也有文件存在,为8 T% P/ g. A: P- P6 J7 d$ ?$ o& D' j
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ! ]) S2 q7 w1 O* u
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西) c/ q. d  R/ O7 {& b5 v
  9. 随着数据库。此外,你需要一个卖方图书馆安装于# S/ U" L$ U$ G! K- D
  10. 本地机器,这是我的MySQL安装。
    1 E. ~: |6 o  u, O; }/ h3 W$ N
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从' P& c4 o5 C; O& k; @. u
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ; R  x, `- y4 v3 k" H
  13. 数据库。 / `# e% Y) Y, C/ o
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    9 T2 k2 ~, ?( i; b
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    , A* ?* X! G! c6 i; p7 h
  16. 在teamspeak论坛,如果你有兴趣。
    & E) G7 t9 m2 w6 L/ _; I( m' g* D
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机7 N* {$ w; S# {3 n
  18. Borland公司使用。这个司机只能界面与客户端库8 b5 b1 L) N/ w% ~
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    2 h! f% v2 k. z! o& H
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    " G2 M* C! \  {2 b
  21. " vendorlib " ,并解数据库连接。
    $ C, Y7 d& ^& x% ?+ ]* d; J
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    7 x/ [+ O7 _" J1 t" n
  23. 8 e( l3 r1 T8 Z# ]
  24. # # #做好工作# # #
    " o4 \) Z- i" N
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都3 p% C, _0 [6 o# r( Z7 {+ Q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    * B3 G/ E6 I3 s6 E. z% v
  27. 结束: * n: y3 f/ ~3 z2 r+ Y
  28. ---削减这里---
    9 j" Y& R5 X" {- Q
  29. [ dbexpress ]
    + K5 ]% C4 `4 |9 ^% ?5 D
  30. sqldir = mysql_sql
    9 z8 K( ~6 M& |+ U, R( O
  31. drivername = MySQL中0 Q5 j& S: R& n( l
  32. 数据库= your_database_name_here 0 u, z: J* t6 T+ O
  33. 主机= the_pc_the_mysql - server_is_on # i+ Z( D  u; ~5 L' P" n) D
  34. user_name = user_name_on_the_mysql服务器( K' a9 j- m* c
  35. 密码= password_to_go_with_above_user_name
    $ t- f* p0 q- |9 g' f, {7 o0 F9 C# N
  36. getdriverfunc = getsqldrivermysql & Z. m5 x1 Z+ |- ?
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    2 G: ~! R$ g+ v- s
  38. libraryname = path_to_libsqlmy_libary   s  U5 t" i. L3 w9 i; j4 H
  39. 积极= 1 . i' P& I- i# K; z
  40. ---削减这里--- : i% Y% T) O6 E7 l% p  |  N
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: . X7 n) _% \1 X3 Z* A+ I
  42. ---例如---
    ! [0 D: J% K: V2 B, X" z
  43. [ dbexpress ] # \3 |9 \; h* K4 Z/ N' n4 g
  44. sqldir = mysql_sql
    * A$ a8 d# d3 `+ z( w" g
  45. drivername = MySQL中
    9 i- a2 q  A* W1 @/ R
  46. 数据库=测试
    8 Q0 P: |! Y2 q& w# Y5 X7 Y
  47. 主机=本地主机, `; b; P& y8 v: o
  48. user_name = testuser ' z0 J) g2 B. f8 F9 A; A% E/ u
  49. 密码= my_password - ?( ?2 Q. q; ]) U
  50. getdriverfunc = getsqldrivermysql
    " h% F; A( v% L. @
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ' @6 D5 Z' q; G& q6 L9 e) j
  52. libraryname =. / libsqlmy.so " A7 l& R8 L- p: D, J* R* J
  53. 积极= 1 8 D$ ?# d$ O( e1 s
  54. ---例如--- & b" y7 r; x; \( s. Z, ~& N& E9 M8 }
  55.   x: S) w3 U& C' Y" u
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 8 v) M' U8 B. g; w
  57. ---例如---
    . [. f6 k$ u! d, o2 X
  58. [ dbexpress ] 2 N6 K6 j& p% X3 m& s
  59. sqldir = mysql_sql # ]2 Y" b9 ^5 |0 X
  60. drivername = MySQL中
    1 M; M! Z% Z& Z0 L( b$ x0 J
  61. 数据库=测试# J* T. A$ u1 u& I
  62. 主机= 127.0.0.1 # ^4 ]2 c) E( o4 \- J7 u- M4 A
  63. user_name = testuser
    7 T7 z% g4 I' }2 c0 N
  64. 密码= my_password % g* m; S! f( }) ^
  65. getdriverfunc = getsqldrivermysql 4 r$ x* q& r7 E2 U
  66. vendorlib = libmysql.dll在5 P/ n$ d" |9 [9 @% u
  67. libraryname = dbexpmysql.dll ( Z) L. [* u9 J  ^1 B- K7 p) w
  68. 积极= 1
    % h% V# J$ I( _$ ?' e4 \+ b
  69. ---例如----
      J9 p# x1 i+ C4 Y
  70. -写在0 2.03.04由p wk.linuxfan( M7 {; {2 ~0 O4 D$ D
复制代码
发表于 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 words1 Q+ n8 p) `" M, k0 r+ M
1 H% i9 h. ?0 K, R8 G  H
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-25 14:16 , Processed in 0.103876 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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