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

3093 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
- ]/ @2 \& t' }. }5 }
4 A% S, t  f2 j% k& S( d

  1. - i# o$ w" q, |7 h
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######6 ?9 \* }  k, a3 E

  3. - Z, e- u, b$ u# N' k2 K8 [( @
  4. ### What we need ###  i' b/ [( D$ p# F* Q) \8 Y: x
  5. Naturally, we will need a MySQL server to store the data for us, this document
    4 T- D6 p$ v# K# ~) l' h
  6. will not explain how this can be done - there are documents out there for the * A9 l% s( w4 x0 T
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ' o% l& |& ]5 P: z' |3 c
  8. and a user account (username + password) that has the permissions to do stuff
    . q  {# i. V+ o  G  i
  9. with the database. Additionally, you will need a vendor library installed on the
    2 M- y2 T: `1 F
  10. local machine, this came with my MySQL install.
    " G1 L( {9 y+ o3 t
  11. These instructions will not tell you how you might transfer your data from the
    ' `6 c( F+ T5 A; g/ h
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    4 X8 O6 s) t: D
  13. database.9 I/ N. b* ]/ x3 E$ W: {7 s
  14. Some users have reported ways to import a SQLite database into MySQL, but at+ i4 k! {% W0 i( b- Q
  15. the time of writing, there are still too many issues - check the current status
    / d8 A! v" z4 Q3 K- t' w1 d# ?# q& j
  16. in the TeamSpeak forums if you are interested.- H/ m0 d8 S8 ?+ \2 u
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    + @( u' m, e/ ?/ \
  18. Borland was used. This driver can only interface with the client library that
    1 u7 d+ o1 S, ]" k" @9 {
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this5 ~: B+ u7 j. |0 B
  20. client library - basically all you have to do is to use a 3.x client library as
    2 {# N$ d6 A& A3 `
  21. "VendorLib" and a 4.x database to connect to.9 O# C+ [' F3 P$ W5 X
  22. If you need more info about dbExpress, you can contact Borland." e5 O% ]" m/ S5 T

  23. " H( `2 S) X& F0 k- X: T
  24. ### Doing the work ###
    ; N1 q6 Y9 W1 {/ n0 A+ i
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    + P& |5 k" Y) d/ A- ]; P
  26. the perquisites right, just open your server.ini file, and add this section at
    , r; j) \% X) _
  27. the end:4 z* u5 S7 Y5 W' s
  28. ---cut here---
    $ S- @: v1 t7 c/ r- p
  29. [DBEXPRESS]
    : Z  ?3 d3 Y2 c- F1 i9 f* v6 y  x* L
  30. sqldir=mysql_sql
    + g5 x: T+ _! ^9 f7 [0 [7 d& j
  31. Drivername=mysql8 f  R6 I. I7 s3 t0 L3 V
  32. Database=Your_Database_Name_Here1 ~" K2 d( ]) |: \4 Y
  33. Hostname=The_PC_the_MySQL-Server_is_on, Z+ k8 f8 c2 I! P% E7 I/ @
  34. User_name=User_name_on_the_MySQL-Server
    ) J- @/ i+ n/ i9 ]. @
  35. Password=Password_to_go_with_above_user_name
    ; \- x; R) T4 L, V
  36. GetDriverFunc=getSQLDriverMYSQL
    5 |2 ~, `2 p7 P5 z# [  t, w
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib5 L0 n( N8 Q+ k4 o) Q9 [; F
  38. LibraryName=path_to_libsqlmy_libary# J, t4 [* }6 l$ P  K2 L0 j
  39. Active=1
    * I* M/ t4 v0 G
  40. ---cut here---4 P0 I" r) p7 a# Y$ Z( S
  41. In my environment (a linux box with a MySQL server running locally) I have:
    . H3 h5 C2 X) c# g3 n, T2 t, J
  42. ---example---, ]: [0 ]- A) a4 C" |4 ~
  43. [DBEXPRESS]0 ]# A+ y9 ^! ^
  44. sqldir=mysql_sql) G- B: c1 j4 H3 `' M
  45. Drivername=mysql  g: K7 e) y- W/ f  T
  46. Database=test2 \3 @" b" K$ Y! R/ z) B
  47. Hostname=localhost* b' a, J9 W7 N. S, E' u
  48. User_name=testuser- c9 q9 G4 i4 x" ?2 B2 r% a
  49. Password=my_password2 P5 v! C$ c8 e
  50. GetDriverFunc=getSQLDriverMYSQL! ~/ X; O7 P; l' C& m
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ; z$ Z$ W+ R" i: @. A
  52. LibraryName=./libsqlmy.so
    7 \6 ]2 u/ f4 f7 R. r+ R
  53. Active=1- o& q4 p3 x: `2 e. H
  54. ---example---
    9 K9 [+ [  m! X' X; a

  55. 7 V( i# ]+ q& P( [+ Z
  56. On a windows box, also running the MySQL server locally, it would be:
    ! @3 ~6 [/ B) M
  57. ---example---" x* N$ _- d! _$ u. X) j& O) y
  58. [DBEXPRESS]
    - w1 o1 X) B, Y9 R) }
  59. sqldir=mysql_sql
    # E/ O; ]) W0 a( K- A0 ?& I
  60. Drivername=mysql" }: b, f+ m+ E, n8 F; }  o
  61. Database=test
    & m+ \. P. j% ~% `, W/ u  ^- u
  62. Hostname=127.0.0.1- A3 m/ l. z% f0 j% {
  63. User_name=testuser3 u6 l: w- k: w4 h. p/ V
  64. Password=my_password1 _( u) H" H; v+ t$ u
  65. GetDriverFunc=getSQLDriverMYSQL
    ! y/ y& |  }6 |! x! P, _# x0 [
  66. VendorLib=libmysql.dll9 n) Y+ w8 x2 V$ a
  67. LibraryName=dbexpmysql.dll; S0 c" F$ B. W* F1 U
  68. Active=1
    ; L$ M) m/ B# O1 E9 L5 M
  69. ---example----
    ' L) c) M6 h; \- v) O
  70. - written 02.03.04 by pwk.linuxfan+ C( z+ V& e. l6 _0 V4 ?& g% ?
  71. & u$ f7 D6 x, p% b6 e( l3 \
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看8 v' R# s5 @# a3 L; g! x2 X

  1. ) p- M/ p9 r/ \% q/ \& E( A/ e
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ! o0 \2 Q$ U% ]
  3. 6 p  j# u4 K2 o/ K8 u
  4. # # #我们所需要# # #
    9 }7 \. S1 H$ c1 a; K# \
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件+ \! [' D2 V% s# @9 ?: S% P
  6. 不会解释如何做到这一点-也有文件存在,为* B  J2 i. ]3 R+ D
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用& S3 I! v& ^2 [6 R" o  h
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    3 B) J! S1 [0 Q  p, Y4 |
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    $ F! C/ k3 B* Y
  10. 本地机器,这是我的MySQL安装。 # Z& k' ?( t/ i( P1 s8 u" |
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    : z8 K5 d  v" m
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    9 V% R! U$ P; c) e
  13. 数据库。 : n' H" ]0 R! [. S
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
      x' D- j+ X+ {/ H) K5 F5 R
  15. 编写本报告的时候,仍然有太多的问题-检查现状+ k% }0 z% J/ G1 [
  16. 在teamspeak论坛,如果你有兴趣。 ) S; m1 S! }& v% k
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    8 {- r1 y" P4 G3 Y
  18. Borland公司使用。这个司机只能界面与客户端库1 z( f* r' D1 \" _- F$ t$ d
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
      D  M# f. r# L$ m3 f
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为  s  \9 [, g- Z3 ?. R: l( ~
  21. " vendorlib " ,并解数据库连接。 + D7 a% z6 m3 Q( e! S$ o8 K
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    2 |8 r& x. V% ^
  23. 7 c+ N# F+ |, M& R  Q# D
  24. # # #做好工作# # #   E# q8 X. a; m) _
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都2 d. @% ^1 s8 I( t0 N0 P
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在! \: z% ^) P/ v/ C; e6 y
  27. 结束: , Q- n' K( a" S8 @. ~: K; H
  28. ---削减这里---
    - \; I. T1 ?8 D* I1 e$ U
  29. [ dbexpress ] ' ]& `- h5 h' w: ^! V) s: L  `
  30. sqldir = mysql_sql 0 z; S. r, q8 T& x- E
  31. drivername = MySQL中
    # h1 U5 j1 @2 x$ M% z
  32. 数据库= your_database_name_here % m! R+ @. K. ?; o! H. I% S( _
  33. 主机= the_pc_the_mysql - server_is_on
    * g2 b1 O; W0 b6 T6 P
  34. user_name = user_name_on_the_mysql服务器
      c# W% Z  Z; ], E7 V
  35. 密码= password_to_go_with_above_user_name 9 I6 S' d6 L* R+ g
  36. getdriverfunc = getsqldrivermysql
    4 g, [; n5 }. K% `
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    . G7 l6 y" N+ F" {
  38. libraryname = path_to_libsqlmy_libary 0 |9 m4 D7 ~" ]$ o
  39. 积极= 1
    7 E% P1 n" ~; v3 {8 r6 G5 p
  40. ---削减这里---
    1 t2 @( e' R8 P
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: + ?6 s/ H5 |0 d
  42. ---例如--- " l# x1 q( I" D& d, s, A
  43. [ dbexpress ] 9 r2 w& Y  ?  k$ w" e- G+ u- J' Q$ i
  44. sqldir = mysql_sql
    7 D0 x4 P- l. _7 H$ i' C
  45. drivername = MySQL中
    7 ?4 b+ {, P; t; f& o9 G, F
  46. 数据库=测试
    " x. }, T% u' x( A9 @) N  h
  47. 主机=本地主机/ s. _/ [( w9 _9 @4 Y' M- Z
  48. user_name = testuser
    ; s; p8 q6 {3 |; R$ {. a+ r& n
  49. 密码= my_password
    1 e4 Z" y. v1 y' w; ]0 W0 q1 F! V% J& N
  50. getdriverfunc = getsqldrivermysql
    ' t/ v* y3 `/ i: l; k5 E
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    . K0 E+ n1 k9 F& t3 F9 {- T
  52. libraryname =. / libsqlmy.so ) Y8 H2 p9 [, K# W+ X  w
  53. 积极= 1
    3 v$ A' e8 j1 n3 j0 y, M' Z5 M
  54. ---例如--- . a  a8 ?8 n# L7 O" S

  55. 5 ~* h9 a9 E2 e. J6 t0 M+ g
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ' x) j2 k9 p9 K+ H' v) \( }
  57. ---例如--- ! a; j! Z/ ?6 p, F
  58. [ dbexpress ]
    4 V" D$ c4 O! @
  59. sqldir = mysql_sql
    , t. ^- h2 l$ V
  60. drivername = MySQL中* E! }2 o% y% Y1 u$ q) e
  61. 数据库=测试
    # }( c; n+ s, r" Z
  62. 主机= 127.0.0.1 5 w& \8 B4 g8 K2 A) |" \7 C
  63. user_name = testuser 8 B0 i1 M. G; Y, I( u2 n
  64. 密码= my_password
    6 ?# x" j, p, [3 q
  65. getdriverfunc = getsqldrivermysql ) L) j3 |9 k- Q. |7 p- k& p
  66. vendorlib = libmysql.dll在
    ! |5 g# X: e* J7 p6 h
  67. libraryname = dbexpmysql.dll 5 ?! u' B9 w2 W9 Q
  68. 积极= 1 ' `! \" V) e7 `
  69. ---例如----
    / f5 ]5 I+ h. H; u
  70. -写在0 2.03.04由p wk.linuxfan( Q' o$ ]8 [* F4 v1 w
复制代码
发表于 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
1 r: n  V  Z; C$ O+ W, Q) Q1 n" x% c/ I. 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-8-30 20:49 , Processed in 0.095376 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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