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

2833 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan . O+ g& D3 l' m! e! W

  |: M2 s$ u( s; x
  1. ! o3 u, E% b- O3 q1 N! {$ X  H( s
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######) u: T1 q* r2 r
  3. 3 r9 ~2 D* a* ~, Z' a( J
  4. ### What we need ###
    6 S, Y: T8 O2 B! L7 ~1 }8 M) P  |
  5. Naturally, we will need a MySQL server to store the data for us, this document
    5 k0 L& I1 z  h" y4 W
  6. will not explain how this can be done - there are documents out there for the
    # L7 ^* A- i+ K# F( r, B& _
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    " x, ?7 q5 z1 `* f! Q1 u) s
  8. and a user account (username + password) that has the permissions to do stuff) `6 I. q: T8 p/ M2 Y" M+ X) U
  9. with the database. Additionally, you will need a vendor library installed on the, {7 U; E9 v+ {+ D
  10. local machine, this came with my MySQL install.( t6 C: Z0 H) V$ B# C1 E' n
  11. These instructions will not tell you how you might transfer your data from the) k2 d3 g0 w% d. \3 R6 h; e
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL' x- @3 E; n: A  [% v
  13. database.
    5 v4 L5 y* w4 t  C/ Z5 J
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    $ k8 |# B, h6 Y) S3 W- Q4 V1 V
  15. the time of writing, there are still too many issues - check the current status
    ' o: h. k1 X, h$ J: _6 v
  16. in the TeamSpeak forums if you are interested.
    4 Z( r' }# |- C3 g: e! @1 ~$ d& Y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    . Z; p$ M+ Z/ e- H% |" }
  18. Borland was used. This driver can only interface with the client library that
    9 ~: h" D6 }$ Q1 t% n% n" z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this- u( K" W; K9 t! T3 r# }6 ]% w
  20. client library - basically all you have to do is to use a 3.x client library as
    " L* O" N% b0 I, u5 }: ]- s
  21. "VendorLib" and a 4.x database to connect to.
    + r$ H& H: g, f" Q% ]
  22. If you need more info about dbExpress, you can contact Borland.
    * `1 i# H, R# u: V, v% O/ e

  23. 4 M% b- j& K8 k9 Y& Z# b9 C
  24. ### Doing the work ###3 k, @9 b. i7 Q8 V
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all' S8 Y- N% O" v, W
  26. the perquisites right, just open your server.ini file, and add this section at
    4 v' v' U7 i2 C9 V4 ^
  27. the end:! j' E1 D. n3 ]: V5 D
  28. ---cut here---
    : p' S& ~0 b( q  G6 j" l. V7 a; f
  29. [DBEXPRESS]
    1 J0 @5 Q4 v; O4 o6 ?
  30. sqldir=mysql_sql: |' Q! a! S2 ~/ e
  31. Drivername=mysql
    2 V/ G$ O) l3 B) N. m5 t3 }
  32. Database=Your_Database_Name_Here# g, v7 p, g# v
  33. Hostname=The_PC_the_MySQL-Server_is_on
    5 A9 U# M, Z) z' x* d
  34. User_name=User_name_on_the_MySQL-Server
      f! \" H9 W' ^2 {* Z8 L2 b
  35. Password=Password_to_go_with_above_user_name
    & U1 Q. A4 m/ _3 q' _
  36. GetDriverFunc=getSQLDriverMYSQL
    ; w0 R- h$ s! b; f
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib  E" O  ~  i0 x: c+ K0 y3 p
  38. LibraryName=path_to_libsqlmy_libary: }/ _6 h- @& [- a9 F( M( K
  39. Active=1
    & A, W7 `) r3 }! g0 K
  40. ---cut here---
      Q# w' n3 @9 Y) u; A
  41. In my environment (a linux box with a MySQL server running locally) I have:4 ~, ]& }+ K9 f0 o0 q
  42. ---example---; j; q9 M5 q3 G/ M& o
  43. [DBEXPRESS]
    9 b$ Z$ o+ T0 G/ ]* _8 ]: x6 g
  44. sqldir=mysql_sql
    5 x9 C3 D/ A8 d" l! S: D
  45. Drivername=mysql
    ; ]" l* |. a5 m  s
  46. Database=test
    1 ]9 N) ^4 o6 [! q6 g
  47. Hostname=localhost8 a+ ?$ g0 U$ |  m  M8 w
  48. User_name=testuser
    , L9 p7 ]/ @8 j5 G" i
  49. Password=my_password
    : I8 I, h7 {- J8 {# v4 s$ a
  50. GetDriverFunc=getSQLDriverMYSQL9 ?8 H8 w! ^. j) y" L7 `' ~
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0" n+ N+ y, J$ [; d
  52. LibraryName=./libsqlmy.so, t5 s% Z+ e4 H+ P, S" g
  53. Active=17 J( r8 n8 d- K4 b. Z9 _
  54. ---example---
    " s- G! |- i) G$ p

  55. # z+ h8 A+ x; ]0 U3 J2 M: N: G! O
  56. On a windows box, also running the MySQL server locally, it would be:1 g% ?- Z# c# H/ ^9 _- T3 Z# O# h
  57. ---example---
    ' C+ _+ T  X* m& Y- c2 x
  58. [DBEXPRESS]7 e# Q' T* f& _7 F+ X
  59. sqldir=mysql_sql
    4 {& ]' j& n* T, J
  60. Drivername=mysql) E+ ]/ U) `( X2 F
  61. Database=test
    0 `7 i( z( _6 y" ^
  62. Hostname=127.0.0.19 P& e! q2 u# ?
  63. User_name=testuser8 J; Y) N* z6 p) q# n
  64. Password=my_password
    8 _# C9 |  T2 ?6 N. _
  65. GetDriverFunc=getSQLDriverMYSQL
    ( N  f- v$ P1 J. s/ ]
  66. VendorLib=libmysql.dll. G8 z; D- k% Y1 `
  67. LibraryName=dbexpmysql.dll& x1 ^: P% ^5 k# k1 P6 I1 _. p
  68. Active=14 d2 k3 ], L) l% Z, H' G- s
  69. ---example----
    # k6 W# e# a. _8 x' |
  70. - written 02.03.04 by pwk.linuxfan
    " j1 W* A2 `  V2 K. j" |& D

  71. 1 W' c7 ]2 Q! E, H
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
) p! I! Q+ q# t: h( o' d

  1. , o! y' K) ^4 _% ]% Z; |
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ) s. a8 D" [9 y' K) C
  3. ; p/ Z& v9 O2 G4 n/ @  A
  4. # # #我们所需要# # # & C8 f* C+ m- x" P) U4 D
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件# n6 G- g( F% p- d
  6. 不会解释如何做到这一点-也有文件存在,为
    ! G5 u$ Z* ^$ c4 X9 o% C2 s# `* i
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    3 S& I# M/ g+ Y3 Z- i( t7 D9 U
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    , I* W* o7 x# e* Z1 Z
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    & E+ K; z$ j7 B+ h4 j6 G
  10. 本地机器,这是我的MySQL安装。
      D" n: b# `8 R9 F; S
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    7 v, Y! h4 i+ E9 q% i
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
      j- v) F+ r- M% p+ m4 [
  13. 数据库。
    0 j9 C* n$ A% J& w
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在' v  n1 @7 K! t% `4 s
  15. 编写本报告的时候,仍然有太多的问题-检查现状# q' {( [( m$ I1 k( o# l" r; x" u
  16. 在teamspeak论坛,如果你有兴趣。 & b9 f! R5 Z( s, c7 s0 ^" M1 ~2 d
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    * v' F" g' y9 f7 m. Y2 s
  18. Borland公司使用。这个司机只能界面与客户端库0 z! k. z; j+ s1 f; h7 ^2 ?8 R
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    " C. \, a2 y( z2 U2 S" I7 Y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为7 @$ U' p" X: F* Z' r! p9 y
  21. " vendorlib " ,并解数据库连接。 ( e& t% B. F  X
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    7 d( P# r1 V2 Y6 m; V# A! ?1 F* |

  23. 1 p8 N# Q! [* |% V
  24. # # #做好工作# # #
    ( w2 q+ @3 M" k) w  i9 \& d( f
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都# T3 k* ?5 z" ^  D# b
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    8 p  Z9 ~4 d% t' H4 L
  27. 结束: ( [, L. x% k0 H1 n5 n. N
  28. ---削减这里--- : d3 n5 ?3 W1 y4 i' D  K
  29. [ dbexpress ] 5 a: E2 o0 ]5 s8 N( Q2 s
  30. sqldir = mysql_sql
    3 w0 O3 [& G4 {9 M3 b
  31. drivername = MySQL中
    + u% q* j4 a' d8 |% h1 Y+ |2 c. Y
  32. 数据库= your_database_name_here 2 A" ]9 b' ^( D: z7 C  s$ \) q& W
  33. 主机= the_pc_the_mysql - server_is_on : x3 `1 ?: s. ]: K% A9 z7 L
  34. user_name = user_name_on_the_mysql服务器5 |% z" V: v  d7 t: Y9 ^
  35. 密码= password_to_go_with_above_user_name
    , E5 _* s! g& E# q
  36. getdriverfunc = getsqldrivermysql $ x% o# K! X9 a, M' Z1 l/ V
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib " }: b3 I) j7 y" _* e: g* O- N
  38. libraryname = path_to_libsqlmy_libary 5 d: u* X; k* D% _
  39. 积极= 1 ; Q1 b- R# m% k, t- Z
  40. ---削减这里---
    * B: m2 p% W1 p  \8 X
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: # z& z! }( V3 ~6 }( Z
  42. ---例如---
    9 O+ R+ w% v% d0 q' K" B4 d
  43. [ dbexpress ]
    # s7 L! u* F$ p  |9 [8 ]8 c7 \
  44. sqldir = mysql_sql ; K2 B' G3 p! F2 q+ a* V
  45. drivername = MySQL中9 t5 w; H* K' o: j9 t
  46. 数据库=测试
    3 k& N2 e4 X4 E- G4 ]: ]9 \9 p
  47. 主机=本地主机
    ' Q2 y% v3 m$ Q5 }6 ]& u8 n
  48. user_name = testuser
    ' h. i, |  z7 o, J" {  F4 m) ~
  49. 密码= my_password 9 t# a8 R/ x  ?; r+ {: Q
  50. getdriverfunc = getsqldrivermysql
    + m, l7 y4 S4 a/ _+ e$ W' [
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 % K' ?5 |. b/ `/ I+ g1 V( U% s1 s
  52. libraryname =. / libsqlmy.so
    2 P: z0 E! n! R1 j
  53. 积极= 1 , ^0 f, {) u% _. A$ ~
  54. ---例如--- 4 L7 X, A3 Z; A& A0 ^

  55. : r2 O6 M- K8 c  i$ X! a
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    , i/ \. m# |% O1 S, {
  57. ---例如---
    8 C# U' @4 [$ S! s9 N0 f8 x
  58. [ dbexpress ] 5 Q/ e* {% p) E; A7 {" Z' a
  59. sqldir = mysql_sql 3 F$ Z- ]% i4 J% |7 p3 |) Z7 A+ M5 H
  60. drivername = MySQL中$ M3 X6 a4 t0 n% e9 ^1 @5 B/ Y
  61. 数据库=测试/ H! W$ V9 F( X1 k9 G  Q) h
  62. 主机= 127.0.0.1
    ! P; E! M, j; x9 _* D; ]5 k8 K( ]
  63. user_name = testuser
    8 |) J5 ?4 f$ \5 J
  64. 密码= my_password 8 H' U. U$ W4 L( ^
  65. getdriverfunc = getsqldrivermysql
    2 Q; P" d+ R; i* C- {& s
  66. vendorlib = libmysql.dll在
    - L) i6 e. {& q3 k- R
  67. libraryname = dbexpmysql.dll
    ) f$ Q5 ]0 D' }8 X8 J% [# ^
  68. 积极= 1 " l0 v4 C; D9 f( w5 `+ Q' I
  69. ---例如---- , k' d/ K) B% X7 }: \1 x) D* w
  70. -写在0 2.03.04由p wk.linuxfan
    + m3 H- R% j9 s! f, `, 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& T7 V/ e3 E- ]+ A

8 n( |8 b' l, J" ?/ I0 zbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-2 17:02 , Processed in 0.110605 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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