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

2236 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan   Z0 P! j+ e# Y$ S- e
' e1 j6 L. M& ~! |5 O

  1. % J0 t- k) T5 b+ h# A
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######8 H- O! s0 r4 Z% Q9 o/ H1 l& K* s( p
  3. ; a6 o' V" P/ W- {
  4. ### What we need ###
    ( _% H: I; A  \1 c' x, s
  5. Naturally, we will need a MySQL server to store the data for us, this document
    5 V: y. E+ q+ Q; ]- z( y
  6. will not explain how this can be done - there are documents out there for the # I& c) v. S$ B
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ' `1 W; u9 X6 w
  8. and a user account (username + password) that has the permissions to do stuff* o4 u/ T- X9 H( O& |
  9. with the database. Additionally, you will need a vendor library installed on the( j2 q3 u6 d5 Z9 y5 r2 v1 Y
  10. local machine, this came with my MySQL install./ |6 C; p+ ]2 N  T
  11. These instructions will not tell you how you might transfer your data from the: N: R0 Q) ^0 T. v, |* i
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    2 d0 G7 d6 G1 l1 F: u7 ]4 {" ^
  13. database.& M0 T8 V" S+ L' P9 c" q
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    4 {0 S1 d# @' u* }
  15. the time of writing, there are still too many issues - check the current status
    & t8 w' U( ]' T6 u  H
  16. in the TeamSpeak forums if you are interested.0 M) J9 [. C, t/ l3 ?
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    0 w. {6 \' w/ J$ m7 L# L# p
  18. Borland was used. This driver can only interface with the client library that
    0 m4 z+ d! g8 p" p! r
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this" H( x5 M& \  S2 ]" N7 a
  20. client library - basically all you have to do is to use a 3.x client library as
    3 b3 y8 ]; a+ Z) |, ?7 y, D# y" b0 A
  21. "VendorLib" and a 4.x database to connect to.
    3 Y/ |% }% s6 z& S
  22. If you need more info about dbExpress, you can contact Borland.
      h8 {+ U5 y0 T  H# ^
  23. 4 `' ?) L( H2 A, i  _
  24. ### Doing the work ###! @! V2 W- I2 N. i! v9 w
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ n5 y; x) F( b$ L0 V: L- y2 |
  26. the perquisites right, just open your server.ini file, and add this section at
    ; H1 m/ \3 C! Y4 s
  27. the end:7 ]  f+ ^% @; z% f% u
  28. ---cut here---
    0 D/ a' }3 j* {6 l( g- S
  29. [DBEXPRESS], Y4 g7 ?; C% n7 y) g8 a7 D+ L
  30. sqldir=mysql_sql
    5 M; _9 @/ e" t. t
  31. Drivername=mysql
    1 X: Z7 j1 |  @9 a" P/ D
  32. Database=Your_Database_Name_Here( P* E2 P0 o- N
  33. Hostname=The_PC_the_MySQL-Server_is_on
    * ?3 S5 u1 C6 ~% Y4 b
  34. User_name=User_name_on_the_MySQL-Server% w: A& n, X) m, C: h$ r  [
  35. Password=Password_to_go_with_above_user_name4 \2 I' M  ^* L1 r: b2 [# p3 d
  36. GetDriverFunc=getSQLDriverMYSQL
    5 W( C- I: O9 |4 D/ M5 W
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    8 h; z5 K) s# Q9 O4 a
  38. LibraryName=path_to_libsqlmy_libary& l9 d, Q. Z* R4 f( ^# K% t( K7 J
  39. Active=1% A0 Q- s( k6 n3 H  A; ~
  40. ---cut here---
    1 g' F  r4 }0 H$ |, g
  41. In my environment (a linux box with a MySQL server running locally) I have:  {; _. D' ^7 a# n, y/ F) K7 e
  42. ---example---
    ; y. @1 t9 C6 ~+ y5 L4 d
  43. [DBEXPRESS]& W8 `7 H4 T- m) }
  44. sqldir=mysql_sql
    7 Y1 {& _, t; Z$ P/ L
  45. Drivername=mysql4 K  z0 q$ R4 {2 D: T
  46. Database=test
    - b! `& H) S1 u; v5 F, T) W
  47. Hostname=localhost* K7 |9 r. S* B/ _$ H: r& N( s
  48. User_name=testuser
    5 j+ K- H. r% @9 X8 C
  49. Password=my_password$ Z) j( D3 I/ n: P7 O
  50. GetDriverFunc=getSQLDriverMYSQL9 h, b) X/ c- k2 \4 n& ]  r
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    9 N/ b5 m% j  U0 A
  52. LibraryName=./libsqlmy.so
    " K) }4 G- u; O1 d4 ]$ G) `  q
  53. Active=1
    & u( U- ]% c6 ^
  54. ---example---0 V! T( `5 e& {. @- q

  55. 5 n- F. w0 g; c2 C3 h4 o1 D
  56. On a windows box, also running the MySQL server locally, it would be:
    ! x! n4 ^# z% E' t9 y
  57. ---example---
    ) H* g$ S; H; ~9 g* v  [
  58. [DBEXPRESS]1 |6 E: w% Y/ D5 E) p
  59. sqldir=mysql_sql
    - }; X" M  V" B; u
  60. Drivername=mysql
    5 g8 Z# N! I. T1 Z" K, I
  61. Database=test  S0 y+ |  g/ N  ~% I
  62. Hostname=127.0.0.1& f- V3 L! ^9 k- ^$ M
  63. User_name=testuser
    0 ]" G) `4 M0 l7 y
  64. Password=my_password' ~. O. c8 {. b3 n6 ~) I8 g0 t
  65. GetDriverFunc=getSQLDriverMYSQL) E6 {6 w- J3 _
  66. VendorLib=libmysql.dll# _8 ?% f% Y! H9 a- g
  67. LibraryName=dbexpmysql.dll
    8 o1 w; d( v' n0 z) E7 h) M6 @
  68. Active=15 \/ Q( l8 L3 D% w$ \
  69. ---example----) P( T; k4 s  l$ u/ s
  70. - written 02.03.04 by pwk.linuxfan" Q# g- A# ~- l2 {; L
  71. # S: @" d" y: X  d
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看/ H- s/ W- M# t: t1 z# w' E  b
  1. 8 z0 _0 I, Z1 I. q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### . ]% c  z0 e- v3 v8 G

  3. ! T6 F. {" T, }7 ]. C- ?' U( h
  4. # # #我们所需要# # #
    / m' e! s* o0 _7 J; P3 r' T, c
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件# c" j+ x1 C" n: j
  6. 不会解释如何做到这一点-也有文件存在,为
    ! [; m. x5 }# S% q6 f- O6 \: s7 `5 k
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    . U: A# A4 W8 S( }: t. u
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    & v3 d+ A% W$ n# H
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    + U1 ^5 l& [+ N, l! l
  10. 本地机器,这是我的MySQL安装。 - B/ ?9 F# U9 j9 X/ A: `) {& l2 q# T
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从$ \4 B6 V+ o6 L3 b! n
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL % G1 ~. _! E) k" c3 e) ?
  13. 数据库。
    5 M! y0 e9 |1 H- O% b: b7 I
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    4 ~3 H1 u/ D6 N4 l( S6 p2 @, ?
  15. 编写本报告的时候,仍然有太多的问题-检查现状& o; d" a8 k2 `- I6 |
  16. 在teamspeak论坛,如果你有兴趣。 3 Z1 r1 r( ]1 n3 t, ^
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机. j; h& P4 u& j$ m+ k
  18. Borland公司使用。这个司机只能界面与客户端库$ x' \5 l$ Y, l, B$ o2 ^
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    % X) w4 {8 b8 a. ~9 O: _
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    3 r+ v, P# `+ W& g! ^9 }2 c9 [
  21. " vendorlib " ,并解数据库连接。 ) c5 _' b) W, `' _5 n$ T
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    $ W! l+ Z0 R5 ^/ S5 Q- y

  23. 8 B- Q/ X+ p  D* q5 D+ z
  24. # # #做好工作# # # 0 h8 G! [6 x" ~! e/ Q; U) n' N
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    0 @0 t* z& D$ f2 L+ |- x* X
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在; U6 z* m; c4 N1 g
  27. 结束: : d5 d4 J9 ^3 l6 y. A+ c6 i+ y2 ]
  28. ---削减这里---
    ! l# t% [  ]- {' C  ~# M
  29. [ dbexpress ]
    5 Z  @. ~8 q9 r! Y4 R' X. t' L% S
  30. sqldir = mysql_sql
    & {0 c; j! [" i; w7 g" S
  31. drivername = MySQL中
    9 b+ t3 Y3 [: ]4 E- g) j/ @
  32. 数据库= your_database_name_here ) C, r! b  ?, A. V& l/ A7 b' \. }
  33. 主机= the_pc_the_mysql - server_is_on
    ! \8 k" x! B; Z! S
  34. user_name = user_name_on_the_mysql服务器
    + D  y3 X( B' j4 J
  35. 密码= password_to_go_with_above_user_name
    & F0 w( r/ Z. i# M9 P7 f
  36. getdriverfunc = getsqldrivermysql
    9 V  q, ]# r" S  j" r
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    4 ~. z6 i; L3 T* F1 v
  38. libraryname = path_to_libsqlmy_libary
    6 {2 x# y+ h0 o" w5 T: ~! C
  39. 积极= 1
    % a$ S1 y$ }- [3 L! Y+ `4 I
  40. ---削减这里--- 7 A; l4 t6 v2 [3 L; O# g
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: , S8 I6 y. k, ^9 _! I
  42. ---例如--- ; d3 q" i# v# E' J5 O6 P. U
  43. [ dbexpress ]
    6 ?( |6 W8 c/ {: N/ X/ m9 l" P4 ~
  44. sqldir = mysql_sql
    5 \- j0 v7 J* l4 J4 l
  45. drivername = MySQL中
    + |# a& x) k9 e# f
  46. 数据库=测试
    ; M, x2 T& u  z5 k
  47. 主机=本地主机
    ( N. c2 N  I: |8 N, ^
  48. user_name = testuser
    5 e( m. b# x, O. g
  49. 密码= my_password
    - x. ?0 k  w/ J6 ^# c( V
  50. getdriverfunc = getsqldrivermysql 4 N5 I0 R  B0 h- F6 F2 W9 R) x
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 + E: F7 {, m. M2 J6 O3 @1 y
  52. libraryname =. / libsqlmy.so
    0 T# U+ y  Q. j* W
  53. 积极= 1
    ! S; u9 u9 ]6 O5 {) I
  54. ---例如--- * ^2 q$ `( Z# m

  55. 0 B' J8 M, f4 ~$ R- z$ r
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    , n, N% o) Z5 R' X
  57. ---例如---
    $ b. Z( X. u+ l( v. J
  58. [ dbexpress ]
    + D% n1 h; Z, W# ^( I0 O
  59. sqldir = mysql_sql # a: ~- @" w, w7 l4 f
  60. drivername = MySQL中& J9 o+ @/ t2 H- H4 S6 w/ q
  61. 数据库=测试3 L) n4 ?$ f  ^
  62. 主机= 127.0.0.1 : x' H* v& a! Z% [7 V# P3 M
  63. user_name = testuser 5 W/ @' g! `9 K2 f# h: ?
  64. 密码= my_password ) ^7 j- v6 k9 o& E: y
  65. getdriverfunc = getsqldrivermysql ' B' \! @+ z/ i# ?* |" Z
  66. vendorlib = libmysql.dll在
    2 s$ k  B& E  C- R% D/ g% h+ G
  67. libraryname = dbexpmysql.dll
    8 Q, p- u+ G3 j/ ?
  68. 积极= 1 , z7 h( e9 I- H5 w# N$ }
  69. ---例如----
    2 x0 @; e. ]& P& b; _
  70. -写在0 2.03.04由p wk.linuxfan, m, D. _$ b. _: \1 g) j# E
复制代码
发表于 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
9 v1 t; y0 k# K6 |9 @9 u6 m$ {( C$ E" h3 g* d: N
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-27 12:26 , Processed in 0.091647 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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