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

2869 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
. F2 _) k: y% F! j$ \' f
1 b0 y5 H7 P, J# f5 O

  1. 3 H2 B% M. D9 U8 O; ~
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######( P7 u3 `- o! ?4 V

  3. 2 w* ^: }! X( F) O, a# S& v
  4. ### What we need ###
    - C% K1 b2 C% ^. ~6 \
  5. Naturally, we will need a MySQL server to store the data for us, this document
    : w3 W. ]3 d" w. ^( `
  6. will not explain how this can be done - there are documents out there for the 6 ?. g' B/ e9 ]6 J2 ~- k( ?
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ) C: r/ m& @6 I2 D
  8. and a user account (username + password) that has the permissions to do stuff6 X! f- [, v9 U. t" {
  9. with the database. Additionally, you will need a vendor library installed on the/ w' J  G! {3 c! z
  10. local machine, this came with my MySQL install.5 E2 \0 Z) O; z& {0 T1 {
  11. These instructions will not tell you how you might transfer your data from the7 E: y& f2 H+ V, W! @; T
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    " V2 D) J4 }* G; X6 q! ~
  13. database.
    2 H% U; d! g0 j, \6 P
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ) E: R" p" `# e$ [
  15. the time of writing, there are still too many issues - check the current status
    / w; [( l) g& P, R. I/ s
  16. in the TeamSpeak forums if you are interested.
    " v) _+ [2 |- ?3 m$ y6 Y' b% O
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    : g; d4 {# E8 K5 h+ G; ~+ O
  18. Borland was used. This driver can only interface with the client library that
    1 E! ~. P6 d+ X' C
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    % ?3 I; ~0 A! X( T9 O% f7 e
  20. client library - basically all you have to do is to use a 3.x client library as   }. ^! ?3 v, r7 s- V! S
  21. "VendorLib" and a 4.x database to connect to.! s) ^6 `% q# }# ?+ s2 W
  22. If you need more info about dbExpress, you can contact Borland.
    9 k5 ~# Y% ~# N/ l  H% j$ H+ P
  23. 3 t7 n# `. Q% I: b& Y
  24. ### Doing the work ###$ O" f. r# i: d' @7 j8 e( s# C
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    : W) U9 \* {7 t! d8 q
  26. the perquisites right, just open your server.ini file, and add this section at7 G/ c# q! }& ?- J8 o. U8 J- z/ n
  27. the end:, V: a" R+ h0 z# R8 ]
  28. ---cut here---2 U8 X, e8 \4 w6 Y
  29. [DBEXPRESS]( d; F3 a+ v8 e# F
  30. sqldir=mysql_sql
    6 S4 g$ v5 Q& y4 B! M- m8 n1 j
  31. Drivername=mysql
    * F6 _) I) o) a$ w6 C0 J7 V
  32. Database=Your_Database_Name_Here
    9 @" @$ @; X/ L3 y3 A, b
  33. Hostname=The_PC_the_MySQL-Server_is_on2 L# E& ?1 V5 K' S. a
  34. User_name=User_name_on_the_MySQL-Server
    & @* P, u8 E; M+ _. c
  35. Password=Password_to_go_with_above_user_name
    5 A2 }0 v+ U; w) a
  36. GetDriverFunc=getSQLDriverMYSQL
    ) Y4 B/ f3 P3 w! u6 b
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib# K' ]7 V* x0 `) ~; c, g, d
  38. LibraryName=path_to_libsqlmy_libary$ G: w# B+ h9 |
  39. Active=1( W2 p/ |+ F% `/ [, q
  40. ---cut here---; s0 M4 J* D! s" ?: i
  41. In my environment (a linux box with a MySQL server running locally) I have:5 U8 ?" C! `* R+ y0 i$ g! u5 c
  42. ---example---+ L$ @0 P5 L2 V
  43. [DBEXPRESS]& k; z  v- y  [6 V" b
  44. sqldir=mysql_sql) v. h9 [5 U0 c0 S5 L- k
  45. Drivername=mysql
    9 o6 K  l6 U! ]! t$ e5 x
  46. Database=test! a7 R' i; U/ r! S# Q) }2 O- K1 e
  47. Hostname=localhost# s5 v2 ?5 R# c# G6 y# w0 \( I- U9 ^
  48. User_name=testuser
    . C# ]' [. i: r6 k2 Q) ?) T* A
  49. Password=my_password
    - ?9 O* E4 \' Q/ \
  50. GetDriverFunc=getSQLDriverMYSQL
    ; u; w# ~3 H% n1 W( F
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.06 I$ i) o  \1 d
  52. LibraryName=./libsqlmy.so
    8 X* @: A% {! A7 G/ X6 \
  53. Active=1# h! ^) ]5 s1 L* F- x- ]
  54. ---example---
    3 x" E8 \- O" Q: c7 z( R

  55. : n. t  M$ p: p5 v' d
  56. On a windows box, also running the MySQL server locally, it would be:
    8 y: d/ O& @" {# m
  57. ---example---: o6 l3 l! W9 t& R
  58. [DBEXPRESS]  k5 _, W- _' z) o2 v! `& u
  59. sqldir=mysql_sql# C% e; j3 P7 M" j- @& A6 W
  60. Drivername=mysql
    # u' ?# K. S/ R( `: e- K3 O0 w4 i2 ?
  61. Database=test
      q% c# p& T! s! V) ^" b* a
  62. Hostname=127.0.0.1( m, q3 }  [7 M" `6 a. I. i
  63. User_name=testuser
    3 k$ o; S' j# l* o0 K2 n
  64. Password=my_password9 c: `% F' X# i$ T) E% C7 Q. M
  65. GetDriverFunc=getSQLDriverMYSQL
    0 u9 ?+ m$ q* v0 i: T) _; C
  66. VendorLib=libmysql.dll
    ' M( ?; ?' I; h6 f
  67. LibraryName=dbexpmysql.dll
    1 ?1 ^! x* a* t/ X& R
  68. Active=1
    4 r4 o+ _; H; `7 L5 R5 K! u
  69. ---example----+ i; E9 \( [* k- y
  70. - written 02.03.04 by pwk.linuxfan
    $ h* v5 D, f* V5 c
  71. " v1 F7 y/ \0 K: t) x* x
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看4 ^5 F3 _% f  R
  1. * f% h" z. r0 R+ `! `7 v
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ; A; s5 d: p8 k) O4 p$ |8 d
  3. , ^- R; e4 h! O. Q' }
  4. # # #我们所需要# # # ! B( O& a1 ]4 O4 Z: x
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件  X6 A0 \' `; X; u& }
  6. 不会解释如何做到这一点-也有文件存在,为1 s! O8 q9 ^2 z! ?
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    8 r, F* [& }+ R5 f  {
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    . y: U+ f8 G/ Z
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    " S- a7 Q+ U, ?
  10. 本地机器,这是我的MySQL安装。 5 r4 m) I) `- r; d" u  z3 Z2 Q- g
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从" A0 m4 v* }  U; N2 K
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    0 a. j: C* W* ~! p+ k
  13. 数据库。
    % F/ @: H: |) m: @" ?9 G
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在& A6 s4 l% K' f' K. Q0 g
  15. 编写本报告的时候,仍然有太多的问题-检查现状, x; ?- t7 q; h% J0 v: Y" a
  16. 在teamspeak论坛,如果你有兴趣。 # W. V1 L: B3 `4 G8 C
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# f) u6 S: i3 S8 e7 B% R3 F4 C( W
  18. Borland公司使用。这个司机只能界面与客户端库1 Q& P2 m5 p* c8 P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这2 w' R7 d1 i  v" ]
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为" l$ z; t- N4 s, _: y
  21. " vendorlib " ,并解数据库连接。
    " ^2 q7 A- {- h& x/ I
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ) ^! a/ H7 ?9 P; ]! r

  23. ; T) `  I  s# d' m7 e
  24. # # #做好工作# # # % v5 E1 R' w) t& p2 g
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    # ]0 ~) B# f1 V7 N6 P3 ]
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ! v, U2 j5 u, N; S! e2 ~9 N, ~  V# {1 H
  27. 结束: 2 X: B9 w5 E3 V
  28. ---削减这里---
    ; s4 u( F3 V' g% C5 t7 W: ~0 m  m
  29. [ dbexpress ]
    0 a2 D3 q1 h9 d! k/ |5 p
  30. sqldir = mysql_sql
    # B/ P. d& v/ L# S
  31. drivername = MySQL中& W' U& c" n+ s. p( W
  32. 数据库= your_database_name_here   y  }  ~/ _# b0 F" G5 U8 z9 H5 n
  33. 主机= the_pc_the_mysql - server_is_on
    ' T1 }+ T/ O2 t  \9 `
  34. user_name = user_name_on_the_mysql服务器
    $ @9 ?1 J$ a/ ]0 {
  35. 密码= password_to_go_with_above_user_name - `8 N" K9 z# K7 C$ h* g% E6 I3 m1 e" ?
  36. getdriverfunc = getsqldrivermysql ; e3 c( G7 l" @9 H# j
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ' x8 l: \, }: v! v
  38. libraryname = path_to_libsqlmy_libary
    # `: D4 O  z& \9 _$ b6 w
  39. 积极= 1 & t  n6 n  u' |! A# K+ U
  40. ---削减这里--- ; Y3 O; }9 {$ _$ C% I
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    3 e6 k+ C" V1 [, C& V3 ^5 l2 s
  42. ---例如---
    ; U7 z. B4 \$ p- }1 p1 W
  43. [ dbexpress ]
    9 p8 A. |1 C) y
  44. sqldir = mysql_sql : Z& l* @) E6 D$ \2 H# n6 G
  45. drivername = MySQL中
    $ f' \9 T( @5 @  L. p
  46. 数据库=测试
    ( v) H: d' @# G4 k: A
  47. 主机=本地主机
    , E' ]  q* }. v8 i0 ]6 F
  48. user_name = testuser
    + g1 s/ T' C# {
  49. 密码= my_password " k% C& F! ]( Y' Y
  50. getdriverfunc = getsqldrivermysql 7 H; h  }: n3 t+ d1 {' h& j
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ; {: @2 k6 g9 T$ g+ m. L
  52. libraryname =. / libsqlmy.so
    . y( h( j5 Z; ?$ I2 A9 F2 X
  53. 积极= 1
    * u1 C' ]- e& w
  54. ---例如--- 5 \9 t, p8 f; }% {3 S

  55. % s. Q" g: f9 D/ O2 \- k6 X5 x
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ! A' H( V8 Q4 _4 f; Y* ?% W
  57. ---例如---
    + b2 t7 ]* Q0 }1 S. M1 {
  58. [ dbexpress ] % |! E* a! @/ c5 T# t
  59. sqldir = mysql_sql ' A, S9 S% o9 o( X& q% N* h, k
  60. drivername = MySQL中
    : s, D: O& z3 B0 C8 j/ R+ H
  61. 数据库=测试
    6 s% K* D; L5 _* u. J5 y; X) d
  62. 主机= 127.0.0.1 # Z) _/ A2 u1 n' |
  63. user_name = testuser ; m: U9 j% Y5 U) d# T/ w# C7 [
  64. 密码= my_password 9 b! T* I4 v6 S' e
  65. getdriverfunc = getsqldrivermysql / J, @, A  M5 {/ q+ V
  66. vendorlib = libmysql.dll在8 R1 s* j( M8 a. h" @0 N
  67. libraryname = dbexpmysql.dll
    3 k, i3 H/ b+ W% e0 e
  68. 积极= 1 3 C' U; }2 J% g
  69. ---例如---- 5 u/ t0 r! A3 w1 Y' d
  70. -写在0 2.03.04由p wk.linuxfan- o! I& V# G4 X7 s- [) r# I1 [
复制代码
发表于 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 o% P* W3 B" m1 P+ l; f
2 d6 g' |& q2 ?9 y; hbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-10 03:22 , Processed in 0.108934 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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