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

3132 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 4 E/ f) r5 @/ ^
: b9 S) w$ R9 l( ?5 y- a# C

  1. ) B/ {3 I) x5 ~! _% o' s4 _% N! h9 F9 r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######3 }* l* G% K$ B" Y9 f

  3. 2 z9 ?1 L  f, M' m# e: I  B
  4. ### What we need ###+ i4 h: S4 \8 t/ P
  5. Naturally, we will need a MySQL server to store the data for us, this document 0 A7 K! x) U' ?. T# a0 G1 `9 d$ W, I, S
  6. will not explain how this can be done - there are documents out there for the
    $ Y/ {$ c. X. q9 M
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    % c3 e3 b$ j9 I3 v
  8. and a user account (username + password) that has the permissions to do stuff  b- B0 M& w, u# n2 c4 v1 l+ G
  9. with the database. Additionally, you will need a vendor library installed on the8 A8 ^' g3 o, n- N' |9 W( ]
  10. local machine, this came with my MySQL install.
    - a& Q5 {0 K( S$ {# X5 M
  11. These instructions will not tell you how you might transfer your data from the/ c- X5 P4 _( T+ q: k: x0 G
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL) V) Y3 a0 ]9 w8 }* n, y  ]9 J* m& h7 R' O
  13. database.
    , a, T  A- M0 v; n! e
  14. Some users have reported ways to import a SQLite database into MySQL, but at% v0 @! `& Q% k0 a- A
  15. the time of writing, there are still too many issues - check the current status
    ( g% O' X9 }8 F( p' b, [1 `
  16. in the TeamSpeak forums if you are interested.# i7 v4 O+ V2 u% m% ?
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from& G$ U1 L4 L7 Q, H/ M6 z
  18. Borland was used. This driver can only interface with the client library that 5 F1 [- {+ |( q$ b  }- [: p
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this8 c! ?) [- {" t* G% U3 q8 p9 D
  20. client library - basically all you have to do is to use a 3.x client library as
    2 `& I( @6 t, b& c- X" q, o
  21. "VendorLib" and a 4.x database to connect to.6 {# u1 ~; j0 V2 J: h/ {
  22. If you need more info about dbExpress, you can contact Borland./ n7 C- H& A$ m# A! n

  23. 7 U5 b' y+ E  F3 l+ P% e0 N  R4 |
  24. ### Doing the work ###! h9 n# j$ \3 ~( O" U; `
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all: `6 D* m7 T+ s* i$ d# P, i- n
  26. the perquisites right, just open your server.ini file, and add this section at) l) P, G) O, w
  27. the end:; L$ C0 d7 u  b8 n$ a8 y
  28. ---cut here---; b; q) M3 T% P# n) V6 B; G; ], h
  29. [DBEXPRESS]- [% B, y8 }: l6 g1 x
  30. sqldir=mysql_sql; m+ d* N( z& b
  31. Drivername=mysql  }8 E" N! {9 v, D
  32. Database=Your_Database_Name_Here9 y5 |# \! L) i5 S" _" H# G
  33. Hostname=The_PC_the_MySQL-Server_is_on
    / ]5 I  I+ z- ?! m/ v6 J; Q
  34. User_name=User_name_on_the_MySQL-Server- a8 j- n( x  m
  35. Password=Password_to_go_with_above_user_name7 }5 V8 I2 c7 ^# G/ c9 z
  36. GetDriverFunc=getSQLDriverMYSQL
    " L8 {! d/ V% I) r
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib" m" K9 e  Z5 y7 m; J3 A6 X# F
  38. LibraryName=path_to_libsqlmy_libary; Z! h2 g: `5 B9 |
  39. Active=1: R4 Z3 d& p7 I( J0 c, B$ B" B
  40. ---cut here---
    5 h6 \/ C# A  a- H  O" G
  41. In my environment (a linux box with a MySQL server running locally) I have:1 m, j) e( `5 K; q8 W2 R" o
  42. ---example---3 b% ]3 t2 ^3 Z; P
  43. [DBEXPRESS]
    5 g, E; _' s8 R6 i* U, ^% Z* Z
  44. sqldir=mysql_sql$ S" A, j( \" U! @
  45. Drivername=mysql1 l6 \7 p6 w2 C% ]2 d
  46. Database=test% m/ E+ O0 T: o4 e
  47. Hostname=localhost( @9 a: |% X3 G9 k
  48. User_name=testuser
    & U( A5 h* T/ o- P1 c
  49. Password=my_password
    : [% S; O9 Z  z& j
  50. GetDriverFunc=getSQLDriverMYSQL' l! U' o8 @  u! w
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    9 M  V2 i' D6 j5 O5 l, ^
  52. LibraryName=./libsqlmy.so
    6 D: q. ?4 z" `$ \
  53. Active=1- c9 I" m- p  d
  54. ---example---
    4 @+ l0 u! X: X2 m" ~" Y, L
  55.   s8 I6 o1 Z8 @2 G3 I* }9 S
  56. On a windows box, also running the MySQL server locally, it would be:' H/ {4 `! y8 C3 g& W3 N# D. M
  57. ---example---) @' e0 g4 y& ?6 m* h
  58. [DBEXPRESS]
    4 W) Q. s2 u9 ^
  59. sqldir=mysql_sql6 e0 b$ s, C! i' [+ ?! S  M0 M0 [
  60. Drivername=mysql' Q, v$ g* e+ d9 o8 a
  61. Database=test* r' N  D9 U6 j3 c3 ^1 ^
  62. Hostname=127.0.0.1
    * y! G. ?1 y8 D) U- _( T9 c5 R
  63. User_name=testuser
    7 m4 n6 e; K! ~/ n8 n6 V, n4 m3 z
  64. Password=my_password
    * }% _: h3 ]# h/ L
  65. GetDriverFunc=getSQLDriverMYSQL
    # p7 Q* R: H( H% ~" D0 w
  66. VendorLib=libmysql.dll0 X/ \* K1 o% p7 b
  67. LibraryName=dbexpmysql.dll
    6 t9 \% W; |6 y  l  u" H; @
  68. Active=1
    0 r$ s. ]& z: |$ c8 T
  69. ---example----' x' Z/ F% f) b. A3 F
  70. - written 02.03.04 by pwk.linuxfan
    ) V; q/ S: L* A9 ~1 Y( {- o3 C
  71. % ^6 e3 c& q+ X' j) W
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
2 Z( h) l2 P/ `+ T5 U0 ~" S
  1. 7 [! U7 n5 Q* w$ p) `$ F
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    6 V0 z2 A* H' h
  3. / Y8 n4 O! L3 ~8 Z9 ?" t
  4. # # #我们所需要# # # + ?' |' s; d2 s. {7 Z
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件3 K8 ^2 u) I1 K) R- s# S
  6. 不会解释如何做到这一点-也有文件存在,为
    ' ^4 `1 x& W! Q" ~. w& j- P
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用& U7 @) E! x2 W7 w$ s8 v( O' a
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西* e8 I$ Q) Y& j: h
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    / I- h! V" m6 d
  10. 本地机器,这是我的MySQL安装。
    $ c7 d# E' |) b
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    7 S8 k4 F+ J0 u, Z3 N# L
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL " h9 p7 k: g+ R9 O) S! ?% z: Q5 F# Y! l
  13. 数据库。
    ( P" r8 j: r9 c) o+ I
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    / T7 @0 `9 J" v4 l$ K# b1 [0 e
  15. 编写本报告的时候,仍然有太多的问题-检查现状& T+ t4 @8 ?# t) [+ a0 q, S
  16. 在teamspeak论坛,如果你有兴趣。
    ; X, s0 h5 \2 Z' ~/ x/ N
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    0 k; i6 M: Z* J; r' n( j! _
  18. Borland公司使用。这个司机只能界面与客户端库1 s+ ^9 O- T/ e% C. @7 e5 `
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这5 I; {& G% l* {% h
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为$ x. D6 o1 y8 S3 \2 y6 m
  21. " vendorlib " ,并解数据库连接。
    4 H5 b8 t6 s1 [8 n3 q) F
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    5 G* y& n& h# `) I2 }. p
  23. ! X2 Y; P) s8 S$ w: ?; l, w7 X
  24. # # #做好工作# # # . M: O9 h" T" i: u9 a  u! T4 o
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    2 \  v, W  Z: N0 V3 [  R/ c
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在1 M; `- R+ F" [+ T! K: L
  27. 结束:
    ' A9 T  R! Q" Y$ C  v/ |6 k! ?0 i
  28. ---削减这里---
    " B* r6 C( c' y8 u  i
  29. [ dbexpress ] 8 b# V0 J- N7 g1 ~1 a
  30. sqldir = mysql_sql
    % \( q+ L& a" U
  31. drivername = MySQL中* Y/ K) s: G1 h3 N4 j
  32. 数据库= your_database_name_here
    . ?) c6 x+ F/ J. U
  33. 主机= the_pc_the_mysql - server_is_on + F6 a1 y, P! T7 X% t3 R/ Z1 U7 n5 d
  34. user_name = user_name_on_the_mysql服务器
    0 z4 U" C5 N. L  X  u5 P4 s) e; k
  35. 密码= password_to_go_with_above_user_name : v$ m. N! `$ N# W9 j
  36. getdriverfunc = getsqldrivermysql : V6 q1 U7 S; `4 k, s
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    : [) ~! D  W! k. [0 ~
  38. libraryname = path_to_libsqlmy_libary
    4 x, \% D5 x9 r
  39. 积极= 1 . T9 l' o, l  s$ D6 X# q: Q' L! }
  40. ---削减这里---
    3 }, e/ B" ~" I2 O- s  w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    + \, A- L- ~' }# V
  42. ---例如--- 8 D' T. E4 F7 P! ], v3 K6 f  `
  43. [ dbexpress ]
    # p4 h# A. P. r
  44. sqldir = mysql_sql 2 s) K7 k- N7 b9 U
  45. drivername = MySQL中
    : V5 L( s0 r/ U% x) n# p) v
  46. 数据库=测试: b1 R* b; Q9 Z) z
  47. 主机=本地主机
    6 O. X" _" z6 R3 P
  48. user_name = testuser % K; u* a* I, h7 X9 |6 r) X& i
  49. 密码= my_password 7 a: S: q% M0 z' G! \9 k
  50. getdriverfunc = getsqldrivermysql
    - e7 Q. s" C! h0 C- B9 I
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 % x" ?, p* M5 Y
  52. libraryname =. / libsqlmy.so 6 d  R9 }9 a- g+ S9 a9 T. @* Q- B( R
  53. 积极= 1 7 h+ z+ F! B0 I9 _
  54. ---例如---
    9 i2 B0 W5 X  ?( P

  55. ; m  e7 T0 \  l- u! |) [/ x6 z+ N( e
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ! s# @5 h7 {3 ^% i
  57. ---例如---
    # \; L! }5 C$ ?  }8 `# {/ N' k
  58. [ dbexpress ]
    ! W3 {' Y4 w  o- `/ Q) f4 b
  59. sqldir = mysql_sql
    # T2 e( e) n. U& _
  60. drivername = MySQL中2 M* e- I2 A: c
  61. 数据库=测试/ J+ n" @/ `4 K; _; }! v' n
  62. 主机= 127.0.0.1
    4 u: T% |; Y. l8 u5 h% ~; K3 `7 j
  63. user_name = testuser " g" Z( Q8 q' k3 c8 \2 @( Q) d
  64. 密码= my_password
    % M- L4 {- u6 T! Q
  65. getdriverfunc = getsqldrivermysql
    $ q9 U9 j7 T; i, i# [: ]6 |
  66. vendorlib = libmysql.dll在) I( Y  p" s8 w( C( t( e
  67. libraryname = dbexpmysql.dll
    # S% h  n6 I; M: U
  68. 积极= 1 1 w9 x! ]4 X- O" g% o; M. M
  69. ---例如---- * ?% f( s& W5 O2 V) F# x" L9 o
  70. -写在0 2.03.04由p wk.linuxfan; p# O0 v6 a8 I4 G* _
复制代码
发表于 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
2 U7 n7 r- A- t7 ?& G( s$ Z: X: j  ?- A8 K$ H5 [
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-7 16:53 , Processed in 0.100706 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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