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

2982 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ! y3 m/ l( @! f* [) {; \8 R

- r' t3 _; j9 Q7 q" g! Q/ u9 j
  1. 6 n8 w  W8 q# e, o2 w: r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######9 X% E& P1 W1 N1 v/ r

  3. $ ~1 J' ?6 ^1 c6 l. b
  4. ### What we need ###
    ' E0 [* h8 T2 J5 {1 z" p% h
  5. Naturally, we will need a MySQL server to store the data for us, this document
    + T  f2 T! q3 W
  6. will not explain how this can be done - there are documents out there for the
    ! i" x4 V. X4 \* h; B9 m
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    . r/ p5 p1 L, _* q" a8 M) B) h
  8. and a user account (username + password) that has the permissions to do stuff
    8 W* @9 S5 X8 N$ t0 {3 O
  9. with the database. Additionally, you will need a vendor library installed on the, g- i7 k  _0 p0 q
  10. local machine, this came with my MySQL install.( i2 O9 ^: Z+ @& ]8 d! M
  11. These instructions will not tell you how you might transfer your data from the
    " S/ v2 U4 l: M+ ?& F9 a0 k; t
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ! x" x  ^) @  c) I# k' I, _" k
  13. database.
    $ b, o; X7 J) ]* A9 J" w% y0 M0 N
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    : N* h* H5 k! O) y/ O, s6 `0 v8 D
  15. the time of writing, there are still too many issues - check the current status
    & A# I" V% K9 K. A$ @5 v7 a$ Q+ r4 H
  16. in the TeamSpeak forums if you are interested.
    " U6 b) H4 k8 ]
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from2 V3 z+ U: \8 _5 ?
  18. Borland was used. This driver can only interface with the client library that + L6 k  ^# a9 g" D2 Y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this# `  C  f6 U8 a+ h0 K
  20. client library - basically all you have to do is to use a 3.x client library as
    8 ]& F* P) ^5 C( w$ u! m; X  y, h
  21. "VendorLib" and a 4.x database to connect to.
    5 o3 p% e1 f+ s$ {- q% u* A
  22. If you need more info about dbExpress, you can contact Borland.
    ( S# I1 f* [9 r

  23. 1 H0 a5 D- `: r; D/ T
  24. ### Doing the work ###
    2 g3 d5 c( M) L9 a
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    % O; T& ~1 n$ |& a8 }
  26. the perquisites right, just open your server.ini file, and add this section at
    8 D! i* v: _) E
  27. the end:/ y" b0 {$ f" @$ [- V- v  G1 W
  28. ---cut here---
    $ Y+ d6 c9 a  x
  29. [DBEXPRESS]& \6 ^* A6 E  ?6 E9 C. m0 H! U6 S' n
  30. sqldir=mysql_sql
      Y: X( H9 z5 N5 F# {* U* C5 K
  31. Drivername=mysql
    5 `4 L$ V* f6 i8 j6 }( J4 _
  32. Database=Your_Database_Name_Here
    5 W) A% P" v* i
  33. Hostname=The_PC_the_MySQL-Server_is_on8 L: Z, w' i2 _
  34. User_name=User_name_on_the_MySQL-Server$ O5 s; \0 c  B, }0 \0 M
  35. Password=Password_to_go_with_above_user_name
    0 b5 |4 Q6 h8 O: X) s
  36. GetDriverFunc=getSQLDriverMYSQL0 N& o' T/ v' A+ t
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    / d( I7 e! l7 _2 S, i# {
  38. LibraryName=path_to_libsqlmy_libary
    $ b! U, A. `! |+ R2 C- l: |: O1 K
  39. Active=1/ D! `9 j! M0 E3 l7 w; j" E# `
  40. ---cut here---
    $ p* @) q. @$ }
  41. In my environment (a linux box with a MySQL server running locally) I have:# }5 ^3 t) C- W! ^% W* w
  42. ---example---( w& o" i' Z* J: X% [0 _) |! x
  43. [DBEXPRESS]: P% a) p" K+ m# T) V) M  T# I1 _
  44. sqldir=mysql_sql
    5 a6 \9 |. a/ n! Z
  45. Drivername=mysql
    " V* X; z6 l% c1 M
  46. Database=test
    , T4 V9 `+ P% f1 X5 L
  47. Hostname=localhost6 ]3 U2 i7 d2 L/ V
  48. User_name=testuser2 o% ]4 O9 F' F; V# _, ~( U
  49. Password=my_password2 K) k: L6 {2 D
  50. GetDriverFunc=getSQLDriverMYSQL6 X* s% ^% W) @  H- f8 T+ w/ e
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    6 H8 n; w  o9 u: u3 D# M
  52. LibraryName=./libsqlmy.so
    3 F) i  H3 S# l4 u9 s
  53. Active=11 I/ d0 Q# F, Z: w' _
  54. ---example---" b5 D0 b! h) K; o2 m& I9 p

  55. : E9 G* y  Y8 ^: z  f
  56. On a windows box, also running the MySQL server locally, it would be:
    4 P6 a+ G# U" X6 C! Z7 O
  57. ---example---
    " w# j2 w9 ?7 r( @7 p. k
  58. [DBEXPRESS]
    . N  K0 d/ I5 l% @2 D1 ^
  59. sqldir=mysql_sql( \) Y" r! I( p
  60. Drivername=mysql+ I/ q7 S- y5 K; c9 m& q  P
  61. Database=test# v0 l0 h# q! w* h4 ~* s
  62. Hostname=127.0.0.1  Y; a( x: @8 X2 s* ^. Y
  63. User_name=testuser: v; v# E; q7 e
  64. Password=my_password$ ?8 I/ G2 Z, O) ^# I% q) l
  65. GetDriverFunc=getSQLDriverMYSQL
    2 k3 s5 G  x3 ?0 f. Y
  66. VendorLib=libmysql.dll# ]/ |8 z" |0 n$ ~7 L3 I
  67. LibraryName=dbexpmysql.dll* Y5 d& J+ ~) W! D& j
  68. Active=16 f; r5 O+ @  E7 V* w
  69. ---example----
    . A2 _1 \( w5 H% b; ^
  70. - written 02.03.04 by pwk.linuxfan1 n5 d% \4 A, y; [& i

  71. 5 e3 r; w. B" x7 y; c% |6 X' j3 I
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看  e6 T/ e0 d" }+ b+ V3 r7 F' F  _) g
  1. ' |2 d. M% q. R. ?" v
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    9 O: V3 n8 a6 k
  3. 3 }7 s, ^. u* {3 C: D; F1 C
  4. # # #我们所需要# # # - L* L, Z$ }$ Z, h+ h" U
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    % a8 H, R" |3 B5 O' T2 G
  6. 不会解释如何做到这一点-也有文件存在,为6 f* c6 Z: P6 c
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用( Q8 D/ l1 K8 k6 P
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    : a, j" g+ Q4 J
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    & B  j9 V+ _2 {. }
  10. 本地机器,这是我的MySQL安装。
    2 {+ u9 q/ D0 |" B: |
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    2 Y% R* O/ E8 z3 b7 H9 Z5 M
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    8 \* @2 S5 n, @" ]
  13. 数据库。
    : J8 @. j# |5 [. Q
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在9 _3 A+ ^3 x" F. y' m
  15. 编写本报告的时候,仍然有太多的问题-检查现状, o2 F7 }' j" G" a  m  v
  16. 在teamspeak论坛,如果你有兴趣。
    $ ^! n! S5 i  u0 E* Q* u8 T5 f
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机/ `' I0 X# i, j
  18. Borland公司使用。这个司机只能界面与客户端库
      E* |, o# W' x& l0 j' _/ P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这+ y# H0 U+ G) g5 B
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ( q3 g6 X( L2 J
  21. " vendorlib " ,并解数据库连接。
    - c( r3 z* Y0 d* O( j# o  W2 X
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    * R2 _. y/ M6 n

  23. $ }2 M+ y3 F6 G0 T  g
  24. # # #做好工作# # # 2 W; A% I% ]+ a9 y# e0 c. D
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都8 [) ^# u$ {7 g8 X/ d
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    * ]8 e- A0 W) m( k* G( A
  27. 结束:
    " N1 N0 k3 U; I- m# E0 n' U
  28. ---削减这里---
    " _0 f" {& s3 S- ~; u8 r
  29. [ dbexpress ]
    6 o- `6 p* c4 z" B9 Z( a
  30. sqldir = mysql_sql
    . w6 ]5 e; p/ E$ T, b
  31. drivername = MySQL中1 l& f5 S. q% a. `7 Y- I
  32. 数据库= your_database_name_here   a  S* P: N  j
  33. 主机= the_pc_the_mysql - server_is_on ' ~  z& ]' `* }& h' y
  34. user_name = user_name_on_the_mysql服务器
    # D% h1 v' O- G
  35. 密码= password_to_go_with_above_user_name
    8 v" D4 B- _8 F
  36. getdriverfunc = getsqldrivermysql 3 p( L0 t2 R. x  n7 |' u( I
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    * U, L0 }) Y9 @3 J; R* Q- v
  38. libraryname = path_to_libsqlmy_libary 9 _8 [1 e1 K$ d# e6 ^2 r3 \: F* q" p
  39. 积极= 1
      i4 M8 u! h( ], d! t
  40. ---削减这里---
    5 R0 \: y8 f; r& @0 _9 D
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    5 E) X4 _8 I- L( {! m1 n0 d- ]
  42. ---例如---
    5 _2 q' y) d: ^& f9 ~( I: ^' H& E
  43. [ dbexpress ] 2 ^; t1 M+ ]6 i  z1 H' \$ t
  44. sqldir = mysql_sql : [; F6 L* I1 F* C+ L! r" _
  45. drivername = MySQL中& w% y4 n* q! ]. h$ z& q
  46. 数据库=测试
    8 Q. F- R7 h  E
  47. 主机=本地主机! h$ v/ j& R% ~$ V6 H- d  u
  48. user_name = testuser ( [8 M3 ^" l3 W* c( f# j' C
  49. 密码= my_password
    % V7 O0 i; o$ t$ f
  50. getdriverfunc = getsqldrivermysql 8 Z, b3 c& B. z2 D8 T5 E
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    # t( e' H2 b& O1 G' @
  52. libraryname =. / libsqlmy.so 7 i2 k) R% W7 N) Z! F0 y7 [
  53. 积极= 1 ; w2 h$ W7 g2 k# n" q
  54. ---例如---
    5 p) P  @! j# F; U6 {) Z
  55. ! `9 g4 f' E) i6 b9 ], f, d* H+ f: n
  56. 对Windows中,也运行MySQL服务器本地的,那就是: " ^# X5 W: I: E' X, ^
  57. ---例如---
    5 E, ^; Y% F! i% s( M- R, d
  58. [ dbexpress ] + g( r0 M# h, l9 n% C
  59. sqldir = mysql_sql . L) u! P* G5 n0 m
  60. drivername = MySQL中3 ]5 I( Q) n& U
  61. 数据库=测试
    % N6 a# L2 w7 {' D
  62. 主机= 127.0.0.1 8 \) R2 N1 u2 M
  63. user_name = testuser . J0 G' C2 v2 d) T4 C
  64. 密码= my_password 1 R1 ^* [* l5 q4 j+ K2 _: _( E7 i+ [
  65. getdriverfunc = getsqldrivermysql 3 A- T! G' P! f9 _) g' f
  66. vendorlib = libmysql.dll在
    $ w* `$ G( g2 a9 f  {' F
  67. libraryname = dbexpmysql.dll - H7 D3 [$ M7 \- F3 n
  68. 积极= 1
    ' {$ I+ }/ [9 y2 f; f
  69. ---例如----
    , W& R$ D. m; l. i
  70. -写在0 2.03.04由p wk.linuxfan
    / ~( P, i, G, b1 [- f/ i
复制代码
发表于 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& E: k- o" l8 h1 {

0 j* s3 F  ^& B! Dbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-5 03:53 , Processed in 0.099566 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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