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

2346 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
2 ~( {9 i8 [$ B9 o+ ]' I( b, ~$ s0 N) a
  1. 5 `; N2 e4 Q! J' K' A. q% r# ?& H
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######8 D- r3 R  A: L2 X# f' ?1 L; ~9 @

  3. ' f/ B2 f! D, Y
  4. ### What we need ###
    , T8 `0 `' w2 g! z% i
  5. Naturally, we will need a MySQL server to store the data for us, this document
    - _% O8 B7 X+ Y9 b3 s" ]1 r
  6. will not explain how this can be done - there are documents out there for the
    $ c( h" d1 g, z3 k5 @' _& m' ?
  7. interested. The requirements include a (empty) database for TeamSpeak to use2 z6 p( r' p' Y
  8. and a user account (username + password) that has the permissions to do stuff) i5 ~, N$ Q' N, o4 M
  9. with the database. Additionally, you will need a vendor library installed on the! Q6 q* A7 \3 V& T
  10. local machine, this came with my MySQL install.$ r3 y* T! x. c5 n; T) ~+ E
  11. These instructions will not tell you how you might transfer your data from the% o( J, [, X- B
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL8 A3 F0 Y; F' Z" v3 s& k0 _
  13. database.9 K. m9 E# Y+ f- o
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    7 N. f8 C" d0 O* c
  15. the time of writing, there are still too many issues - check the current status
    7 N; V# |. O. h( J; X# z9 g
  16. in the TeamSpeak forums if you are interested." a2 ^# s! j4 |0 F4 [" e/ c) Z1 p" k
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    & {) U4 S# q6 O- B% z# ~' l
  18. Borland was used. This driver can only interface with the client library that
    , s, Y8 B& N- U
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    - U" G, G% g; e, Z
  20. client library - basically all you have to do is to use a 3.x client library as
    2 g1 K1 l% Z- @8 l
  21. "VendorLib" and a 4.x database to connect to.* j" H  `7 m  t2 R/ \
  22. If you need more info about dbExpress, you can contact Borland.' X) B& v: O0 S

  23. 7 A9 C& J' R5 j5 F+ c7 m
  24. ### Doing the work ###8 _. |: u: k2 p
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    0 e0 O! E8 ^% \4 w& I
  26. the perquisites right, just open your server.ini file, and add this section at
    " D) Y0 Z% n* j: N
  27. the end:
    ( @  O. Y$ h( f! c: q2 x) A
  28. ---cut here---7 K& F7 d# O! E9 t0 I" P, \; o
  29. [DBEXPRESS]& t. P+ |4 m7 L# L" E/ E- r. b
  30. sqldir=mysql_sql( w, Z1 @/ _: ^5 t0 o
  31. Drivername=mysql
    ! W( C  H1 G* n1 @7 h
  32. Database=Your_Database_Name_Here/ d, e+ U' |4 Q2 ?
  33. Hostname=The_PC_the_MySQL-Server_is_on* f4 S, i" ]4 i
  34. User_name=User_name_on_the_MySQL-Server- N& `* k$ O: [& d7 M6 T' {' J
  35. Password=Password_to_go_with_above_user_name
    # f& Y2 ~! }# k
  36. GetDriverFunc=getSQLDriverMYSQL
    ' f4 E- Z7 |$ ?9 c. p( L  g
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib+ E6 t# @  M# p! A" t2 j& g
  38. LibraryName=path_to_libsqlmy_libary: }7 u( H4 b' F/ l4 s. ?+ G! T
  39. Active=1& N: m6 I, L. D! [) D. g7 c1 o' P
  40. ---cut here---
    9 Z* e3 L3 C2 K: [8 G
  41. In my environment (a linux box with a MySQL server running locally) I have:
    - p: {7 n* L6 ~6 M0 T: M
  42. ---example---# V- q: A8 Z0 J$ K
  43. [DBEXPRESS]/ N' L8 e/ V! M: p
  44. sqldir=mysql_sql+ \* a9 Q; w' |' P2 j- @4 v
  45. Drivername=mysql
    0 R) J+ P* r1 a
  46. Database=test  t" M- L% o% O' g: ?% @* s
  47. Hostname=localhost* }! d! Y" V5 r/ ~
  48. User_name=testuser! G" j& Q9 E% C. V/ k
  49. Password=my_password
      f& [  H  o0 j+ f" H8 t; R
  50. GetDriverFunc=getSQLDriverMYSQL) V3 @& R4 r& C, ~6 {5 V% }* l' f
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.02 a, i) {  C' }. c" r+ g3 D
  52. LibraryName=./libsqlmy.so
    2 U7 t) u: y$ D' y; z
  53. Active=1
    . ?' m- f4 l+ i# z* e) i
  54. ---example---
    3 u/ o: ~8 M2 [8 u
  55. + Q" f. m/ i% `7 f5 }: o3 O
  56. On a windows box, also running the MySQL server locally, it would be:4 z( J3 i& C" X  W) d- E& N/ q. [
  57. ---example---
    & J% I" L' V3 ]: e. E
  58. [DBEXPRESS]5 _* M5 ]( O% r/ T
  59. sqldir=mysql_sql$ x6 f/ m0 q% b
  60. Drivername=mysql$ a8 f& W' |# R1 K* f+ g1 {2 d
  61. Database=test
    7 i8 S: }3 K0 _3 v4 B+ n6 w8 c/ n
  62. Hostname=127.0.0.1) F1 I, L; e6 @4 T9 b
  63. User_name=testuser) A  U. m. D( o$ |+ ]: |, S
  64. Password=my_password( _% ~( R- f0 r" z8 q/ G
  65. GetDriverFunc=getSQLDriverMYSQL: I# U. s8 H6 G: p* ?2 j: N
  66. VendorLib=libmysql.dll
    $ @; U" w- ~6 d
  67. LibraryName=dbexpmysql.dll
    , [1 h) j0 ^2 y' z* O; o
  68. Active=1
    9 `3 D1 Z( ?2 s0 q2 {8 u& D
  69. ---example----3 C- y$ U: r' ~- I! f+ n
  70. - written 02.03.04 by pwk.linuxfan2 n  F& P0 X' B8 t' l1 Z$ Z

  71. / u. C% d4 k) K( U" R2 a. G: o
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看  E. x. [7 T2 E- b6 R( l
  1. % ]6 E  q. I: S* t' G
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    . H/ i6 D) H  G) L4 R

  3. % n9 P0 R: O- {0 Z
  4. # # #我们所需要# # #
    * w8 I* R! v9 v# d
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件- r* G- m- `. E2 O
  6. 不会解释如何做到这一点-也有文件存在,为3 K; f" X9 a9 I/ W  |4 S
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    3 w& V8 ?. j! I/ [, X' W, J8 v2 d
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    & n+ X$ H$ p6 s- w% W
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    # ~# u, n. Y3 L/ T1 R
  10. 本地机器,这是我的MySQL安装。 / H$ {! Z) n9 E) ?' ]9 }2 Y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    " w" ?4 E( a  l- v1 P  H- i1 }
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 3 C# j! x8 i1 G( W( ^* N
  13. 数据库。
    0 x* W: S) |. I! H
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    / V4 V: e: ]+ a! `
  15. 编写本报告的时候,仍然有太多的问题-检查现状$ G8 p8 X( R( z
  16. 在teamspeak论坛,如果你有兴趣。 2 L6 N7 Q  g8 s) @; _' D/ F
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机% y+ Y3 A. a5 b0 N- ~
  18. Borland公司使用。这个司机只能界面与客户端库
    1 u: h$ v0 `6 T1 l, y0 B9 J* i% k
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    / \6 K, |4 V, L) n1 p5 r
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    * X' v, c/ Z7 l
  21. " vendorlib " ,并解数据库连接。 5 Y' x  L! C, U5 m6 O# L/ h
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    7 G+ G' ]! l7 L! D

  23. , j, y. b7 T, c; ]: F# U+ v* D
  24. # # #做好工作# # # 3 C* {  b" N7 e
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    . P6 W( _# q% E' I7 T
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    & x' ?8 d4 L% k$ Y- ^6 l* o! w
  27. 结束: ! K, B* K% d& J$ O
  28. ---削减这里--- 9 m9 U1 m. E6 G# q4 R
  29. [ dbexpress ]
    : {' J+ \* G- ~% R+ B1 z
  30. sqldir = mysql_sql 4 T2 {' n, a% I. ~) n; r
  31. drivername = MySQL中$ Y: L8 W' v- [/ n% t% J) W2 w
  32. 数据库= your_database_name_here   A0 B0 f& h5 D3 a% E, V
  33. 主机= the_pc_the_mysql - server_is_on
    * p1 r$ S  Y( [9 V4 v+ T0 O
  34. user_name = user_name_on_the_mysql服务器$ C/ ^4 w2 C. j9 N) d
  35. 密码= password_to_go_with_above_user_name
    : q0 }6 l1 P) |: n  G
  36. getdriverfunc = getsqldrivermysql
    ( @2 u6 \# _8 {% w4 z* V5 P
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    & S: R$ p8 e7 }$ e9 @# o
  38. libraryname = path_to_libsqlmy_libary
    / Z1 {2 ~0 S. V) @4 _
  39. 积极= 1
    2 Z( [5 }* [/ k8 i* Q8 U
  40. ---削减这里--- 9 ?* _* F: N4 _% I# x
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 1 J+ g. c; R( A# S
  42. ---例如--- / l9 ~/ ?( B6 U7 V! N! U
  43. [ dbexpress ]
    + P" E! ^9 O* P* k9 H0 ^
  44. sqldir = mysql_sql
    4 `$ `2 n9 L; J% f3 n$ A
  45. drivername = MySQL中
    / X5 L- D3 O( x* b7 g
  46. 数据库=测试
    ' B3 j. t1 r7 Z* h
  47. 主机=本地主机. g/ d" ^3 _7 y
  48. user_name = testuser
    1 h* g2 ~: W$ e2 q8 A$ V# Y
  49. 密码= my_password
    0 x9 J+ M5 A( {9 P& U
  50. getdriverfunc = getsqldrivermysql % j6 ^5 Q; c/ i; M% S" {( c, _- S
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 7 m/ H; a; V& c+ S2 |
  52. libraryname =. / libsqlmy.so 8 s/ F4 G- i) i: z8 l* ?
  53. 积极= 1 & r' A( \. e! u0 d6 z6 D2 P9 @
  54. ---例如---
    : ^5 t: M- V) A

  55. : k/ M+ o8 ]0 E8 B- Q2 d
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 4 Z5 h# C6 Q! u& Y# R/ L3 G
  57. ---例如---
    5 {/ Z% E1 l7 g& Z
  58. [ dbexpress ]
    % C, Y6 b& w  R8 Z- w8 j# i
  59. sqldir = mysql_sql
    + g7 `) B4 k6 }
  60. drivername = MySQL中
    ' l  P. Y% \, e" N8 [* Y" [6 L" b
  61. 数据库=测试
    ) w  u# f. P& I
  62. 主机= 127.0.0.1
    8 ]) j7 P- A' P1 h7 M
  63. user_name = testuser
    3 Z: W$ _1 S) ?. ?1 I' R; h# p
  64. 密码= my_password
    ( i: A+ q4 T, m& T
  65. getdriverfunc = getsqldrivermysql
    8 J; T1 d6 D& G+ ~, p) a
  66. vendorlib = libmysql.dll在
    . y/ p* W- A/ L, a
  67. libraryname = dbexpmysql.dll
    % e0 E; \& A: S" T. x1 {
  68. 积极= 1 ' Y( |- v! g/ U5 e" X2 f
  69. ---例如---- * d& Y( d  N0 N1 P6 t
  70. -写在0 2.03.04由p wk.linuxfan+ |0 Y, L$ w- x6 O. l# ^+ ^' ^
复制代码
发表于 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
- v7 l3 x' j- @# n/ L* b* C1 Y4 O. w8 M
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-28 09:25 , Processed in 0.111028 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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