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

3050 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
  _4 u- O4 P/ k, P; v* Z, }, P, W( L$ t: z, I% J

  1. % s" ~. T9 l. x) o
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ' C4 ~5 c* }/ i9 c( X# L$ x

  3. - M5 B8 d" ]- |2 {) q
  4. ### What we need ###
    - W9 ^. g$ a; l7 e# G
  5. Naturally, we will need a MySQL server to store the data for us, this document 3 d" x) ~! U" H* O
  6. will not explain how this can be done - there are documents out there for the ( m7 _3 Y  c; C+ n1 H' l
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    8 r3 P- b' J* R: S5 U$ W- ~
  8. and a user account (username + password) that has the permissions to do stuff' ?) c4 n& O# Y/ f6 h" s. ]
  9. with the database. Additionally, you will need a vendor library installed on the
    6 i* ?  s5 J0 [) d
  10. local machine, this came with my MySQL install.
    8 v. T/ }! p0 G- L  ^7 S
  11. These instructions will not tell you how you might transfer your data from the
    $ b  V" q& q% o  ?) K+ \" X
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL" A5 v3 O* v8 B8 C8 X
  13. database.
    % W9 {- q, c  O3 h; u9 B
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    " ?) Y" S) {( _* k9 a: `
  15. the time of writing, there are still too many issues - check the current status
    - ~# g) C0 l4 A3 S* I0 E
  16. in the TeamSpeak forums if you are interested.
    * p; _6 }( j4 B; K6 Z
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    , ~3 S5 X, p. ~. n1 [2 l7 J
  18. Borland was used. This driver can only interface with the client library that
    $ M& G9 j" X0 M
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this/ {& w1 B/ U9 y: O' I3 N
  20. client library - basically all you have to do is to use a 3.x client library as 1 P' ~& r! W% y$ ?& L! Z$ s
  21. "VendorLib" and a 4.x database to connect to.2 i) i5 ?7 @* H" T  N
  22. If you need more info about dbExpress, you can contact Borland.
    4 F$ V, O$ P2 V' Z- _# \1 F

  23. 6 V- }8 {, q1 |; _& d
  24. ### Doing the work ###8 N% q6 z0 ?! ]% h! ?
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ' d' B+ B0 _( U6 w
  26. the perquisites right, just open your server.ini file, and add this section at# y0 H2 n/ `* O7 j
  27. the end:
    ; F  G  y+ R% b) D4 J
  28. ---cut here---$ F. E/ b9 B3 X! J2 R* s4 E
  29. [DBEXPRESS]& t7 H  r) {# p) y  L, p
  30. sqldir=mysql_sql0 S9 J  Q# F$ K; w2 o
  31. Drivername=mysql' f/ E% N: \1 k" z2 _
  32. Database=Your_Database_Name_Here
    & {9 {" \1 X- T6 Y! D1 f' r" d: l
  33. Hostname=The_PC_the_MySQL-Server_is_on3 `. [1 H6 x% ^% ^5 Q3 ?
  34. User_name=User_name_on_the_MySQL-Server% h8 e% @/ l- m. Q' ?$ g
  35. Password=Password_to_go_with_above_user_name
    ) L8 d0 v- x% Y- b( j  K% _
  36. GetDriverFunc=getSQLDriverMYSQL) G- l* N, v8 L+ @2 \
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    1 }# a) Q# }3 X$ d( F6 l3 }
  38. LibraryName=path_to_libsqlmy_libary5 e! k9 K& \- M& q" Z# h/ e' [3 Y
  39. Active=1
    - g+ i* e2 o6 \
  40. ---cut here---
    % q) h6 G/ S/ }8 ?1 K
  41. In my environment (a linux box with a MySQL server running locally) I have:
    " Q' e, v% k% i' _$ [
  42. ---example---
    3 K! A; e6 r; E' n) m& o
  43. [DBEXPRESS]
    & o: i! K; W2 y' \+ h: |" I) o: U
  44. sqldir=mysql_sql
    ' I8 d. k. B" h/ U1 D
  45. Drivername=mysql& B* X3 K) r! |& N" ~6 M7 b/ t
  46. Database=test
    1 Z0 Q* R7 ?0 T4 h% V$ n8 B  V' w# J; I
  47. Hostname=localhost8 [- ?5 U1 U' q6 c% C7 X
  48. User_name=testuser: @! H4 x6 ^6 U9 g5 E+ w
  49. Password=my_password  h3 T# A/ `4 y
  50. GetDriverFunc=getSQLDriverMYSQL
    $ |$ s7 o/ g) s% V1 p$ [& J, q6 _
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    + I! E( d& M$ a  f- ], N# L
  52. LibraryName=./libsqlmy.so; F2 j5 m! |- V4 U* z& ^5 B
  53. Active=1! l0 g" t& ]8 o; j2 p6 Z4 R0 L
  54. ---example---
    ' \6 P7 A& E, M2 H, R! O- \

  55. % k4 M5 v1 }+ r- T/ Q* h
  56. On a windows box, also running the MySQL server locally, it would be:
    % g/ j/ I; V+ I/ T2 J/ u  L& Q1 M
  57. ---example---& e( h; y/ w0 r! r) F- [) w
  58. [DBEXPRESS]
      t1 w! m3 j% @  `
  59. sqldir=mysql_sql' w/ U0 o  @, q% ^3 B' M: ?
  60. Drivername=mysql9 u8 C6 b4 j- Y0 }! m. Q- Y
  61. Database=test
    7 |0 m: @+ c5 U! B- S
  62. Hostname=127.0.0.1& g$ G' _& Q! U
  63. User_name=testuser" f, J" z5 j9 J2 t0 e( w
  64. Password=my_password
    / Z9 ~# s& b; b6 A7 b& Z6 W$ L7 @
  65. GetDriverFunc=getSQLDriverMYSQL: d* t* Y% O0 {9 n+ ?6 B5 B
  66. VendorLib=libmysql.dll4 y. g, x4 z8 X; i9 E
  67. LibraryName=dbexpmysql.dll6 W' }6 _4 w, _3 f
  68. Active=11 E# j5 S8 U4 p; M0 u' t/ n
  69. ---example----& ]; P2 o& M' r0 Z- G
  70. - written 02.03.04 by pwk.linuxfan$ H! M4 ?" f+ v, `% ^
  71. , T  H, |& t. z) H3 V* g$ E# i
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
2 I5 L  l7 p$ W1 W$ E

  1. ! n3 F% T* [5 a  f; \& K8 S
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    * z4 m3 n+ `6 J
  3. 4 a% }% h0 O7 B/ B: i
  4. # # #我们所需要# # #
    3 T; ]1 k" A& `. F+ n2 A
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    0 q) K* Y% z& ^% i* e& U6 x
  6. 不会解释如何做到这一点-也有文件存在,为
    - f) Q8 K* ?$ o
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用& o) ]9 T9 B" s- @4 s. W& r
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西  q* d0 x5 G) J$ x
  9. 随着数据库。此外,你需要一个卖方图书馆安装于9 p& |% B! A% x0 _4 e+ `- k0 ~
  10. 本地机器,这是我的MySQL安装。 1 t( L1 `% c; O# L3 t0 x, w. `4 j; ?
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从6 g5 l% v1 d/ U: U& |1 A+ M
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ( h( V) {# Z3 a: I
  13. 数据库。
    : C; h% ^6 D" d+ }" p  P8 ?( j
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在8 u) o( c7 r2 s( q7 f1 q1 s! N
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    : j% X# R, ~$ k4 T% X- M0 c: ~+ y( D
  16. 在teamspeak论坛,如果你有兴趣。
    1 h+ |( m2 o. P; u: D. U4 l& S
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机9 q. z- Q' t, F6 s
  18. Borland公司使用。这个司机只能界面与客户端库8 ~' s7 y1 R8 i: x2 U
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    9 L' E# S4 e& N
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为1 D, [' I' _0 U: K2 i3 e
  21. " vendorlib " ,并解数据库连接。 & s* ^: Y$ h/ z) O# @
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ( t/ v( F7 L( P9 |
  23. 7 Y1 M* _; a4 `
  24. # # #做好工作# # #
    5 Z( b# R% e% t. k$ t1 l- c1 S
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都* X, Y% q8 w, G$ j1 z2 j6 M5 Q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    / r8 ^+ m' i' u, @" `* g- c
  27. 结束:
    3 ^* g* U! r+ n$ S4 H5 i, ^
  28. ---削减这里---
    ) v$ w& k0 W1 [/ b
  29. [ dbexpress ]
    2 O: t1 h* S3 _& I  h: @
  30. sqldir = mysql_sql
    : E# \8 J8 j- E( o
  31. drivername = MySQL中
    0 h- n& m% A: x0 m6 j6 d4 U0 P8 x
  32. 数据库= your_database_name_here 6 R' h* z4 s0 [2 J
  33. 主机= the_pc_the_mysql - server_is_on
    & {9 L/ ~0 u' t* i6 m4 \6 T+ ^) o
  34. user_name = user_name_on_the_mysql服务器+ C* o! K4 ~; [# M3 D
  35. 密码= password_to_go_with_above_user_name
    : _' t7 A3 V% N  Y& R
  36. getdriverfunc = getsqldrivermysql % s7 }/ [. @1 B2 |) M# k  y! Z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
      A% }$ Q% W& B: \% |" A
  38. libraryname = path_to_libsqlmy_libary , |8 _% ?( \) B# j+ Z
  39. 积极= 1
    . V2 ~  W4 x- c& D( N
  40. ---削减这里---
    6 U! ^- U) J+ ^
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    - ?9 p3 P+ |: v+ x: b+ U
  42. ---例如---
    4 P# }$ z+ f' P' A% w% M
  43. [ dbexpress ]
    7 h& t- y) j. c6 h% f1 @
  44. sqldir = mysql_sql 8 Y# Z' l/ O1 Z2 [0 Y
  45. drivername = MySQL中/ K; `& _. U6 n# g* M& ?- E9 D
  46. 数据库=测试
    - p: Q; t" P2 [/ y& P- @
  47. 主机=本地主机
    : Q. q2 I7 N, B0 T' l7 T
  48. user_name = testuser
    , d4 q1 u9 a# o& }
  49. 密码= my_password
    ) B& e9 c" y! d# P
  50. getdriverfunc = getsqldrivermysql 1 v, e5 m% g  ^! g" F' E( o4 i
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ) D) D  Y* W+ k3 c! c( O  @
  52. libraryname =. / libsqlmy.so 4 w& {: l8 v) M  I& p' z- E2 ]
  53. 积极= 1
    . ^% }) M& I! D# c0 d! V) b
  54. ---例如---
    - U3 A; M) h" c# o" V/ n

  55. 7 D6 O: W4 y0 m% W
  56. 对Windows中,也运行MySQL服务器本地的,那就是: # _% T! ^. S1 ?# ?- e
  57. ---例如--- , U0 n) a" L6 V
  58. [ dbexpress ]
    1 G* W) Y+ d1 ?$ t
  59. sqldir = mysql_sql 4 D* l3 G/ p) @2 [4 v; z1 e/ y
  60. drivername = MySQL中
    8 u# w/ s( J: Z& L' u( x
  61. 数据库=测试( \; Y* o: v4 _' b2 S1 R
  62. 主机= 127.0.0.1 ) r4 Q6 `6 u; E) J
  63. user_name = testuser
    " D& T8 k1 t+ E- J7 t! f' S8 }
  64. 密码= my_password % s7 v% A( x/ [7 @: e  r
  65. getdriverfunc = getsqldrivermysql 7 |$ j! K  g/ I, X
  66. vendorlib = libmysql.dll在
    ) P% @) Q! Y2 |3 P2 k7 J5 m
  67. libraryname = dbexpmysql.dll
    # R3 q! B% A( P7 H
  68. 积极= 1
      H' W2 H: s# R: T. G) [  w
  69. ---例如---- 7 j$ H# f  ~3 x+ a+ V& W
  70. -写在0 2.03.04由p wk.linuxfan
    % e6 h9 a0 a. C) x8 @+ \
复制代码
发表于 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% q+ j& r* a6 H1 V; V5 E0 e

  E+ _9 r, D) }5 O- n1 ~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-21 08:47 , Processed in 0.093170 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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