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

2231 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
" U/ W4 ?' z. w. B7 o, Q# c6 \) n+ \2 c3 y8 \$ I) v. X
  1. 0 o) s4 y: |! t- ^) L- h
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    6 o! q% F. W1 y
  3. " B1 }( p! C. Z+ u# n
  4. ### What we need ###+ V1 Z7 v/ n3 A( r
  5. Naturally, we will need a MySQL server to store the data for us, this document , _4 K( C3 h$ k, J8 v
  6. will not explain how this can be done - there are documents out there for the - U4 g" z9 @) Z% f0 X# L
  7. interested. The requirements include a (empty) database for TeamSpeak to use, J, o0 a/ L7 \: d& \3 R0 q
  8. and a user account (username + password) that has the permissions to do stuff8 P  \' }# l) Y& S: o8 M
  9. with the database. Additionally, you will need a vendor library installed on the! o- M% h, I1 f: [
  10. local machine, this came with my MySQL install.
    7 U% E% w4 s* A' p4 F
  11. These instructions will not tell you how you might transfer your data from the
    - A: Q' r; K" Y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    6 _; u: }' y8 E( e+ Q3 S
  13. database.; w5 L0 O; A% {+ f
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    % N: K; c/ M& Q
  15. the time of writing, there are still too many issues - check the current status
    . {8 ^+ t5 D6 o9 @3 B( u
  16. in the TeamSpeak forums if you are interested.( H* \) S$ v0 l/ }, W
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    - U8 K. C$ `- g4 o$ R3 y4 ~
  18. Borland was used. This driver can only interface with the client library that
    + w6 [# X# f8 s6 z* g
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ; w5 s  s6 {  f5 L2 W3 Y3 @
  20. client library - basically all you have to do is to use a 3.x client library as 0 {3 ]. _9 l+ \( O3 q5 `7 `1 B9 l
  21. "VendorLib" and a 4.x database to connect to.- R& |1 _. ^/ ^0 k
  22. If you need more info about dbExpress, you can contact Borland.
    : E5 k0 w% _. z9 p0 m8 x

  23. 9 Z% ]5 A8 O: v9 J; k
  24. ### Doing the work ###
    " J  T1 V2 {4 Z6 H! q) c9 \) L
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    & p2 M& R* {+ t  k" ~! I
  26. the perquisites right, just open your server.ini file, and add this section at
    / v9 r& ?" h/ O( \8 i
  27. the end:2 Q& T  t% C& a% E/ a" I
  28. ---cut here---
    % d/ O  z! ^4 _3 D- |6 h, p+ {
  29. [DBEXPRESS]
    6 h) u% l0 h: i$ {3 U
  30. sqldir=mysql_sql- y( R4 [8 r1 }
  31. Drivername=mysql/ Z9 _  s% t, O/ d  G
  32. Database=Your_Database_Name_Here
    - e6 s/ z- t* W2 C
  33. Hostname=The_PC_the_MySQL-Server_is_on! n7 z3 v- n( P$ W
  34. User_name=User_name_on_the_MySQL-Server+ o+ ^' v0 ~$ _  _+ X: j& z, U
  35. Password=Password_to_go_with_above_user_name
    5 p' M2 J+ b& S! Q! O
  36. GetDriverFunc=getSQLDriverMYSQL
    % d: N4 t, I7 {; g. K* T: X" S' A
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib4 ~. G- j, _% b3 `7 L4 V
  38. LibraryName=path_to_libsqlmy_libary
    , U7 K2 S7 r' u/ f
  39. Active=1
    9 \0 _3 I; H8 s! H% W1 c3 V4 L
  40. ---cut here---6 G1 k" q$ y, @; O0 R! v
  41. In my environment (a linux box with a MySQL server running locally) I have:
    $ ^% S4 c5 x8 d. ?( J1 N
  42. ---example---
      a" ], M1 [8 o, E) d- [
  43. [DBEXPRESS]
    . o- C4 \- ]; \8 c$ i' h$ F
  44. sqldir=mysql_sql
    8 D% z7 A! A; T+ P3 ~
  45. Drivername=mysql6 ~4 _% G/ f) s: o6 Q8 m
  46. Database=test
    0 y* e9 o* Q( n( X: Y9 J( c
  47. Hostname=localhost9 [9 y' }3 ]. `) p0 n% T
  48. User_name=testuser
    , ~: o7 ~6 H9 S3 _$ R8 h
  49. Password=my_password' a% T7 Y5 n) l" a7 n7 j: r# i
  50. GetDriverFunc=getSQLDriverMYSQL: u" [' I7 i/ E; |3 H
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0" C+ y3 i9 U: L" w
  52. LibraryName=./libsqlmy.so, @% E; U4 M! c5 k
  53. Active=1
    / k5 Y$ d( d( V- L) e8 N
  54. ---example---! `& u- o6 i& ~$ n# \7 l" w7 a1 u

  55. ) G3 [9 G$ E9 H9 N0 N  A
  56. On a windows box, also running the MySQL server locally, it would be:8 B, K/ \* m6 r
  57. ---example---
    / Y, n$ Z+ t- O# i+ }3 [
  58. [DBEXPRESS]
    9 r' d( v, l$ [
  59. sqldir=mysql_sql
    ; w2 x$ k; m8 R, K5 Z  L1 F
  60. Drivername=mysql5 z9 W- `1 x  \! F9 |3 v1 T
  61. Database=test
    : a) C' S" @7 h# y
  62. Hostname=127.0.0.11 o* R# `* n7 a1 }( I# u
  63. User_name=testuser
    0 |5 }# ~3 f9 ]4 Z' z6 J& C4 m- T
  64. Password=my_password
    0 M3 r2 q9 I3 D0 p! F5 c3 o: m
  65. GetDriverFunc=getSQLDriverMYSQL* I7 d$ b6 f/ ^0 q6 A( `3 t
  66. VendorLib=libmysql.dll
    # q. K0 \6 C7 m0 }' K4 S) j: Z$ q2 K
  67. LibraryName=dbexpmysql.dll
    1 C" M) H8 s, \* F' Z
  68. Active=1
    - \. K# s% m" X4 d3 i- {
  69. ---example----
    6 R+ ?: L) |6 l: B- F; I8 d$ Z$ t
  70. - written 02.03.04 by pwk.linuxfan
    2 T9 P. k( d: N4 F% Y

  71. ; `: R/ }% c+ t8 m* Z6 b5 d0 K% J
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看3 p2 v) N$ n$ H" U; E9 |
  1. 0 [- H* h! ^+ }9 q# G! i9 u
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    & S% ?" T9 f# l+ F4 w
  3. 0 k7 R& k. o' @$ t( u
  4. # # #我们所需要# # # 1 B: m* A/ v0 c3 k$ Z7 y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    % X/ b' Z" K3 h' B2 Q0 S4 X+ x
  6. 不会解释如何做到这一点-也有文件存在,为0 V5 r, N5 ~/ R' v
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用/ b6 k' q. `# v0 w  S# o
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ( f- W( Q/ {( j  [
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    0 M% q6 Q! ~4 R
  10. 本地机器,这是我的MySQL安装。 - {2 l; u$ R& K* ^+ \6 P! W
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    % G- z7 G' o( F6 P0 [# C/ \
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 2 Y" X  D' K3 H
  13. 数据库。
    9 |* u  B: W) @# T: l' h3 q2 o% z" v
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    3 R& r* L7 F$ ?& M% ^4 W
  15. 编写本报告的时候,仍然有太多的问题-检查现状1 C: m/ E, w3 E( D8 l4 s  G
  16. 在teamspeak论坛,如果你有兴趣。 2 D. L+ s2 T6 j/ t  ^$ r9 i% \$ N3 E  F
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 }) I6 S; q6 {9 `' i7 I2 d
  18. Borland公司使用。这个司机只能界面与客户端库. V# e1 c& U4 H, i' x
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这8 ^* A: {4 r" B: r! u2 k! D% h
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为3 y% ?, ~( J  J& D
  21. " vendorlib " ,并解数据库连接。 # ]7 `% X* Q0 W
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 - q4 N2 C9 s# o6 o  ~7 z5 `, R! X

  23. , }7 e% V& v2 w1 B2 \7 m6 U
  24. # # #做好工作# # #
    + n) f, h8 k3 U6 E3 F# p
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    7 I6 c5 }) ^) K4 q. r
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    6 S3 I* E' }- _8 i
  27. 结束: 4 V2 h" t" O9 H8 z% l
  28. ---削减这里---
    6 D3 w0 F& y9 u, r7 z% N: f
  29. [ dbexpress ]
    % h. i" `" k. S3 K3 I! S' W
  30. sqldir = mysql_sql
    2 E2 w" a/ S5 E$ m- b+ l8 w
  31. drivername = MySQL中
    5 q; R! _7 I7 |% h
  32. 数据库= your_database_name_here 5 b# P4 b6 I) I2 ~  W
  33. 主机= the_pc_the_mysql - server_is_on ' J( R: s- F4 A0 H2 M1 F# o! R4 c: u
  34. user_name = user_name_on_the_mysql服务器
    2 \3 s8 _+ L9 ^! E1 G' ^' x
  35. 密码= password_to_go_with_above_user_name 4 ^% J8 G2 E  Z+ y& T% @; [
  36. getdriverfunc = getsqldrivermysql
    ( Y( C! y' S8 D" x$ F$ k
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ; Z/ V6 }6 ]% ^
  38. libraryname = path_to_libsqlmy_libary * W  l  H- B1 i$ P
  39. 积极= 1
    1 K7 ~  w5 h9 y
  40. ---削减这里---
    * T" e3 L$ u: {% |3 B
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    9 |0 i9 L8 c% W( J& A  X; d
  42. ---例如--- 1 P( l- g5 ]& m! A) l
  43. [ dbexpress ] : W, F+ O) ]8 ~/ B7 T/ P
  44. sqldir = mysql_sql
    2 M6 I& Z+ Q! F: A% h) l
  45. drivername = MySQL中$ S% s0 P7 H" F$ l
  46. 数据库=测试- c; b7 {* j) o
  47. 主机=本地主机) b) T. w$ P: R1 h  b
  48. user_name = testuser
    6 e0 k4 u( m) {* ?, R
  49. 密码= my_password
    * n. Y; ~7 u9 w/ @
  50. getdriverfunc = getsqldrivermysql & p5 F& x8 Z( Y7 h! ~% G
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ; S; [8 s# @& X+ ^4 _% m3 M
  52. libraryname =. / libsqlmy.so 0 K/ m" W- h: ?/ @- n
  53. 积极= 1
    6 f4 R5 W# R+ {, L4 J9 A
  54. ---例如--- , z9 Y7 ?. r' G

  55. + H: @* k/ N5 w
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ! e) _2 L; H! W" E
  57. ---例如--- & U  d6 Z/ x* L( i9 q* H
  58. [ dbexpress ]
    % @3 f' u6 u2 Y8 H, h0 o$ B- \
  59. sqldir = mysql_sql # E4 L) ~) Y$ ?+ l6 d9 C
  60. drivername = MySQL中
    / _' N- _9 j4 E8 z+ D. G4 q/ W
  61. 数据库=测试, N! v: f8 Y5 ?+ q) ?7 O
  62. 主机= 127.0.0.1
    6 z* R1 |4 i9 W) R4 O% @8 @
  63. user_name = testuser 3 m0 v) ~# Y% f3 |: K
  64. 密码= my_password
    8 y+ `9 f! C2 ^2 z: }7 V& X% q
  65. getdriverfunc = getsqldrivermysql
    0 e) c! X. [( O
  66. vendorlib = libmysql.dll在: F" \! d; w! f' I& J( u  L8 U
  67. libraryname = dbexpmysql.dll ( _2 Q6 R7 U2 k
  68. 积极= 1
    ; i: S+ w  V. b0 v, O
  69. ---例如----
    % @2 I0 {/ M$ g8 N" T; J7 d6 c
  70. -写在0 2.03.04由p wk.linuxfan( n; x( S6 b. j$ n9 ~" `
复制代码
发表于 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 words3 a0 J2 D8 Y! k  y

, Y' c( C9 s6 N' x+ Xbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-26 16:53 , Processed in 0.095040 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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