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

3584 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
: g) W$ c/ x) n: u: y3 k- r$ C# @
. Q! k8 H2 |1 }+ \6 x: g

  1. $ F. U5 A- c8 U, O- d
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ; Q8 E; ]$ y; z' z& U$ x

  3. ' t; [6 M; y0 r6 K0 N4 k. K3 G
  4. ### What we need ###1 E$ p. R% ]1 _7 i$ Z: [
  5. Naturally, we will need a MySQL server to store the data for us, this document 5 j$ O  J5 n; D
  6. will not explain how this can be done - there are documents out there for the
    . a% }; P4 c% l+ O8 x) l
  7. interested. The requirements include a (empty) database for TeamSpeak to use9 ~- [% t, a2 f, V4 z" e) T
  8. and a user account (username + password) that has the permissions to do stuff
    " _$ E+ C( I# x* S* E, x% B' W* R
  9. with the database. Additionally, you will need a vendor library installed on the
    $ m& l+ J. S7 i  N( S( Q
  10. local machine, this came with my MySQL install.7 b& \5 \0 ~/ K( e
  11. These instructions will not tell you how you might transfer your data from the- A: G+ w9 z+ q' y" h$ {
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    * o+ A5 L2 M' `+ e
  13. database.8 L" [9 X: B4 b. X: Q% X- I' X. ?
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    8 z& s+ q9 a  V
  15. the time of writing, there are still too many issues - check the current status+ ]0 X' W9 q8 W8 Q  G
  16. in the TeamSpeak forums if you are interested.
    ( t* J, ?: N) x
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    $ A) y4 N" h+ U" [
  18. Borland was used. This driver can only interface with the client library that
    : C" _/ q/ Y+ H/ x4 {, K
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    6 D9 u/ C$ r) q) z! B# A6 r$ Z3 r# S
  20. client library - basically all you have to do is to use a 3.x client library as 7 h, z! I5 @$ ^+ O' {& p2 k: h, h
  21. "VendorLib" and a 4.x database to connect to.) [; @; e" F) H- T
  22. If you need more info about dbExpress, you can contact Borland.
    1 V) s  T; S1 T' n8 a# D9 u* V/ j

  23. 8 e7 z% i( Z/ R& U, U$ j" H; E
  24. ### Doing the work ###! m8 d4 c! {2 Z8 a1 j& @
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all) X, b9 y; }+ T# u( g5 i; p- W
  26. the perquisites right, just open your server.ini file, and add this section at) P8 V# T( w2 V+ P" x  j! ~
  27. the end:
    & [' p- }& Q* k/ D
  28. ---cut here---9 X9 T, A9 _* {8 T/ Z
  29. [DBEXPRESS]& E* i) G4 Y7 r( \1 D7 ^
  30. sqldir=mysql_sql
    4 O; C% K! Y" \7 d4 Y9 J
  31. Drivername=mysql1 d; K2 Q6 m7 Z! {2 }
  32. Database=Your_Database_Name_Here
    " R0 T/ @6 O& B$ Z6 O
  33. Hostname=The_PC_the_MySQL-Server_is_on( y. F1 O2 h4 h& J8 z) E9 g2 X  v- l$ H( Q
  34. User_name=User_name_on_the_MySQL-Server  v8 e: a( B" Q$ [& T$ Z% O: C
  35. Password=Password_to_go_with_above_user_name6 O2 l  f5 D/ j3 F! N1 P
  36. GetDriverFunc=getSQLDriverMYSQL
    ( M* L6 j& {. Z: s6 B; x
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    : F. `' T2 L5 u2 \& Z! d
  38. LibraryName=path_to_libsqlmy_libary
    4 G7 `+ C! _) h6 m) i  [
  39. Active=1
    5 B# {  B2 z) a4 j7 p
  40. ---cut here---( A4 r# T4 I4 o: |
  41. In my environment (a linux box with a MySQL server running locally) I have:9 E# c8 v" }- X) }6 C# R1 s
  42. ---example---6 n6 P  _' r6 U2 K( t
  43. [DBEXPRESS]
    5 y0 s5 H1 Q" I0 p+ M$ j
  44. sqldir=mysql_sql( Y: y; A6 J1 d0 l4 r& u6 M
  45. Drivername=mysql" p/ @, i9 A$ W- Y$ a7 M( P
  46. Database=test- h/ E+ j0 y. C; T* b% @
  47. Hostname=localhost
    5 U7 m+ Y3 E* l3 ^$ D8 b
  48. User_name=testuser
    $ q6 i4 \2 a6 }$ ]
  49. Password=my_password; O: M* Q' ]" a5 @9 Y+ a2 f
  50. GetDriverFunc=getSQLDriverMYSQL( Q! u7 u6 D0 E/ M# M6 b+ Z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0* o; n3 ]# j8 a, J. T7 g
  52. LibraryName=./libsqlmy.so0 m- m# m8 n# }7 |. ?
  53. Active=1
    * a! ?# j  O( _. C2 |! x7 b# c
  54. ---example---
    " k: F# J: B5 c* f4 L' Y2 @) }/ K2 ~: j

  55. 7 B% |$ S, Q, R1 _$ O
  56. On a windows box, also running the MySQL server locally, it would be:
    & j1 V$ }) }; u7 |' V0 U
  57. ---example---* b7 w# y7 H4 f
  58. [DBEXPRESS]
    : v" A/ }$ I# C/ ?* b
  59. sqldir=mysql_sql
    0 T3 i! o% b4 y! ~0 k9 [
  60. Drivername=mysql$ m: m$ C' u: h2 t4 \" g* j
  61. Database=test0 A. x) R8 e' c& U9 `0 a
  62. Hostname=127.0.0.1" P; t  W, x+ b( P
  63. User_name=testuser
    6 D* u9 g/ ?" [
  64. Password=my_password
    9 G8 K: r, Y1 |
  65. GetDriverFunc=getSQLDriverMYSQL8 R% ~  ?# h" R0 T* }$ {0 c0 w2 _
  66. VendorLib=libmysql.dll) u- s1 M1 z. O+ f7 E
  67. LibraryName=dbexpmysql.dll0 b  H0 z3 f4 `, E0 C
  68. Active=1; \9 z6 F3 k9 V, F
  69. ---example----! n6 @7 c0 O( ]) j
  70. - written 02.03.04 by pwk.linuxfan
    2 t% U+ K" ?8 [

  71. ; D0 }6 I' |( R) _) z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看2 _3 I9 p+ \" t/ I

  1. 0 t7 a$ X* b+ Y' }$ C8 B
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ( b% O0 ?: J/ e
  3. . P# r$ n5 F9 c: c
  4. # # #我们所需要# # #
    ) c% R9 N2 A: ?9 [! T% M! H
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件  r, Z2 G4 X% u1 `$ W9 S
  6. 不会解释如何做到这一点-也有文件存在,为
    ! l4 Z) f# o4 b8 ^& T" e
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    1 k( Q! ~3 @2 M4 W% g$ ~7 I
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ( H  ^9 L, B$ P3 p
  9. 随着数据库。此外,你需要一个卖方图书馆安装于  L' K6 ~* y" T- n4 R' u$ g
  10. 本地机器,这是我的MySQL安装。 1 ^2 x- a. Z! }# U' I3 ]6 A
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    8 b7 g2 r/ y3 X) ^: ^; R
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 1 l! w6 B* N: f% v9 I" ^5 }& n0 N1 P- N
  13. 数据库。
    ! u3 c7 u0 y7 u! @% u+ h5 p
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在- Y" Z" w+ d; D# R
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ) d1 G' |2 R; k% C' S
  16. 在teamspeak论坛,如果你有兴趣。 " r+ P% e! I& m0 V- |
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    % U* h7 U* p8 v2 H6 j) O
  18. Borland公司使用。这个司机只能界面与客户端库
    8 V* J3 p0 i) U2 w3 Q  t% z) X
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    3 o0 g1 q2 K% F- O& z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为+ R, G* `& m. H! r! f
  21. " vendorlib " ,并解数据库连接。 2 E6 M( u; W- y! D9 S, w
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 - z& J) t6 X8 T+ ^# J

  23. 1 R, i# ~; Q$ I, u+ w
  24. # # #做好工作# # #
    + G; K9 M1 v9 k* u" O$ _' M! T. D
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    * [! x# J  I  L
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    + ]- d/ I0 h' E% ?0 }$ q0 c
  27. 结束:
    1 T5 ~0 M) C! g1 C" n; l  n
  28. ---削减这里---
    " d+ W  @2 ?2 e( x4 C9 d6 H
  29. [ dbexpress ]
    $ e6 @0 J  e5 ^) J# O* H" p
  30. sqldir = mysql_sql 5 Q1 p. Y  B" N
  31. drivername = MySQL中' d& o2 Y3 x* s- o2 J
  32. 数据库= your_database_name_here + d( `# m- l! S4 a' m. B% U
  33. 主机= the_pc_the_mysql - server_is_on , ~( [$ s% ~, ?1 o' T
  34. user_name = user_name_on_the_mysql服务器
    " k; K0 A% `- d  g, f  X3 I
  35. 密码= password_to_go_with_above_user_name / o1 j: a. E+ H1 r% a" K& ^" k
  36. getdriverfunc = getsqldrivermysql
    . c: r! k; p: s1 j& q9 n* T8 x- P6 j
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    1 K- g  M' h/ V/ A4 r  J* V
  38. libraryname = path_to_libsqlmy_libary 1 x/ c4 i: J# _6 J
  39. 积极= 1
    $ [9 y% z1 ^5 x* `* p1 U  z
  40. ---削减这里---
    - O' |# @7 m4 [1 w, |- J
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: + m$ N3 p6 M1 {2 S+ |
  42. ---例如--- , g: E/ v: t4 Z+ v6 l
  43. [ dbexpress ]
    ! w1 D, G% O" J0 z$ X) y
  44. sqldir = mysql_sql
    ! t: H! w6 H. W: E
  45. drivername = MySQL中1 I5 M7 f7 D6 x  B/ ^/ g( Q. w, L) E4 v# C
  46. 数据库=测试
    0 i: V) p( c( \+ R
  47. 主机=本地主机
    7 y0 g6 l8 `4 r' t% z+ J
  48. user_name = testuser & s, E5 i7 j2 ]& |( `2 v# x
  49. 密码= my_password
    9 r: s2 @) s# C. U  c' i
  50. getdriverfunc = getsqldrivermysql
    ' [/ C; H4 n, t9 G
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    3 P4 Y; m" [' [3 ]& g
  52. libraryname =. / libsqlmy.so
    2 h' l$ i0 |( Q$ b
  53. 积极= 1 / a1 M' }: d- L- n! o
  54. ---例如---
    % W2 }; f7 d9 C! j
  55. , s; C* S; V, p
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ; M: E. F/ g4 y$ _
  57. ---例如--- : W1 U% G, ]" f& s; N+ l
  58. [ dbexpress ]
    1 }7 D' t- n; a) h
  59. sqldir = mysql_sql 3 |/ B8 _! `( o! f' F
  60. drivername = MySQL中& P8 W; a& S: p  w1 Q. _
  61. 数据库=测试% T0 e) A1 d% E# @' _' ^- g0 b
  62. 主机= 127.0.0.1 2 G! f# s! ?0 [3 T9 d. E. c0 T
  63. user_name = testuser
    ) g" K6 z; s2 b2 @' U
  64. 密码= my_password
    : [# u2 P7 V% I; R5 S4 i
  65. getdriverfunc = getsqldrivermysql . c& N1 g1 N; A
  66. vendorlib = libmysql.dll在
    ( i8 C' {; j2 _7 p! [
  67. libraryname = dbexpmysql.dll 3 M/ n8 p. _2 {  F  M
  68. 积极= 1 5 M# g4 ^7 s7 B) _" Y* o
  69. ---例如----
      g6 P0 ^2 s& M9 F
  70. -写在0 2.03.04由p wk.linuxfan
    ! i# `% o4 _5 y
复制代码
发表于 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
5 r8 M9 X' g! T: |" K
/ e. E: O9 b8 M! H' c# }* G" V1 Fbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-28 22:38 , Processed in 0.053567 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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