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

3006 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
; I, t/ h' i+ R  `. Y& j8 ^4 Z' N% M; X1 ]" A, W/ q
  1. ! p% ]& j3 t( j
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######1 f& G) P+ A! A$ w

  3. 5 o6 z1 N8 J5 n. Z
  4. ### What we need ###. E# O8 ~) D4 B9 J
  5. Naturally, we will need a MySQL server to store the data for us, this document
    " X- Y+ J5 f1 U( ?
  6. will not explain how this can be done - there are documents out there for the $ q8 @5 K7 k0 K8 X7 J
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    , m: G$ ?' v* x4 ]9 f/ }4 X
  8. and a user account (username + password) that has the permissions to do stuff5 S) w: p2 H+ S, T! Z9 `6 v
  9. with the database. Additionally, you will need a vendor library installed on the8 i$ c# }" K& s3 ]: W$ W" f
  10. local machine, this came with my MySQL install.
    * v  ]9 p' s+ {7 H4 B6 u5 t. P1 a
  11. These instructions will not tell you how you might transfer your data from the
    2 d; b4 L2 U6 z) S1 q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    & K$ ]& ~* ]: ~; H2 M( d
  13. database.
    $ x3 r  e1 s0 A2 t
  14. Some users have reported ways to import a SQLite database into MySQL, but at: F8 r. C7 f1 H/ c1 y
  15. the time of writing, there are still too many issues - check the current status4 G8 d: U6 U7 Y* Q( }2 g8 j
  16. in the TeamSpeak forums if you are interested.( |5 f2 s9 |6 r8 G) j) j; s! h
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from9 R6 A  U- V6 y' p$ A. L% o
  18. Borland was used. This driver can only interface with the client library that ; h. t6 W- l  J* d: _% x- d) u' m5 [
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this, s3 e! R) G* h/ B
  20. client library - basically all you have to do is to use a 3.x client library as
    5 A$ ^% B9 t  K! A, t
  21. "VendorLib" and a 4.x database to connect to.
    * q! A6 n# m6 K+ q
  22. If you need more info about dbExpress, you can contact Borland.4 U5 d& \. L1 ^- Y* U

  23. ; X  j" t2 R% q! {% w" k
  24. ### Doing the work ###1 A' Z: ~$ O/ w- b; X6 U) O
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all* c1 W3 v* m# J: T+ D8 [8 D
  26. the perquisites right, just open your server.ini file, and add this section at
    / b* L% r# N* y+ j
  27. the end:
    + c4 w4 ~) {& x
  28. ---cut here---: \& T- ]* p9 q$ D& K: ]
  29. [DBEXPRESS]
    ! P/ w6 z+ ^$ f
  30. sqldir=mysql_sql& ]/ Q, ]. M- _, Y
  31. Drivername=mysql, M$ O3 }5 l, j; J9 A. v( v5 _
  32. Database=Your_Database_Name_Here
    9 A$ i0 Y! ]) W* T7 d
  33. Hostname=The_PC_the_MySQL-Server_is_on
    * Y5 ^* B+ c+ s9 P: M8 ?! j4 {$ O
  34. User_name=User_name_on_the_MySQL-Server+ X$ X) N% `5 p9 ~% W9 g1 H
  35. Password=Password_to_go_with_above_user_name
    ! a2 R6 u3 F" Q) T( k
  36. GetDriverFunc=getSQLDriverMYSQL
    2 }* u% m- e# ?5 M$ \- t! B
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    + H# f$ G, M0 f' f# c+ T, U
  38. LibraryName=path_to_libsqlmy_libary
    : Y( |0 U3 _0 B: \. l( H, z* w
  39. Active=1; Q2 z0 d1 N0 |5 d* u: I! t6 u
  40. ---cut here---$ b3 I: F7 U, x' Q3 z* J& `# s* x7 N
  41. In my environment (a linux box with a MySQL server running locally) I have:. x! B% \( k  D
  42. ---example---
    ) c* ^" g5 \5 k4 P* o' _. H- e: G2 n
  43. [DBEXPRESS]
    # i$ a( F- h( `7 X. b
  44. sqldir=mysql_sql
    / j; ?; a( ]' f0 l. z& W* @
  45. Drivername=mysql
    ' d* F% u4 z$ x
  46. Database=test2 h  Z3 T6 V% S' N3 v
  47. Hostname=localhost
    + h$ r+ b. Z/ y8 T
  48. User_name=testuser
    3 x3 C' {2 Y! e* M& C  C
  49. Password=my_password- W' k7 W2 }7 j% [7 H/ H% }: ]0 Z
  50. GetDriverFunc=getSQLDriverMYSQL
    6 e) n" V$ _$ w, `: H" E4 q* v0 a  l
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    6 x. {0 O' B( s: G" y/ f
  52. LibraryName=./libsqlmy.so
    3 o0 O) Z* d5 i5 |# ~; u
  53. Active=1. c. s7 ^% l% j% z! d" y" S5 [
  54. ---example---
    $ L- m) x  A- q4 i* A8 R# s

  55. + [6 y" p, s$ N' C# u  P' W
  56. On a windows box, also running the MySQL server locally, it would be:
    7 T# v# J. V( C. O$ _
  57. ---example---
    8 _% L" R5 n0 y  z, l0 m
  58. [DBEXPRESS]
    0 s' g, s( s1 ~: }4 p4 f* o
  59. sqldir=mysql_sql0 n+ P0 n6 I( B4 I7 y
  60. Drivername=mysql
    % Y0 d: H8 u. B1 a/ ?" ~
  61. Database=test$ a+ ?2 }- A( H3 P
  62. Hostname=127.0.0.15 M: O8 V1 Y% E+ }4 Z( F
  63. User_name=testuser8 z" V- P3 }) L/ F2 [
  64. Password=my_password3 L  I7 V, Y0 |+ R! z- g- }
  65. GetDriverFunc=getSQLDriverMYSQL
    0 v) z0 d7 l! u  A* H
  66. VendorLib=libmysql.dll0 e9 V7 X. i- }" K
  67. LibraryName=dbexpmysql.dll. @2 n7 a4 y4 x3 B/ P
  68. Active=1
    " s8 m6 I! v$ c, C
  69. ---example----
    $ c" T8 ?- G- c5 v4 `! S+ K3 d
  70. - written 02.03.04 by pwk.linuxfan# u3 J3 J0 x4 x0 \

  71. - `8 e, d$ E4 \8 ]7 d' m( o
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看5 m1 W, T* O9 K  u" g

  1. 4 x5 M* R4 [7 {
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    / c( R) r) ]: f. P- U7 E
  3. - g9 L& H- ]: e/ _( {3 n: ?# H
  4. # # #我们所需要# # # 2 A1 k% V/ G- D" x
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件8 P  y6 o; D/ @9 b7 ^+ b
  6. 不会解释如何做到这一点-也有文件存在,为
    2 R% x0 N# y' I, K
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    2 h% n0 K/ p: q# s. F0 ?% I
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    # |0 L; _! l# }4 F2 h& [& Z7 _
  9. 随着数据库。此外,你需要一个卖方图书馆安装于1 J) W6 J5 Q$ @* w3 m) ], w& W* y, _
  10. 本地机器,这是我的MySQL安装。
    2 N6 S) `0 H7 [" l8 ^4 v
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ) ^6 h. `' F3 h1 I- c8 f3 l
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    9 T* |% n5 {6 y' v
  13. 数据库。
    ' R, }: [# H2 X$ a& l# w$ I
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    . }# F; R- U% B# L" V* Y
  15. 编写本报告的时候,仍然有太多的问题-检查现状0 N" N* a7 P0 k" t( A, j2 Y9 d
  16. 在teamspeak论坛,如果你有兴趣。
    ' g) G4 r5 o6 j6 y  B
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    " O0 x5 n9 b! v( Z
  18. Borland公司使用。这个司机只能界面与客户端库
    2 r; R8 _! j1 z$ i! e; l
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    0 d4 r2 V! i# P5 m
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    . Y  N, n7 m( m% e0 O2 @5 y
  21. " vendorlib " ,并解数据库连接。
    8 `" R! _" j! Q8 L0 B' B! h
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 % _( g# h+ v' p* {0 |

  23.   ^$ h; D9 G( L+ w& ^( k( d; i4 u
  24. # # #做好工作# # # : R5 C' z8 Z2 X" ]
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    7 K  X* u; b/ b( o
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    9 w, E% v% l0 h# g) p% ~, U5 Q5 ^
  27. 结束: - ~4 _  D3 o  L% j. [
  28. ---削减这里--- 2 {2 G4 T' U; u3 t
  29. [ dbexpress ]
    : L2 \3 {$ A+ k! `8 f# q( G
  30. sqldir = mysql_sql 2 O! v& @. S5 M- n. c6 _
  31. drivername = MySQL中0 u4 T  h- w2 z* @- |6 s
  32. 数据库= your_database_name_here : {/ w+ \* z8 o7 H( ]9 z+ Y
  33. 主机= the_pc_the_mysql - server_is_on
    / I# c, R9 X4 f
  34. user_name = user_name_on_the_mysql服务器  r0 t& @/ w5 X3 E
  35. 密码= password_to_go_with_above_user_name
    ' f* s) R3 |' o6 b& @; w+ V3 L
  36. getdriverfunc = getsqldrivermysql
      V+ |3 [0 t6 N) z* y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ' n3 L* |5 u# n: d
  38. libraryname = path_to_libsqlmy_libary
    ' Z8 }# F! m" f
  39. 积极= 1 ) h- n' M( V3 l$ X: p9 G& b7 }
  40. ---削减这里---
    # E' a7 z, O# @& s% o+ i) A( Q6 r2 @
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ! X) N- U  W9 C/ _7 H/ V4 ^
  42. ---例如--- ' _9 R  f6 ^3 d2 P4 O5 C
  43. [ dbexpress ] $ u4 U' u3 @1 U
  44. sqldir = mysql_sql
    , X4 [' ^9 b9 L! F) }
  45. drivername = MySQL中
    , j5 l5 {0 ~2 r  h% [
  46. 数据库=测试4 T+ O: j# f  |
  47. 主机=本地主机
    : I6 T0 ]9 z6 }0 h# @' Y& h
  48. user_name = testuser / Y1 g$ l+ ?- y/ r
  49. 密码= my_password " F* D5 d$ ?2 f2 y0 A2 ~1 a
  50. getdriverfunc = getsqldrivermysql
    ! A' q9 o: k+ Q* {# \
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    5 T; F. W) Y8 p
  52. libraryname =. / libsqlmy.so
    6 T! M) {, i/ s: J8 j* w4 U
  53. 积极= 1 & ]5 D% F1 e5 q1 n' N8 ^
  54. ---例如---
    ' V1 ~$ B8 M% J% x. _' [

  55. + r" y4 o* T7 P% Y
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    $ e9 U2 f& \0 x# `0 D  d
  57. ---例如---
    3 N, I: x, V' R
  58. [ dbexpress ]
    , {4 z0 N1 r# U9 ^% }( W* _# p
  59. sqldir = mysql_sql , Z( `9 u9 D2 C7 f7 y* z/ Z7 t5 F, g
  60. drivername = MySQL中
    5 }0 t2 S' h# }
  61. 数据库=测试& Y* p! F% J% _1 J" L
  62. 主机= 127.0.0.1 $ q5 j5 `. h! @$ E& j+ B7 C+ ~7 g
  63. user_name = testuser , O8 D0 A9 `6 l  T0 m5 m; P# x
  64. 密码= my_password / @$ j9 ]* ^5 u& ^- P2 C5 j
  65. getdriverfunc = getsqldrivermysql
    : ^% N$ j3 l/ ?! F5 R
  66. vendorlib = libmysql.dll在9 F* }' G- ^8 s# f2 A
  67. libraryname = dbexpmysql.dll 5 A, `; o. i8 ]; v# J- @' X9 W
  68. 积极= 1
    / Y' h4 K2 C, T6 ?
  69. ---例如----
    + e) B: t% Y/ @
  70. -写在0 2.03.04由p wk.linuxfan" z9 S0 t% O2 m/ u1 h% s: W
复制代码
发表于 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
# A. N# U( {6 c5 q; l, M" w+ k( a( x( i, [2 O9 X' Z
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-10 18:20 , Processed in 0.099013 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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