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

2823 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan $ c) B$ F( t; A; l; u+ a
' m5 P- A: n  V4 D
  1. & K7 }' ^' [) q6 j. e
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    . P% i# I( h' p
  3. , {) k& t6 F4 e* ~% c0 [% f( X
  4. ### What we need ###
    : A6 Z) Q! \$ I2 G9 W2 v7 Z  {
  5. Naturally, we will need a MySQL server to store the data for us, this document
    * r  F- j6 d5 L; y& Q5 U; D
  6. will not explain how this can be done - there are documents out there for the / |- g9 |7 z; f. Y6 S
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    - ~* y/ W+ x/ m0 R
  8. and a user account (username + password) that has the permissions to do stuff
    ! }3 `! g! [$ G+ D- C4 B
  9. with the database. Additionally, you will need a vendor library installed on the$ A: w( y# n" e
  10. local machine, this came with my MySQL install.; d5 M1 V5 K/ f
  11. These instructions will not tell you how you might transfer your data from the
    7 D) S, Z- U' ?( _
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    1 p/ w+ u$ L( `9 a! I
  13. database.
    : y6 \  s' i. L+ M& |" j
  14. Some users have reported ways to import a SQLite database into MySQL, but at- K$ t& K& n! R
  15. the time of writing, there are still too many issues - check the current status
    ' P" e, L, b5 P( g6 z
  16. in the TeamSpeak forums if you are interested.
    , O5 R5 U2 I8 v1 x1 w8 v
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from0 L; `2 g/ _+ f: N8 _: J( n
  18. Borland was used. This driver can only interface with the client library that 2 b8 S! W; K- t. [5 ^6 {
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
      A* ]  ^; f9 _, y# |
  20. client library - basically all you have to do is to use a 3.x client library as
    3 d* o$ k- v& l+ Q! G: D' V
  21. "VendorLib" and a 4.x database to connect to.
    + H6 j6 l5 N; H- P0 f7 C: m
  22. If you need more info about dbExpress, you can contact Borland.0 z9 R. A# T0 [1 b8 s3 _
  23. . l, l. ~5 q8 y" C! O9 I
  24. ### Doing the work ###, E% H3 F' Q% S# v6 m/ h. _: V" h
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all, E4 e8 \/ x- o/ r
  26. the perquisites right, just open your server.ini file, and add this section at" F4 m$ {5 H) Y4 x. a/ _1 {6 [: Y6 o
  27. the end:
    9 R# R' e( X4 c1 F, {: m
  28. ---cut here---
    ) g( f/ f: O8 o- r
  29. [DBEXPRESS]
    * A% p1 `% V- T& d1 E1 n  B
  30. sqldir=mysql_sql
    / D, ]- N& d! O$ v& q
  31. Drivername=mysql
    5 P& p6 }9 {  Y2 t/ h
  32. Database=Your_Database_Name_Here
    . ^& e3 ^& R+ L
  33. Hostname=The_PC_the_MySQL-Server_is_on) z: w7 x; {7 b4 L  M
  34. User_name=User_name_on_the_MySQL-Server
    7 Q7 C) O/ y7 u) a
  35. Password=Password_to_go_with_above_user_name
    . a3 U' r/ t" O  j" o! C
  36. GetDriverFunc=getSQLDriverMYSQL
    6 w; y- X, ?. o. K3 s& b
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib& j- ^# Q3 A. c, e- i' o
  38. LibraryName=path_to_libsqlmy_libary1 A- k+ b9 [! t% l) V( f
  39. Active=1
    4 g% d+ b, P# M! ]# ]! l3 y5 J
  40. ---cut here---5 c  Q/ M/ c! P6 s/ R* ~
  41. In my environment (a linux box with a MySQL server running locally) I have:
    4 r) F1 @3 p4 a* d8 B1 s/ W3 v* q
  42. ---example---
    . k* R- [7 _" O1 n0 {  F( N
  43. [DBEXPRESS]
    ' x7 ~  V- U0 w9 b# r
  44. sqldir=mysql_sql
    7 t: i. u& ~9 O/ M2 [
  45. Drivername=mysql
    & K# z% Q9 Z( S* ^: V1 U& Z3 ^- I+ O
  46. Database=test
    8 O6 k' Z) [) h6 M) z$ c9 [2 }. Y
  47. Hostname=localhost
    ; H- Q3 }  C" h- y8 K
  48. User_name=testuser/ b" M% ^4 z0 [0 w& `. O; B
  49. Password=my_password
    - p2 n0 o: W8 P8 l3 X
  50. GetDriverFunc=getSQLDriverMYSQL6 l0 u9 W- m2 K
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ( P: r# O6 o$ i4 b, N0 `
  52. LibraryName=./libsqlmy.so
    8 w4 \0 ^4 W& E% ^. Z3 S5 M: z
  53. Active=1
    6 [- ~* w( K2 D: Y! q! I
  54. ---example---
    , I9 J# H: _) c, H: B. R' x3 R; D% z
  55. " W4 h# s9 A2 u
  56. On a windows box, also running the MySQL server locally, it would be:2 i' w; Y: S. J& U* l' V
  57. ---example---8 j* z7 z, C3 p: f: @
  58. [DBEXPRESS]
    9 u" u+ L3 U: m* z
  59. sqldir=mysql_sql; j9 E. q( n/ t/ ]+ B
  60. Drivername=mysql
    3 `! H0 p5 J& }
  61. Database=test1 S% R' {: t% N9 `/ L( V# E- f% u
  62. Hostname=127.0.0.1
    9 Y4 h2 o( L0 V6 k
  63. User_name=testuser- t, c4 P; i/ h, S  Z- L
  64. Password=my_password
    5 q' b" C2 C4 T: ~0 ^. x
  65. GetDriverFunc=getSQLDriverMYSQL" T, M" G- |8 |) M5 S
  66. VendorLib=libmysql.dll
    7 ?2 T0 b8 s) X3 k9 K
  67. LibraryName=dbexpmysql.dll' }% V5 Z. l+ r# t% Z; b( Y4 P
  68. Active=1
    / a( C) D8 W$ U* ~0 ]
  69. ---example----- t2 K* j* I; D3 {0 g! O$ J% u0 o
  70. - written 02.03.04 by pwk.linuxfan5 q8 ^8 Z. c# \# v) E! g

  71. - n7 o  C0 p+ ]9 g) f: q* c
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看& |- W/ V8 t! h- ?9 C0 {0 J( r
  1. 9 w. ~0 }7 X2 j; R4 e7 R
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    5 @! @4 q$ P1 }$ o/ d$ G

  3. 7 P; ?7 u+ X5 ?: V4 P4 N
  4. # # #我们所需要# # #
    1 N0 @; x; \5 k) q9 g0 \, t
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    - Q* F/ ?/ Z9 O
  6. 不会解释如何做到这一点-也有文件存在,为' h& ]& P% Z( Y5 o/ K
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用5 ?# C1 ~. c+ m% E
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    0 u! J6 Y, u1 y* T" n8 M3 q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于+ `! J; ~8 o9 z& q' H
  10. 本地机器,这是我的MySQL安装。
    9 @; r5 e1 x2 O0 B( i2 k
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    8 d' O9 i4 w0 ^$ A& F7 P- S
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 4 C: {4 t0 n. [* F5 C$ D( u
  13. 数据库。
    ( O! u4 v8 q( ~, E
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ' @) y! L7 n; ?$ ^' R4 x1 k: Q
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ( n- s0 ~+ Z" D) a3 H( i1 d! |
  16. 在teamspeak论坛,如果你有兴趣。 * A4 J* [! {$ K8 z1 N3 Y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机* @, }' O/ Z# {6 j3 k, M  s
  18. Borland公司使用。这个司机只能界面与客户端库0 A" p# d6 j- E+ q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这" P" f- F3 h2 K: @+ z! a8 w( {
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为( ~# M* u# |' c( o9 t5 W
  21. " vendorlib " ,并解数据库连接。 ) g6 v" j6 S$ h9 b2 [
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ' }4 H  a' |, g, Y6 h4 T

  23. 6 x. j) q* \; r
  24. # # #做好工作# # #
    # t* w, `, G4 ^6 P5 L
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
      U. J3 E8 a2 N3 _
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在! o3 v  H. X; y* S
  27. 结束: 6 K  O6 W& b7 ]6 F
  28. ---削减这里--- 1 A; \6 U5 @! v) z& p" z
  29. [ dbexpress ] & f4 V( \' P( s; K
  30. sqldir = mysql_sql
    , {# ?( k9 z$ W/ y* W
  31. drivername = MySQL中8 l/ M- h3 m& `" R9 R8 Y) ^
  32. 数据库= your_database_name_here ; u3 @5 B! t$ ?# ~# ^
  33. 主机= the_pc_the_mysql - server_is_on
    , Q' {- i- O6 z9 f. Z2 a
  34. user_name = user_name_on_the_mysql服务器
    ) P/ F- [2 N) e3 j
  35. 密码= password_to_go_with_above_user_name 9 G" R0 S2 \' S. E) \
  36. getdriverfunc = getsqldrivermysql
    9 Y4 T5 P4 M- L5 T$ J
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    4 V5 x8 I2 M7 ]0 q
  38. libraryname = path_to_libsqlmy_libary
    5 u& T* t2 b0 X- ~* K
  39. 积极= 1 1 V. n# @$ w/ U- I
  40. ---削减这里---
    ) |0 O- q4 o' J$ L& K9 D5 N
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: - L( s4 {' z9 T0 p. c2 e% ?
  42. ---例如--- 6 u) T% l% c, p, P
  43. [ dbexpress ] 4 f1 U+ O4 U! _) j& G' u
  44. sqldir = mysql_sql
    0 A; S/ ~$ S9 t- k1 l  Y
  45. drivername = MySQL中. e) N% z- C7 E( Z
  46. 数据库=测试  R0 Y* J4 u& t: K/ e6 n
  47. 主机=本地主机
    + \# w. ?) n# U3 ], r8 c9 y
  48. user_name = testuser
    1 H9 ~! T  C+ y  I' D; M
  49. 密码= my_password $ v; [7 A( V. p, |" b
  50. getdriverfunc = getsqldrivermysql + E7 p1 h) U" B+ x  t; M) R. k
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 0 E  W7 t( K  I7 L# t
  52. libraryname =. / libsqlmy.so
    " H/ n# m- T7 x2 c( J
  53. 积极= 1 6 ~1 m2 `0 ^% y& }9 j
  54. ---例如---
    / f4 R+ a) g$ q- a( O) D8 k6 P0 h

  55. 7 F5 o" u4 B) d$ [) b) T
  56. 对Windows中,也运行MySQL服务器本地的,那就是: - r7 P% e: Z& G
  57. ---例如--- * T: A1 e" R& X8 F, u3 M: V
  58. [ dbexpress ] ! R& h5 k$ G4 W8 p- Y
  59. sqldir = mysql_sql
    6 y& N5 X! @6 J  M: v2 X
  60. drivername = MySQL中' g7 g9 Y: j4 x# x7 Z- \: E5 l
  61. 数据库=测试# Q* Z+ ^. \+ ~. S& C6 T% v5 \
  62. 主机= 127.0.0.1
    1 n1 j; Y5 e3 I- I
  63. user_name = testuser
    - Z" k7 o3 N2 r. I/ r1 W3 }: M
  64. 密码= my_password 8 l! F, y3 j/ U2 c
  65. getdriverfunc = getsqldrivermysql   }& \% [& L- N7 @
  66. vendorlib = libmysql.dll在
      d- m, j; t2 [5 L
  67. libraryname = dbexpmysql.dll
    ( N9 N, ]- h. K
  68. 积极= 1 # y- o2 Z- ^" s0 t6 E
  69. ---例如---- 7 p2 L+ N$ \4 k$ }4 }( h  o2 P
  70. -写在0 2.03.04由p wk.linuxfan$ @# m1 ~  X" S3 \6 i3 q6 H1 Y: Q! M
复制代码
发表于 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
1 p  g% z: r7 ?$ ~( K7 p6 f4 }9 }
& ^7 D9 C1 L4 p" L; y  Ibut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-30 06:49 , Processed in 0.119097 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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