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

2302 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 6 V* v5 @0 G: a( D

3 g- ~1 K4 X6 p/ y& |) \% Z

  1. ) j7 @2 |+ L: w% {
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    6 h8 D6 W/ f2 s% m4 c/ n  v7 z
  3. # T* x# k' \1 k4 O9 d
  4. ### What we need ###
    * r/ v/ g$ N; z& f: z' p% n
  5. Naturally, we will need a MySQL server to store the data for us, this document
    7 h9 l- Z' c' m" V
  6. will not explain how this can be done - there are documents out there for the   ~0 o1 Z" a2 K6 h/ i
  7. interested. The requirements include a (empty) database for TeamSpeak to use7 M1 h/ S9 X, V& a$ \
  8. and a user account (username + password) that has the permissions to do stuff: \; W6 C8 B$ `/ V
  9. with the database. Additionally, you will need a vendor library installed on the
    # F) b" U- A+ _! I9 G$ G
  10. local machine, this came with my MySQL install.6 [# S2 C' g# h
  11. These instructions will not tell you how you might transfer your data from the
    # Q' {9 \0 G2 o3 q# \2 X# t* p
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    - }5 k2 ~$ N3 Q. D/ E) S
  13. database.2 v: E' I( r! M" X' |$ L* C" X& W& L5 i
  14. Some users have reported ways to import a SQLite database into MySQL, but at% U  c: G% k! l3 V
  15. the time of writing, there are still too many issues - check the current status
    & t# h% e. A  k  o4 j
  16. in the TeamSpeak forums if you are interested.
    $ p' R9 f% m  K( ]0 ?/ E
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    : z+ q+ K+ ]/ d: r- N- G' ~6 S
  18. Borland was used. This driver can only interface with the client library that - Y' `1 Y- S; P- V
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this9 i8 m: f' T# X* u' t# K$ S
  20. client library - basically all you have to do is to use a 3.x client library as . {1 D% d% F! ^- ]
  21. "VendorLib" and a 4.x database to connect to.% X5 Y& d1 o6 |, [3 ]$ w" {
  22. If you need more info about dbExpress, you can contact Borland.
    % H" t+ r- P7 s4 N

  23. * ^: x2 _) K% p7 z  B: M
  24. ### Doing the work ###
    : ]9 Z- v3 w0 K7 y* w
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    9 r) ]+ h1 u6 J4 w2 Z" q
  26. the perquisites right, just open your server.ini file, and add this section at6 L: g* L1 ^, O/ u- |6 Z
  27. the end:
    2 S5 }: Y# H$ B- \$ Z3 _8 N) X2 z
  28. ---cut here---* A3 ]$ ]6 l" H6 o6 m# c
  29. [DBEXPRESS]* {8 x6 t9 |- u5 h- @1 c9 z
  30. sqldir=mysql_sql
    0 R$ o( a2 _) v+ W7 N, J
  31. Drivername=mysql  ~& h3 U0 w7 J: e: j
  32. Database=Your_Database_Name_Here( Q; i2 [* A9 V
  33. Hostname=The_PC_the_MySQL-Server_is_on: s8 O$ i, z. C0 ~
  34. User_name=User_name_on_the_MySQL-Server
    : p2 i: ^# m6 H
  35. Password=Password_to_go_with_above_user_name
    6 q/ R# D7 e/ i. c3 b
  36. GetDriverFunc=getSQLDriverMYSQL
    4 s2 f* m2 u5 A9 h1 y" l4 W
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    + ~) q8 _8 \* ^/ `, \0 G0 K
  38. LibraryName=path_to_libsqlmy_libary2 u* j6 @& d4 _$ N% w. S: Q
  39. Active=1
    ' D: ^0 E% [( f& D
  40. ---cut here---
    / ?! H! F/ v' }
  41. In my environment (a linux box with a MySQL server running locally) I have:# P$ ~" m7 x% _% {) J
  42. ---example---# o5 X. ?* o6 ~1 z8 o4 c, S4 C
  43. [DBEXPRESS]
    + q: @3 D4 E$ u: A+ H2 N
  44. sqldir=mysql_sql
    ( ]4 \! {5 R  k1 O, Q
  45. Drivername=mysql
    5 K( G" h# C. W1 q) |* D0 i4 z+ Y
  46. Database=test
    ; a& p  {, d2 E, _3 P( l" b
  47. Hostname=localhost" L: T. K! B/ L' w6 d  D
  48. User_name=testuser7 c2 d  R) R2 m3 Y; ]& B* y$ v1 o' k
  49. Password=my_password
    8 i" j" Z* m+ }$ L0 o
  50. GetDriverFunc=getSQLDriverMYSQL
    & b* z# ?. J& e5 I+ o9 [' N
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    . t1 t- m" i3 Z7 Y2 {
  52. LibraryName=./libsqlmy.so
    ' F4 h. u: e# n# s5 R1 _' @8 Z
  53. Active=1! c& f9 f1 k3 f/ c' ]
  54. ---example---7 U* o9 C/ e8 T8 x; ^- J$ F
  55. . \' i  c8 y& f% n- Y
  56. On a windows box, also running the MySQL server locally, it would be:
    $ k( l9 Z* N2 i2 X& g* r/ ?. [
  57. ---example---
    2 K1 l! p" s  p! x
  58. [DBEXPRESS]' p& K4 i0 I: k$ a3 R. _3 f
  59. sqldir=mysql_sql, P1 E3 a  y( O$ M; l# T
  60. Drivername=mysql
    & T' \) v% i& g) O2 u2 X" w! J+ @
  61. Database=test! J2 {6 t. ]- E0 u; H5 f
  62. Hostname=127.0.0.1
    - g1 |! c. T% W' x, [, |* d
  63. User_name=testuser
    ; G3 a# y2 @, \5 Z
  64. Password=my_password1 x5 k3 b" l. @3 _" c3 u
  65. GetDriverFunc=getSQLDriverMYSQL
    ' E8 ^( i' K" B/ g4 G8 [1 ?8 K1 L
  66. VendorLib=libmysql.dll
    ( d8 d. M% t# i5 W  O# T
  67. LibraryName=dbexpmysql.dll; Q3 q- s6 ]3 q8 {" \1 J
  68. Active=1
    4 M. u( v9 p& h" B, }7 B
  69. ---example----+ e0 \3 F0 S, r9 e
  70. - written 02.03.04 by pwk.linuxfan
    5 ?: |) i8 y* p2 b8 y0 _( U# c. b

  71. & B6 Y3 d# q5 B5 E5 k
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
# ~5 e) w* T( c1 @& D) j1 L
  1. & r$ x+ `  ~& A2 c; _& \( j
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 3 t) }; C' |2 _
  3. . v# r2 j" o$ z/ r3 a' _! F
  4. # # #我们所需要# # # % {" D+ g. V2 q7 r. H
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件1 }& Y% p; R3 k* D
  6. 不会解释如何做到这一点-也有文件存在,为
    - j' j/ {7 b- W2 A% P
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    # I( V9 k2 b' U3 G$ L2 g1 `
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西; l7 W0 g2 C0 {3 p9 \. B
  9. 随着数据库。此外,你需要一个卖方图书馆安装于! T# H5 g5 D9 h7 k- u: G
  10. 本地机器,这是我的MySQL安装。 ! M, v$ `8 p" |& m& i
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从9 |8 `3 F0 m, {2 i, w& ^
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    1 b; I* Q1 ?  y4 Q3 V& g) D$ J
  13. 数据库。
    - q. M9 F( r6 l* J/ M
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在* Z- i4 M9 l2 j7 o2 k9 S/ X3 a/ ]
  15. 编写本报告的时候,仍然有太多的问题-检查现状4 O- W$ S+ P( y8 M
  16. 在teamspeak论坛,如果你有兴趣。 1 k8 O$ a4 g" \9 P
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    0 p- t2 E4 F* s
  18. Borland公司使用。这个司机只能界面与客户端库
    4 u; s5 y. h$ T
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这- y/ U6 q6 B3 q  R# P9 }: b8 \
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    . j( I7 q% \/ u$ p
  21. " vendorlib " ,并解数据库连接。 9 R) A1 m/ ]; q( s/ w+ G5 j
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ) M) h& x; u  _! C

  23.   m/ k2 ^3 E1 R. T7 K
  24. # # #做好工作# # # $ w  J2 R$ A! ?& t. j, e
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    8 P6 H$ t' S( L; @5 d
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    & `  h1 m0 g' k/ d0 U/ o; k
  27. 结束:
    6 h/ u8 ?, s! J; _9 X
  28. ---削减这里---
      M2 J" K* W) |+ R9 t. Z  d
  29. [ dbexpress ] 3 ~. _% w0 F+ ^5 A4 i$ r
  30. sqldir = mysql_sql
    2 i* b3 l! v& f: J" u
  31. drivername = MySQL中. Y* r+ M! l+ r+ N. D+ t
  32. 数据库= your_database_name_here 4 D+ P6 c/ A  u6 a- E
  33. 主机= the_pc_the_mysql - server_is_on * g/ I4 A" B7 {. \. S$ }
  34. user_name = user_name_on_the_mysql服务器& R1 q3 @. {! b$ T- q/ q: c1 t
  35. 密码= password_to_go_with_above_user_name
    7 m* N; |% f: ^4 I3 q
  36. getdriverfunc = getsqldrivermysql
    7 Z) H, u4 h9 U2 o. y$ a. M
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 4 z1 J' y8 v! n9 c0 ^. n
  38. libraryname = path_to_libsqlmy_libary / }& V6 X  b  m: A1 \
  39. 积极= 1 # M9 {) `3 O9 \0 [/ }" n) K. Q
  40. ---削减这里--- , i0 G* G2 q. _
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ; w: e/ u7 ?4 |* h/ \  m
  42. ---例如---
    ' a, j1 V% B2 E9 x! l! O
  43. [ dbexpress ]
    , D3 h" J6 d+ a6 n! x" C! H
  44. sqldir = mysql_sql # U! \5 \) Z1 m% p* |
  45. drivername = MySQL中
    ' @3 }; w- {# E" g4 c$ m
  46. 数据库=测试9 p5 c7 }; o. c* E( i+ x
  47. 主机=本地主机* j( g; Z; N8 \' `4 `. y3 q, h
  48. user_name = testuser 0 W+ O, R$ i+ ?* B
  49. 密码= my_password . f" {! a3 ]3 L
  50. getdriverfunc = getsqldrivermysql
    , L6 i' J( e( e# L5 U) I
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    9 t! S5 [5 s: B2 a4 k* s! p3 ?9 T
  52. libraryname =. / libsqlmy.so
    ) a, R4 x/ k( R# `9 G! Q6 Q- S6 f
  53. 积极= 1
    * |& E' P/ a; b/ z) ~" }* ^( k
  54. ---例如--- 3 {7 }/ w/ G" \

  55. 2 f9 G: c8 q4 M) e
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    & [! C9 [- O& ]8 `: B/ i
  57. ---例如---
    4 C, t& s1 X8 L3 A
  58. [ dbexpress ]
    6 `& s, m1 w8 j0 V4 A2 C- B: l3 X* C
  59. sqldir = mysql_sql % u# A/ [$ u! v. _
  60. drivername = MySQL中
    / p$ X6 c0 R/ [+ H: Q
  61. 数据库=测试& A9 E5 Y9 Z) \+ f
  62. 主机= 127.0.0.1
    ( C& R( }% Z! |- ~. \0 s, Y
  63. user_name = testuser
    9 r1 [$ f1 J# p8 s  V
  64. 密码= my_password
    ( ?' B+ `8 G3 X6 E' M' B/ l
  65. getdriverfunc = getsqldrivermysql : V' v* U) D7 x2 u
  66. vendorlib = libmysql.dll在
    - K7 t4 H6 b# a" t6 V" j$ g
  67. libraryname = dbexpmysql.dll
    + z$ B! h# ?0 w3 s9 a9 \1 P: }
  68. 积极= 1 & y+ }1 J/ [) u7 [
  69. ---例如----
    / A, t; U" \" r* `2 u: o
  70. -写在0 2.03.04由p wk.linuxfan. k5 @" d  j  V0 Q, g
复制代码
发表于 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 words4 h2 k- ?; z) c, D0 P# I" j8 I
3 J% X: v. t' u+ x$ M5 g: o/ Q
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-16 17:59 , Processed in 0.097904 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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