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

2744 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
0 l; N& ^+ o; X. x6 H0 g0 l5 s. w- q* J( U
  1. ( P6 M# \  X" i8 X
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######0 f& _- w' L/ S1 l! d/ Y% b/ p

  3. " I" p7 c' \6 q: G- u
  4. ### What we need ###, \, m  {/ W5 j, \7 L
  5. Naturally, we will need a MySQL server to store the data for us, this document 1 D/ [& o; j+ a; o
  6. will not explain how this can be done - there are documents out there for the 2 q* F  R! {8 P0 L
  7. interested. The requirements include a (empty) database for TeamSpeak to use3 v, u" H; {$ K' u0 I, H4 s/ a; G
  8. and a user account (username + password) that has the permissions to do stuff0 l, C2 z. H2 O3 f3 m3 M
  9. with the database. Additionally, you will need a vendor library installed on the. Y% d- B6 }/ C( Y8 R" e
  10. local machine, this came with my MySQL install.
    # C' \+ I: x- M' y; S) t- T
  11. These instructions will not tell you how you might transfer your data from the* j1 n# v' |6 u0 k
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    - ~$ c2 a. o6 ^) \2 A2 ^' d+ _
  13. database.6 j" w- w6 q  T
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ! T) c+ y5 \, \4 F8 ]
  15. the time of writing, there are still too many issues - check the current status* g5 h* |8 x: p0 I! x5 X* m' T* g
  16. in the TeamSpeak forums if you are interested.
    8 o1 B7 q! c, O0 O
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    9 _- A, U  x+ ^$ A; T6 P# ~7 g
  18. Borland was used. This driver can only interface with the client library that
    6 q* @/ ?& x; C3 t9 r  n' `* G! F
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this1 l! j' j( j4 }, ~9 {# D& }9 `
  20. client library - basically all you have to do is to use a 3.x client library as % ]. T- K+ f# g# [! d0 w3 O4 j) f2 D% _
  21. "VendorLib" and a 4.x database to connect to.9 n) \' U% o, ?5 x$ K/ d  a
  22. If you need more info about dbExpress, you can contact Borland.
    / @3 ?0 f" x4 M4 x. L

  23. % p$ P3 c6 t8 W* k
  24. ### Doing the work ###
    ' j6 ^+ j3 r% c
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ ~7 v) S& y2 F4 }* `/ H
  26. the perquisites right, just open your server.ini file, and add this section at, @3 N5 I$ L( p% U; m4 p4 a
  27. the end:& o% G: Q9 C' V* ^! w1 K& R
  28. ---cut here---
    ( o5 H: v1 a1 r9 s! ~/ L& X
  29. [DBEXPRESS]
    $ _" U1 {9 ^' k% D/ u
  30. sqldir=mysql_sql
    ) T7 w: W, {* R5 ?6 G9 E
  31. Drivername=mysql0 r* L( Z. G. s+ G. k( p+ x
  32. Database=Your_Database_Name_Here
    ) \' I+ @/ e8 ~6 n7 f2 L+ I. a
  33. Hostname=The_PC_the_MySQL-Server_is_on  ^8 V6 ]0 }$ U) |5 e
  34. User_name=User_name_on_the_MySQL-Server
    7 o- h; s3 {/ F
  35. Password=Password_to_go_with_above_user_name
    8 K* V, |: g' l, v% T* B- q
  36. GetDriverFunc=getSQLDriverMYSQL7 Y0 Y) Q# T$ D/ e6 [. q* R7 p$ t
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    # ^6 e8 K& `% t% G2 V! a4 |) y) j
  38. LibraryName=path_to_libsqlmy_libary
    3 z1 E8 k2 T5 o# m% Q
  39. Active=13 p$ s3 w; F' s3 Y
  40. ---cut here---
      t3 s# Q7 P3 u; D
  41. In my environment (a linux box with a MySQL server running locally) I have:0 h. K( E% j7 U
  42. ---example---
    * |: @% q7 Q+ G( Q
  43. [DBEXPRESS]2 [# Z, {/ o4 T4 ~7 i
  44. sqldir=mysql_sql
    ( O) w7 O7 V( C8 Y/ s! }
  45. Drivername=mysql" Z& n% y3 ?" X4 x( `3 {7 Q) @
  46. Database=test
    6 G4 |4 [9 a# d' q. C. B' z
  47. Hostname=localhost
    " T- F( x$ \& Q4 Q2 _8 v
  48. User_name=testuser
    % b4 q/ B% Y" C, A8 R3 Z
  49. Password=my_password
    % F5 G( m: u; ~/ Y6 j# J4 R7 [7 v! R" ]
  50. GetDriverFunc=getSQLDriverMYSQL
    : L; d( p$ `2 j" L2 C  ^
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.00 ?" w& @8 o4 G+ }; r8 y# B
  52. LibraryName=./libsqlmy.so+ U5 @6 l! [+ O3 o* d
  53. Active=1
    & ?8 h, z! Y0 c2 e% \; H& M4 F
  54. ---example---
    8 J' f8 V, j2 M
  55. 7 n; x8 E  I' C& n
  56. On a windows box, also running the MySQL server locally, it would be:
    " x1 h+ |$ [' k8 O) I+ N# p% n
  57. ---example---* l$ p; _* R5 e
  58. [DBEXPRESS]
    & E4 u; z9 {2 c: e- E
  59. sqldir=mysql_sql
    2 O' G: _1 x9 o) c2 U7 H) P5 q7 R" M
  60. Drivername=mysql
    + e3 s3 z# e" e. r; c$ u! [8 c5 ~& p
  61. Database=test
    * i8 x  A0 `3 _+ y0 g
  62. Hostname=127.0.0.17 o+ K) P7 w# T. o' H$ \9 ?
  63. User_name=testuser) Y+ d' a% _2 _  }
  64. Password=my_password
      Q9 m" D3 O3 g# D% A* T  p& g' a
  65. GetDriverFunc=getSQLDriverMYSQL
    ( r: r# V2 u% P: V
  66. VendorLib=libmysql.dll: G+ N3 c5 t, n
  67. LibraryName=dbexpmysql.dll9 E& f- F0 |6 q( _
  68. Active=1+ ?( \2 C. G0 r8 C4 B
  69. ---example----2 x" c6 q5 C1 g
  70. - written 02.03.04 by pwk.linuxfan
    * I" x( S% ~3 i0 Q; N4 b4 Q2 ?
  71. 4 T) z! ]% n. u, F$ K
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
6 w, \( o: |5 }4 N. j

  1. . V2 S+ V5 f: a" |: V9 t1 t
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    * `4 K( b3 H$ y; E  @, S2 ~, B
  3. # f$ d8 |6 m! r  n0 x" g; V0 S
  4. # # #我们所需要# # # . z% v% o9 k( q5 w( D6 I
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件$ Q% T7 j+ H0 X4 K9 U  w8 e) J
  6. 不会解释如何做到这一点-也有文件存在,为7 c" B6 j8 S9 [( U4 |
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ) s0 E5 B$ E7 \) |
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    6 e; a; h$ Q9 N" _
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
      u; u; Z; @3 Z' Y" m9 Z9 K
  10. 本地机器,这是我的MySQL安装。 . R4 i' i6 U9 B8 v6 N$ q; n" A6 l
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从3 g/ R) @: d6 y* U
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ' P/ d7 H( p% o9 Y" e6 N0 U
  13. 数据库。
    % E' z! R7 n0 s6 N3 {
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    - I5 W3 G) s6 y% j, O
  15. 编写本报告的时候,仍然有太多的问题-检查现状5 b  |: O: A2 j2 l' H
  16. 在teamspeak论坛,如果你有兴趣。 $ Y' M2 x. @9 S, A8 R: O4 Q
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ( _0 n1 S6 L7 {/ S) |
  18. Borland公司使用。这个司机只能界面与客户端库
    ) T, r1 _: `) _6 m+ B1 P+ o% }
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    . |  {* q7 X; |  j) Z  e
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    8 b2 l5 }& i% h* Z8 \
  21. " vendorlib " ,并解数据库连接。 4 z* v4 P  A: X. b
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 , D" ?! e0 `8 b  Q

  23. - w/ J2 h8 v: w" q
  24. # # #做好工作# # #
    ) o; N; R5 @! O% {6 d+ m: R  d
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都8 @: r+ A0 v5 @  Z) i
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在6 G( w1 F7 ~, t% H, Z
  27. 结束: , t( A/ X& V# r, r- D- r
  28. ---削减这里---
    6 @  N* k. M! _
  29. [ dbexpress ] ; H  t2 U) v9 f; q0 P; i9 }
  30. sqldir = mysql_sql
    2 K' K* N3 K, K* Q
  31. drivername = MySQL中
    ; _( u8 b/ O7 M) h4 B
  32. 数据库= your_database_name_here
    $ b/ t  w0 a4 R8 n8 v; n
  33. 主机= the_pc_the_mysql - server_is_on
    " x2 q- l4 {7 B: \
  34. user_name = user_name_on_the_mysql服务器
    ; E& @7 F+ i4 f1 J) P$ Z; ]
  35. 密码= password_to_go_with_above_user_name / B! r% M( ?- v6 u: A
  36. getdriverfunc = getsqldrivermysql # d% y& C3 A: q* h$ L- n" |
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    8 S  G% P1 q  [/ y6 ^
  38. libraryname = path_to_libsqlmy_libary
    9 l- D' V( ]# m+ E2 ~
  39. 积极= 1
    % f0 r! O$ J" g3 C! a
  40. ---削减这里---
    5 E* Y  Q6 c4 c" T. l6 \
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    8 f; ^/ e. {3 F8 i2 A, R; E
  42. ---例如--- 1 s0 M0 O5 y9 M! V
  43. [ dbexpress ]
    : p% t# V/ U9 Z  f& R# b
  44. sqldir = mysql_sql 2 e/ ]+ h/ j' C; E/ ?% C. K
  45. drivername = MySQL中5 x3 R6 \& s9 w0 h+ }- n
  46. 数据库=测试
    7 G4 e3 G9 |  f# y' }/ r
  47. 主机=本地主机6 z  _+ M% h+ o- e
  48. user_name = testuser
    - U# h7 ~/ W) Z4 K% L. L& ]) ?
  49. 密码= my_password
    + ~  E$ S( P/ {: l" K) `
  50. getdriverfunc = getsqldrivermysql ! [5 I9 k8 U6 J+ G" M
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    5 Z: q4 K7 {; i5 }# }1 ]
  52. libraryname =. / libsqlmy.so
    4 z6 Z* z/ D$ h# g' h
  53. 积极= 1
    ) J6 X# C2 D" Z1 L- D' V. G( B; R
  54. ---例如--- ) T, N, |: H! l* g& F9 M. t

  55. 4 p0 P* L) C  z6 ~4 ]: n! h
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 0 p) x1 m4 h; b) Y% q
  57. ---例如---
    ' W: x9 k; Y* X
  58. [ dbexpress ]
    : H2 B# i8 I+ B7 H. k8 P; t' Y
  59. sqldir = mysql_sql
    5 z) W) D& O+ c5 l& w
  60. drivername = MySQL中+ r* E0 i2 C  K) a4 {9 `
  61. 数据库=测试
    7 b5 P* {6 e$ P0 c6 O6 {# j, x
  62. 主机= 127.0.0.1 2 b' M' q2 R* A
  63. user_name = testuser , R+ ]  I& Q' z3 y
  64. 密码= my_password
    2 I. \  T' E3 G6 j8 t: ~
  65. getdriverfunc = getsqldrivermysql : j/ _; r6 L  J( N% E
  66. vendorlib = libmysql.dll在6 b/ v8 J# V* f* ^# y
  67. libraryname = dbexpmysql.dll # T/ s0 F. w1 S! a( b0 ]
  68. 积极= 1 : V/ P, P$ M# e; M' {9 Q
  69. ---例如---- ; O9 o6 [. s8 Z, w
  70. -写在0 2.03.04由p wk.linuxfan
    ( U8 m  y5 O' N& m2 ]% x8 A" 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
# ^# Z& M8 r5 Q4 C/ ~3 Q5 z0 h" a! b
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-10 19:11 , Processed in 0.094755 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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