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

2393 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan & ?8 Q9 n# _! k$ w5 A! ?
+ N8 [6 ^2 D- _0 ]/ a5 H8 \' e. r

  1. , P' ?8 |2 `+ [
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######+ J1 Y; Y) v8 W7 {* _8 M; S

  3. % H( F/ X4 r! f0 v7 S' l
  4. ### What we need ###0 _! k. G7 M' h( F, ~0 e+ v
  5. Naturally, we will need a MySQL server to store the data for us, this document
    8 X) m- n" C/ |" U& ]* P. G) A
  6. will not explain how this can be done - there are documents out there for the 0 V% _; d; X' a( k* o, ~
  7. interested. The requirements include a (empty) database for TeamSpeak to use; [0 }2 N* Z( a. r' K
  8. and a user account (username + password) that has the permissions to do stuff. O/ _: J2 z/ m) d8 M
  9. with the database. Additionally, you will need a vendor library installed on the6 `/ @5 a5 o3 q* C1 |* u
  10. local machine, this came with my MySQL install.
    * k- s2 [: U7 D$ q& h7 j
  11. These instructions will not tell you how you might transfer your data from the
    + f9 q8 j6 {1 ]  j
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL' x5 f" D: _8 q6 M: x  \
  13. database.
    ' U8 T- h$ U( i* G
  14. Some users have reported ways to import a SQLite database into MySQL, but at) h) i! D# _) q' x1 c
  15. the time of writing, there are still too many issues - check the current status! q1 _: Y& H8 G/ t
  16. in the TeamSpeak forums if you are interested.* K) }5 v4 p2 B9 W+ n) n1 ?, J' O
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from, o; N8 @: T7 ?5 Y/ r
  18. Borland was used. This driver can only interface with the client library that
    6 v: l" h$ b! J5 a- Y' v8 |/ W
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    4 J* j0 V# ]3 E0 N: F$ ~9 a
  20. client library - basically all you have to do is to use a 3.x client library as
    * e) V% I; V8 \1 b8 V
  21. "VendorLib" and a 4.x database to connect to.
    1 }. b7 e$ T5 b! O. T$ z  ?2 r% k" c
  22. If you need more info about dbExpress, you can contact Borland.9 ~: i: B5 Z# D8 N; R6 P

  23. 0 A4 H9 s, Z2 D/ P! W
  24. ### Doing the work ###, N- {+ O9 i0 T0 y+ Z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    * H/ N. R! h! V+ s# K5 D+ n2 E
  26. the perquisites right, just open your server.ini file, and add this section at2 x- N, Y5 m" G% u# B: t& u
  27. the end:
    % |6 I$ C: t" c; y- ?
  28. ---cut here---
    ( W: f! f% ?, p7 S3 x  U8 N
  29. [DBEXPRESS]
    * a: [2 P5 y1 A# W8 l
  30. sqldir=mysql_sql
    3 E- H8 G+ M6 F2 u& \
  31. Drivername=mysql
    7 v5 ]: y- M- Q% d# H+ F$ p- E, n9 w1 w' j
  32. Database=Your_Database_Name_Here
    8 s& ~* I' I# b) o% n' \
  33. Hostname=The_PC_the_MySQL-Server_is_on) O2 K: ?& F! a9 v1 u1 O
  34. User_name=User_name_on_the_MySQL-Server; M4 G# D+ ~/ d6 P9 \( E" `' a' G
  35. Password=Password_to_go_with_above_user_name
    : ~$ }, m: A* H4 `$ d! m
  36. GetDriverFunc=getSQLDriverMYSQL+ g8 S) I. c' W# m) g
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib0 {6 I5 j9 K0 h& K; X6 l2 u/ S
  38. LibraryName=path_to_libsqlmy_libary
    : g" B+ s- Y4 |! `+ C
  39. Active=1) ~9 [, i8 a  J- ^) h
  40. ---cut here---; [7 Y% D8 l$ C5 p! ?2 @' ], w
  41. In my environment (a linux box with a MySQL server running locally) I have:) G7 }: v# _% c4 E
  42. ---example---
    3 x' p5 ~6 a& m, I. ^" [9 w
  43. [DBEXPRESS]
    ; z0 B2 {" N, f4 \2 k" q
  44. sqldir=mysql_sql
    3 f, A/ z1 ^, b" t8 w) Z: r
  45. Drivername=mysql( |7 N5 V* A' |3 u) O  L
  46. Database=test
    . J4 ^2 H8 a# C5 Z6 h
  47. Hostname=localhost
    - Z: M6 w6 _/ s/ W( v/ ~8 N) ~
  48. User_name=testuser
    ; Z: P% f! J! L0 b+ Z# o
  49. Password=my_password- x, O9 ~0 A8 d. H- }5 q. N' ]
  50. GetDriverFunc=getSQLDriverMYSQL
    $ Z! ~- j4 X( h/ Y; R
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    0 i& w2 y+ N7 C. H  L% l
  52. LibraryName=./libsqlmy.so
    ( y. ~/ ^$ t% J8 u2 d9 M- Y
  53. Active=1$ D. W' l" z+ X9 j4 v9 Z% w, F
  54. ---example---
    6 S; G5 m6 E" d, U; r

  55. 4 \; t- Q- h  ]( F" Z
  56. On a windows box, also running the MySQL server locally, it would be:
    2 `& h8 u3 q$ u
  57. ---example---, t2 d, X" T7 N
  58. [DBEXPRESS]$ ^3 b/ M& n2 B8 ]8 ?9 ^$ X
  59. sqldir=mysql_sql
    3 x$ a, o6 `# M) @7 `: M1 L. k
  60. Drivername=mysql# Q( a2 r* s5 H% L# r. [2 S. _. @& H
  61. Database=test. j! f/ l) c  T, \7 O  A, ^
  62. Hostname=127.0.0.1
    ) U" x2 h/ ~6 W, H. A& j
  63. User_name=testuser
    ) [; F( X' |- J- a' N' j6 Y; H
  64. Password=my_password2 M! h0 W, `" Q3 G! k; x
  65. GetDriverFunc=getSQLDriverMYSQL
    9 u( v) \) v- d9 I
  66. VendorLib=libmysql.dll
    # E- v; l  K+ \- y9 h
  67. LibraryName=dbexpmysql.dll: z1 {* x/ P7 X# J3 Y) ^. M8 k# X  A
  68. Active=17 T; y' o7 G9 \$ l, g4 p# ^" s3 c! X
  69. ---example----& f1 \! m' B; B% a1 U$ [
  70. - written 02.03.04 by pwk.linuxfan
    + y9 Y. _9 }1 o7 e

  71. $ C. G$ |4 T! k* k, g
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看. S1 ]2 b" j( J
  1. 6 ^- N: G+ }8 q) @. `' n
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ) Q: r- t1 `% f1 M/ f) L

  3.   }7 j$ d' o& z3 g& _1 e4 k9 ~9 j  J* A
  4. # # #我们所需要# # # # o1 h  u9 p( h$ A
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    7 M+ ?) _2 G1 S* O0 L5 y
  6. 不会解释如何做到这一点-也有文件存在,为) Q9 c8 p, B& ~% ^2 z% z# N/ h5 U. N
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用0 A7 ~# A% M1 I. {/ {6 t
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西- E: V! r3 \! K  U- a4 G
  9. 随着数据库。此外,你需要一个卖方图书馆安装于; V) S- g+ f: {5 k
  10. 本地机器,这是我的MySQL安装。
    ; P' \' H8 ?7 k: X8 |9 H- \
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    7 [7 j0 N- ]$ ]! |' |
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    * h& `% d* o) P
  13. 数据库。 . D. j1 d3 F6 n% b6 w& Y# D
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在- n9 z+ U0 ]7 m4 ~# m' ^
  15. 编写本报告的时候,仍然有太多的问题-检查现状" P* K4 a% @! C$ L
  16. 在teamspeak论坛,如果你有兴趣。
    * ]3 C4 z, ?/ T$ _: a+ r) `; b
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机$ w! t& O# I7 C0 t6 H" {
  18. Borland公司使用。这个司机只能界面与客户端库7 }& Q' _9 W3 ^+ P& b
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这" \- f3 h; Z- Z" G$ g$ D  m4 W( l$ `
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    # P' z' ~" i6 h  N8 Y. x3 B4 p: Y6 `
  21. " vendorlib " ,并解数据库连接。   x1 w5 J: o" A2 I  {: C
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 & H, F9 i4 P/ R- W- w0 G5 W

  23. 9 s# u4 }$ r7 H1 y
  24. # # #做好工作# # #
    9 ^  s  l. [# x. }1 `
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    5 o# E/ K* P( F9 U
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    : B0 T% o- Q; W9 w$ M! {
  27. 结束:
    ) i/ w' k7 V0 M' X) c( z
  28. ---削减这里---
    4 L2 F: v+ q0 A2 ~
  29. [ dbexpress ]
    , [4 O2 e1 s% X. z
  30. sqldir = mysql_sql 6 o( g/ z8 ?( g- N' K$ r$ H
  31. drivername = MySQL中- H( O: j: \/ _, E
  32. 数据库= your_database_name_here
    1 `' [/ U+ J9 J" J7 b  D
  33. 主机= the_pc_the_mysql - server_is_on
    5 r; K4 U( Z4 s3 L/ E
  34. user_name = user_name_on_the_mysql服务器+ I* B& p2 L' @1 j0 `2 a" z
  35. 密码= password_to_go_with_above_user_name 8 L9 }1 N4 Q* r/ ]
  36. getdriverfunc = getsqldrivermysql " y/ P# |: Y; f/ T0 o& m
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    9 q& o# _. Y# T; w1 ^
  38. libraryname = path_to_libsqlmy_libary ' j) ?9 L- l$ P& d: ^1 C
  39. 积极= 1
    1 a- E+ j) \- `& D1 G) H( F$ [
  40. ---削减这里---
    , g5 S0 o- i( j0 y- R$ |
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 2 g$ l% u( K" i# n* A- l) ?
  42. ---例如--- : h2 a$ k; s6 a: j6 u2 Y( i
  43. [ dbexpress ]
    / C, l: `, X/ h/ o* |
  44. sqldir = mysql_sql " ?5 p# o" ^4 K1 g
  45. drivername = MySQL中
    " {5 \' |2 ], g" q& S( w
  46. 数据库=测试
    ) P$ `  m7 S5 A( Y9 R" ?# z1 A
  47. 主机=本地主机8 O% Q/ \% Q0 z
  48. user_name = testuser
    # g4 I  M* X  i# ~  N2 ~
  49. 密码= my_password
    4 u4 X0 k  k: f& d
  50. getdriverfunc = getsqldrivermysql * k/ I% q4 \; Z1 j& [
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    6 j7 [, Z: l) X$ p" F
  52. libraryname =. / libsqlmy.so 2 S3 \* W/ F* E; a9 Y& F5 X
  53. 积极= 1 $ }& b" a8 n* Q: _
  54. ---例如--- " p/ ^1 U  |9 V' }: Q: Z$ L$ t) z

  55. * Z0 l' l! Z; ~
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ! C+ Z' ~* m) A, L3 Q( m
  57. ---例如---
    - B# n3 M5 z; _0 r: a
  58. [ dbexpress ]
    # ~, Q) z8 w2 n
  59. sqldir = mysql_sql
    " g: {( h! M; q
  60. drivername = MySQL中
    ) o9 k; V6 O$ u1 k
  61. 数据库=测试
    7 L( W% o8 |& V7 E0 @1 }9 C
  62. 主机= 127.0.0.1 $ }7 j0 W0 m- q7 w1 M
  63. user_name = testuser
    ' t- ~* I$ \# u$ I
  64. 密码= my_password
    6 g8 {; i0 u1 A7 E( I- ?
  65. getdriverfunc = getsqldrivermysql
    & x5 u9 S; L# U: |+ b2 p- v' Y2 X
  66. vendorlib = libmysql.dll在
    1 H  o- ?( }0 ^$ x$ X) J) I
  67. libraryname = dbexpmysql.dll
    7 a2 ]7 [/ `, B5 t% Y
  68. 积极= 1
    8 S/ z. ^! ^. H: C, n
  69. ---例如----
    ! e) m! h% `. B1 p! p: Y
  70. -写在0 2.03.04由p wk.linuxfan
    % u" N# }8 o7 h8 P
复制代码
发表于 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 words9 ?  N& s) A% E1 G4 u

4 x+ `: z7 E8 t1 ibut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-17 12:59 , Processed in 0.118155 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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