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

3245 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
, N3 Z; Y5 s* w2 o6 Z/ q
- V4 [2 u& g: E. _8 v+ x
  1. + I6 O% d/ @; b, m) I
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######  ?5 ]8 j  C- T  H+ p+ ?

  3. - _0 y) n; e7 _* `& h2 M7 f3 s
  4. ### What we need ###
    4 G, ~3 U7 q: V9 _  B1 {, w$ v
  5. Naturally, we will need a MySQL server to store the data for us, this document # _0 V" g! z6 y% m( I
  6. will not explain how this can be done - there are documents out there for the
    6 r8 C  m% i! [6 }" i! Y: n
  7. interested. The requirements include a (empty) database for TeamSpeak to use. N7 k1 }! B* D
  8. and a user account (username + password) that has the permissions to do stuff' s/ `# a. O4 k/ c2 L
  9. with the database. Additionally, you will need a vendor library installed on the
    ( M- n; o* T3 w; U
  10. local machine, this came with my MySQL install.
    ) K5 ?) b/ [5 A! `- V5 a- k) t
  11. These instructions will not tell you how you might transfer your data from the6 V7 w/ i3 X' J; G. S9 R
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ) l7 Z) a' O1 @/ p* Z9 ]
  13. database.- Q. n2 l) w% O1 C
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    4 h0 C& S1 l8 d2 j: F
  15. the time of writing, there are still too many issues - check the current status3 H6 m1 D/ V+ @2 Z
  16. in the TeamSpeak forums if you are interested.
    $ o( N9 V( E2 |! L- m" P# e
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from# Q, Q; u5 \2 Q% K" r: z4 Q! v
  18. Borland was used. This driver can only interface with the client library that
    * |# v. o$ Q" `: L! y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this- x5 f6 ]/ o& I2 {
  20. client library - basically all you have to do is to use a 3.x client library as
    * d4 A- P: H) C, e4 m# D
  21. "VendorLib" and a 4.x database to connect to.
    9 X) ?) {' Y+ |5 b6 j
  22. If you need more info about dbExpress, you can contact Borland.7 C- t" c' l0 f. l  {% B$ `. B& B
  23. # @. {& V# r3 p
  24. ### Doing the work ###
    3 N4 m' }/ d+ a6 ?% B
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all# l% w4 x# H$ W/ ]: x/ n
  26. the perquisites right, just open your server.ini file, and add this section at4 U" e& H# Z/ M* z# ?. n  `
  27. the end:; w6 ]# ]( x5 F  P9 N3 d; W/ z
  28. ---cut here---! v$ A% |4 c, f1 H7 z0 n
  29. [DBEXPRESS]& |; d  Y' Q& Y2 o# p  a7 T! O
  30. sqldir=mysql_sql: d5 z1 u7 B9 D# A- v4 v& H
  31. Drivername=mysql
    ( A/ k7 u- {! C; W
  32. Database=Your_Database_Name_Here1 A% ?. X6 F8 L" D
  33. Hostname=The_PC_the_MySQL-Server_is_on' s, s  I2 s- J+ |
  34. User_name=User_name_on_the_MySQL-Server3 [# R! k8 M8 p1 L+ Z
  35. Password=Password_to_go_with_above_user_name9 i% k4 R$ Q# X: P& n2 Z
  36. GetDriverFunc=getSQLDriverMYSQL+ F1 S) F( M( i4 c. [. j- P; S9 Q  c
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    3 B0 }2 Q5 b; j
  38. LibraryName=path_to_libsqlmy_libary
    * d* U" K) _( m8 G$ G$ i
  39. Active=1
    : A0 P$ z/ A- u! ]4 v5 A  t
  40. ---cut here---7 R4 [( c& J+ S
  41. In my environment (a linux box with a MySQL server running locally) I have:
    : [; o1 H+ T. H5 }! |
  42. ---example---
    ( w$ R* G9 J7 g8 D6 f$ M* m
  43. [DBEXPRESS]
    / D4 [+ x9 L# E& @7 a5 C. H3 J
  44. sqldir=mysql_sql
    # f) }& ^1 C3 Z  @6 r$ @' A/ V
  45. Drivername=mysql
    6 k. T' [/ }  Q8 B0 a9 W  A& s$ {
  46. Database=test( E$ V- o3 Z( o9 p4 t& w- J
  47. Hostname=localhost' v) t+ j- H0 a6 D$ `8 O1 G/ ?
  48. User_name=testuser# N8 s' |! p+ o
  49. Password=my_password3 Q" x' ~  A- l! ?4 s
  50. GetDriverFunc=getSQLDriverMYSQL
    1 K" k. w9 Q+ O6 t
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    7 r$ a# X3 K2 Z
  52. LibraryName=./libsqlmy.so
    - W5 T' t9 _' h9 Y# ^7 S! k/ }
  53. Active=1
    , m: p, W! P" c. x  ~, O  f/ Y8 `
  54. ---example---
    / w" {' D# R: o5 U$ b
  55. * }: Q! z& m& V" u2 u3 B7 z
  56. On a windows box, also running the MySQL server locally, it would be:
    2 @( j' L! u" f0 y8 d- u5 w+ R
  57. ---example---
    ; y2 S; z& B. A7 k9 x
  58. [DBEXPRESS]
    ( d) d& w, ?& `1 z; R) q
  59. sqldir=mysql_sql
    " Z6 z+ s+ x3 ~
  60. Drivername=mysql0 k" y3 v) F( x4 `5 {
  61. Database=test
    & v! y, B4 x" x
  62. Hostname=127.0.0.1
    8 M& x7 ]! B& X6 B
  63. User_name=testuser; `* L7 K* N8 Q. M5 a
  64. Password=my_password
    1 ~9 [! o( f+ c) h! M
  65. GetDriverFunc=getSQLDriverMYSQL
    ' K8 ^7 u3 ~2 y/ Q8 t$ z  Z
  66. VendorLib=libmysql.dll5 U* G( P! E+ ?( K' z
  67. LibraryName=dbexpmysql.dll" w% G: b$ K4 P. P6 E
  68. Active=1
    * P1 y; f( {; L, C+ d8 \* I# h
  69. ---example----0 z% v/ V+ X, r
  70. - written 02.03.04 by pwk.linuxfan" `6 r  W, y! K) v( i* ?
  71. ; ]$ B+ z  M8 g7 r* B# K3 y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看8 \( v# n2 ^" I
  1. # M9 u; d- D* D% V, O8 u
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### / W$ S/ I' n2 X) F5 H0 M

  3. $ K! E- ~* {& G8 s  D
  4. # # #我们所需要# # #
    8 C8 q7 y2 u! O( J; Y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    9 n! d% q, B) |; a2 }
  6. 不会解释如何做到这一点-也有文件存在,为1 b6 O! K# a; s
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用& `7 X7 w4 m# u) w( g" n
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    0 A6 D8 |9 @5 f* X/ a4 @" Y) t
  9. 随着数据库。此外,你需要一个卖方图书馆安装于' i. o2 ^% c% i
  10. 本地机器,这是我的MySQL安装。
    * D  n8 {+ d! L+ g6 y) H6 b" b
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从& ~& d, T) R2 V; Q6 t. K8 E
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    0 h) S; g7 h3 U7 W( M) O
  13. 数据库。 : K3 {9 d$ T- q6 {
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在9 @$ [6 j, }# C& ^& b. i5 U
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    3 X8 `) C" V* N7 z2 K
  16. 在teamspeak论坛,如果你有兴趣。 # l! e3 p5 b6 j8 e% ]/ h& s
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
      `5 E3 k  x, B9 G4 x
  18. Borland公司使用。这个司机只能界面与客户端库
    % h% R. b! Y, e- v) V* |
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这3 A' H8 S; s- p  `& Y% i
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    9 l, F" w' ^0 j) U5 S
  21. " vendorlib " ,并解数据库连接。 1 \8 s6 p6 s! @3 l2 a4 E
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
      M# h; `$ }$ |6 |3 i2 Y0 }. H* E
  23. ; L/ ~" X; m" h7 ^( r3 V
  24. # # #做好工作# # #
    . |8 Y0 t) I3 m& K7 F" E+ s
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    " f- ?- X! o5 [+ E2 O( O, E2 a
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ( D% V% b+ _# |9 o/ H, @
  27. 结束: / Z6 K$ l2 M' w# t. a# @- D; O4 C; K' e
  28. ---削减这里---
    / \* ^9 j+ w( U4 X8 e
  29. [ dbexpress ] : n! [# Y5 a6 Q( c, L* i& O, ?
  30. sqldir = mysql_sql % ]6 k  b( L) F
  31. drivername = MySQL中+ N$ C- c8 }2 I; U9 H" n- l8 x
  32. 数据库= your_database_name_here
    " {. k* [2 J  Q! I# ?' N: L
  33. 主机= the_pc_the_mysql - server_is_on
    7 n6 t7 b; L) ]: I: D& U
  34. user_name = user_name_on_the_mysql服务器
      Y* @- J5 T, `- V: ^0 h
  35. 密码= password_to_go_with_above_user_name
    ! Z; J( m+ A( c# R( D
  36. getdriverfunc = getsqldrivermysql
    ' z4 z5 t( ]/ j& K# C9 |7 M4 Q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib   V, ?9 \( {! l  B  L. R  s
  38. libraryname = path_to_libsqlmy_libary : I8 K  m) ]! I% G3 h: T/ R& _
  39. 积极= 1
    % s: W0 P' @  ^
  40. ---削减这里---
    ; N) _1 \2 b7 b
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ( i) h% m9 _( b8 X2 l
  42. ---例如---
    ; ]% y7 O" w# U
  43. [ dbexpress ]
    ! Q8 ^. w5 f! Y& t0 ?3 F
  44. sqldir = mysql_sql 2 w( [3 y- d/ o8 ]3 V
  45. drivername = MySQL中$ `2 a! K3 G9 @5 F: Y
  46. 数据库=测试( V/ v# n, q) b# }. }2 _. M
  47. 主机=本地主机) g; r6 R5 K  Z6 }! s! I; p
  48. user_name = testuser
    7 y1 ]) g$ U) c$ Y
  49. 密码= my_password
    - K; n3 K+ _! F
  50. getdriverfunc = getsqldrivermysql + W5 w: A& w; p+ t0 d
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    3 }  Y* X& a% y: m
  52. libraryname =. / libsqlmy.so
    - o5 Q. o3 K( L% ~
  53. 积极= 1
      f% T/ x* Y+ z
  54. ---例如--- 6 g; j3 h4 V8 H1 V
  55. . a7 f& w( @* q
  56. 对Windows中,也运行MySQL服务器本地的,那就是: $ R2 K' y7 X# g$ X* Y
  57. ---例如--- 1 i2 i  @& j7 E
  58. [ dbexpress ]
    1 A1 [+ @, a! L5 w7 L$ L2 |
  59. sqldir = mysql_sql & Z$ Z2 n2 L( }% Q5 d! p
  60. drivername = MySQL中  T# D  t% O8 X$ f/ X
  61. 数据库=测试
    * @' |2 l. z4 `3 q. V+ j
  62. 主机= 127.0.0.1 3 ?3 r% ]0 S' I  ^/ _* g; E
  63. user_name = testuser ; w' R" m- I$ D" }5 O; _
  64. 密码= my_password
    1 a" v- j9 K1 L; ]0 b& f/ W
  65. getdriverfunc = getsqldrivermysql
    ) n0 K& @* H5 H( O' @3 S
  66. vendorlib = libmysql.dll在
    & `. n! G4 a! U( ~6 n9 J
  67. libraryname = dbexpmysql.dll
    . S+ V/ U1 W1 P% t6 L4 a( \
  68. 积极= 1
    " a- q. n% a" ]# q
  69. ---例如----
    & }/ Q* O1 {4 L$ z# L: y
  70. -写在0 2.03.04由p wk.linuxfan
    3 |; B0 {) l6 r8 c! ^+ T
复制代码
发表于 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
$ k( K! h; w2 i: Z3 _/ v/ ~0 _3 l2 m) w) V
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-28 01:20 , Processed in 0.103988 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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