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

2079 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
, X! f, o& g- v
# _  b9 n: S7 c! N  E; {

  1. 4 F' Y+ I( X: f- s" f3 y
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######7 x2 c4 k; e. |9 a% k
  3. ! D5 g- p/ B( P: X7 K# W
  4. ### What we need ###
    % L, l5 H$ r4 N
  5. Naturally, we will need a MySQL server to store the data for us, this document
    2 y( I7 |$ k2 g' T# E" _( O( n1 p
  6. will not explain how this can be done - there are documents out there for the $ N2 N9 p3 B! V9 y! {& U
  7. interested. The requirements include a (empty) database for TeamSpeak to use$ |3 }  x3 A( N% I+ ?, {6 g0 N
  8. and a user account (username + password) that has the permissions to do stuff
    - e5 R/ d, `9 x! w
  9. with the database. Additionally, you will need a vendor library installed on the
    0 {( Y0 C- B2 c9 a3 B5 U2 a/ `3 d
  10. local machine, this came with my MySQL install.
    9 @8 ?4 e) a* N0 H
  11. These instructions will not tell you how you might transfer your data from the
    $ v" ~/ X% C$ a# a! p! {
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL; z; Q5 @  B+ w* G4 O6 F1 r
  13. database.1 m: U4 i/ l7 S# p' _7 Q& P
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    % k- \7 ?6 J* H. J9 h; b; _9 H& c
  15. the time of writing, there are still too many issues - check the current status' i- z4 w+ B+ F6 s! I
  16. in the TeamSpeak forums if you are interested.% q1 X7 Y% v( Z5 P
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    $ H" h5 p3 o6 `# H
  18. Borland was used. This driver can only interface with the client library that ! b6 M8 Y. U5 n* N/ C* w. a
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this9 E! {. U* r/ D7 K
  20. client library - basically all you have to do is to use a 3.x client library as
    3 a3 D8 S5 c+ U0 t. G
  21. "VendorLib" and a 4.x database to connect to./ \5 E# C4 e1 t1 m: N1 m& @4 H
  22. If you need more info about dbExpress, you can contact Borland.
      g8 B+ x" t9 [9 {% o
  23. & L7 Z) b1 b- I& O5 x# t
  24. ### Doing the work ###
    5 c) S+ _5 S! [% F- a& r- u
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all* N# q. Q% r2 U, R4 }2 S* W
  26. the perquisites right, just open your server.ini file, and add this section at
    ( N. w. y# |9 [/ g$ T' y
  27. the end:* C$ d; P  o- D- X2 K
  28. ---cut here---; W' z5 w- I8 d8 B: ?' V
  29. [DBEXPRESS]
    : I+ d0 x( U) ^
  30. sqldir=mysql_sql/ j0 g8 ^( ^& P  w6 M! Z# A
  31. Drivername=mysql5 T, e- W* C3 u1 L6 P* a" q4 F
  32. Database=Your_Database_Name_Here
    - B7 l. W: e) \+ g0 g# J
  33. Hostname=The_PC_the_MySQL-Server_is_on  k( p& V; C# h2 `
  34. User_name=User_name_on_the_MySQL-Server: i2 E* Y$ h% N( `# _% T
  35. Password=Password_to_go_with_above_user_name
    ! Z: c. k" M4 o3 }
  36. GetDriverFunc=getSQLDriverMYSQL
    8 }5 w6 ^4 F0 M; m( I0 f. g
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib5 G* w) d! t5 }4 o! V# @
  38. LibraryName=path_to_libsqlmy_libary
    : J# {7 E. h- S
  39. Active=1
    * Q4 J1 n* ?: o- F3 ]! b
  40. ---cut here---6 v% H" o- v: l5 {' k/ W9 a
  41. In my environment (a linux box with a MySQL server running locally) I have:, d! s$ t7 ^' ]9 }' {1 J
  42. ---example---. ?* S) p$ r5 v' p: P) S5 l6 p
  43. [DBEXPRESS]3 {6 p8 _9 p' a4 I: ~+ V
  44. sqldir=mysql_sql( M2 e# N8 {! X7 Y- x
  45. Drivername=mysql
    8 J3 {' t! j# W9 o1 V
  46. Database=test% y0 C/ R* ]+ A& ^
  47. Hostname=localhost# E. O+ y9 l6 p9 g" i8 }
  48. User_name=testuser
    8 L  e& f  l+ ^2 k: p
  49. Password=my_password
    * [, ]8 ]. `/ J' V, y
  50. GetDriverFunc=getSQLDriverMYSQL3 f3 P9 a; l' p1 W. U# o
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ; ]/ k+ v/ m" [
  52. LibraryName=./libsqlmy.so
    & X7 M9 v+ S" B0 B% s1 M) ^5 \& A
  53. Active=1! ?( f, M, S* s
  54. ---example---
    2 ^3 Q' m5 `' r& f: h
  55. 7 u) J# Q; R3 i, k3 n: T. q
  56. On a windows box, also running the MySQL server locally, it would be:
    2 W! U: H  `8 ~" {
  57. ---example---; ~/ _- R- D$ L6 N2 M
  58. [DBEXPRESS]
    5 T  [! s& J; t) k
  59. sqldir=mysql_sql  q2 S3 k* `2 l2 I: [; d
  60. Drivername=mysql
    , A% b+ Y# }' N5 m
  61. Database=test8 l9 l% H5 d/ A8 z
  62. Hostname=127.0.0.1
    3 |0 o+ ~) R0 G' L1 `% Q! y+ o" U; O
  63. User_name=testuser
    ' J  s. i- r2 C0 [, F
  64. Password=my_password
    ( h: n+ e" P3 f$ y8 J# h; ?! \4 R
  65. GetDriverFunc=getSQLDriverMYSQL6 o9 r1 N1 T/ V2 A5 o1 ~* I
  66. VendorLib=libmysql.dll
    5 {- u3 K! @5 m4 S6 u8 A7 R
  67. LibraryName=dbexpmysql.dll) \, l8 ]' x9 }& n) n+ Y; F
  68. Active=1
      R7 U- i8 z, ^( w* S' y) H  A! {6 o
  69. ---example----
    / d7 E& |$ j2 l$ J* h& _
  70. - written 02.03.04 by pwk.linuxfan2 E) ~8 t" R& J; `; m! a) J
  71. % @$ _6 [" j7 z) C# ]; _* _- _* i# w
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看+ n# k9 r& n8 J3 N$ ?8 r5 f

  1. + O/ m( t- P, t6 b8 T$ f5 w2 K, C, N$ A
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ! y$ U4 L- l& `8 Z- h8 T( h- [

  3. ; K4 [  O. b$ b" E/ c. \! l
  4. # # #我们所需要# # #
    ! e  O" X, u$ Q4 z2 Y# Y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件2 z+ B0 C, l: H9 p8 N
  6. 不会解释如何做到这一点-也有文件存在,为0 t- X+ n6 l/ e* A  t7 E
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ; F6 ~4 Y5 I' N9 {
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西- P4 H2 X* h9 w: o' K
  9. 随着数据库。此外,你需要一个卖方图书馆安装于4 F1 \! b" @  ^7 [
  10. 本地机器,这是我的MySQL安装。   L# m/ e3 D4 R) R" h
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    $ b8 J/ L% V- K" y0 \, P
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    : x( N- U2 ^  M" ~2 T) y) _
  13. 数据库。 8 M8 t, Y7 h  S3 \
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在0 m9 g2 ]0 ~! n& n; N& R# w
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    3 n& G4 @% H8 K5 P* i4 r9 J: m. C
  16. 在teamspeak论坛,如果你有兴趣。 7 a5 S3 |2 ^( x8 T( F9 {
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机% W( f& f# O5 o0 O2 a$ }1 ?3 R
  18. Borland公司使用。这个司机只能界面与客户端库! ]" v; b2 w/ X7 y( }. U
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ( s& B0 K0 H6 J) R& ]3 J+ C1 @( N
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    - P5 e+ i9 R+ u# D& W: {" M- q
  21. " vendorlib " ,并解数据库连接。
    # _  M4 e+ Y) B' B5 G
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ( P# ~* f+ U" O! F9 x& D) L8 ]
  23. . E/ u/ }. M/ b; V" ~3 [/ s
  24. # # #做好工作# # #
    ! i2 Z# L' {$ o, s5 `' ?: u
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    $ ^& u3 s3 W0 `8 O0 q- Y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    $ ?( |9 s- k+ }6 }; z. `
  27. 结束:
    3 f6 ^$ w! D0 ?
  28. ---削减这里--- + B7 r9 k: F% ?2 d" c
  29. [ dbexpress ] 0 a5 P8 B; X2 Y& `8 X6 U" o1 a
  30. sqldir = mysql_sql
    0 |; B8 d! A& S3 H( Y
  31. drivername = MySQL中# Y7 V# j' G- f1 k+ b
  32. 数据库= your_database_name_here + F1 g4 Z9 c  U2 u, G- i- S
  33. 主机= the_pc_the_mysql - server_is_on ) A; N8 H, n8 E$ B
  34. user_name = user_name_on_the_mysql服务器* j: G6 g1 P) k6 |9 O1 A5 ]  g$ ?
  35. 密码= password_to_go_with_above_user_name
    & ?5 Y1 B: c' I! ]! s
  36. getdriverfunc = getsqldrivermysql
      n. o6 v2 U' k
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
      L; U8 _7 e" \2 l' n/ p
  38. libraryname = path_to_libsqlmy_libary
    " O- u4 B. `- Y9 Y- w
  39. 积极= 1 + ?# v" I7 e, a4 B
  40. ---削减这里---
    4 `, O) s3 N8 t, {' g. S0 \
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    % K) x5 y( L! U7 w  a
  42. ---例如--- - P# s4 _4 P# a* u& ~- Y0 v5 R
  43. [ dbexpress ] + k3 M3 t6 ]& X) m- ]0 A/ o" Z
  44. sqldir = mysql_sql 1 d! M, t* a+ ^, v1 U
  45. drivername = MySQL中, N8 ~+ Z! k* h; |8 U- x
  46. 数据库=测试) ?/ j* t1 ?/ P8 @, L
  47. 主机=本地主机
    0 o4 t1 t* n) A- c$ Z3 v
  48. user_name = testuser ; m# F! @+ }) P4 F  q- E* z
  49. 密码= my_password
    9 m9 {- R6 U* l, R& T
  50. getdriverfunc = getsqldrivermysql
    5 W' B& f8 T8 U3 B& W
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    , m; o# \( V2 H% R# v& Q
  52. libraryname =. / libsqlmy.so ' \/ m  M2 J+ d2 n9 Z6 |4 W* u& X
  53. 积极= 1 . v+ L- J* i* y& S8 a
  54. ---例如--- 1 a0 S5 `1 E$ c- Y# }
  55. 5 R: O; W9 v/ o/ r! Y2 _  E! ^" n1 b
  56. 对Windows中,也运行MySQL服务器本地的,那就是: : w% x6 H- `. s! N  J3 `
  57. ---例如--- % x4 m, i: B8 y1 I) s; H8 `
  58. [ dbexpress ] " B, ]# s+ ?' L+ ]4 y* d) f: a/ a% x
  59. sqldir = mysql_sql 5 p$ x5 S0 F# {4 D; |% Z- R
  60. drivername = MySQL中
    4 X4 F6 o: @, _/ j8 A0 b' Z
  61. 数据库=测试0 p/ }! S. p* f* ~; ]; Y6 _
  62. 主机= 127.0.0.1
    7 E- K) Y: p8 W5 R. [" i* W" B
  63. user_name = testuser - ]$ g6 E6 ^2 l# S
  64. 密码= my_password 6 v) }, s7 V* T' B8 Z
  65. getdriverfunc = getsqldrivermysql ) A. \; i" e& I
  66. vendorlib = libmysql.dll在
    3 t* l# w3 n/ v: i9 B2 \/ T
  67. libraryname = dbexpmysql.dll
    # L) A0 N+ e! q* e, K0 J9 E
  68. 积极= 1 5 z* y+ r& `+ v/ K3 y
  69. ---例如---- 5 T  L2 C7 S  a) T% w1 a% \6 q! S
  70. -写在0 2.03.04由p wk.linuxfan
    3 X2 e4 [/ L, ]+ c& b
复制代码
发表于 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$ m( c9 s# ~! R: T
0 z+ n+ s: A3 T/ `3 w
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2025-7-12 14:53 , Processed in 0.106704 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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