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

2283 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 1 ?4 z2 I9 _0 q: ^
3 Q. {: |$ q2 q# m

  1. 8 b8 q8 G% K. j& N* ?
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( j7 r; @3 D. K1 c9 X( ~
  3. 2 ]. _" P! v( J  q9 Z0 G; ?+ D0 B$ c
  4. ### What we need ###  X& \+ p3 i5 x
  5. Naturally, we will need a MySQL server to store the data for us, this document 0 W3 n' `" a3 P- Z/ w' Y% G$ ~3 B
  6. will not explain how this can be done - there are documents out there for the . }/ f% |5 y# f% I# O
  7. interested. The requirements include a (empty) database for TeamSpeak to use8 ~$ I" d! B' r
  8. and a user account (username + password) that has the permissions to do stuff8 ^$ t/ }/ t7 r- j$ F: ^
  9. with the database. Additionally, you will need a vendor library installed on the9 h7 X5 a% T; N7 l; o& b
  10. local machine, this came with my MySQL install.
    8 h, K, B: q0 `, M7 Q
  11. These instructions will not tell you how you might transfer your data from the
    0 p7 n& h; G: t# y$ [0 s2 ?
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL" I% X' _: w- D8 p  l
  13. database.
    ) s9 w( g7 ~8 \. ~8 J
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    . [' g  [$ |% j! w* D2 r
  15. the time of writing, there are still too many issues - check the current status
    " M! Y! s& x7 j3 l" A
  16. in the TeamSpeak forums if you are interested.
    ' f2 b1 A% K5 M* G! i; `
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from7 e+ S$ Y( n: k; Q" t
  18. Borland was used. This driver can only interface with the client library that
      z3 `6 _1 w  F9 \
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this3 o, I  B: J( q( D2 A
  20. client library - basically all you have to do is to use a 3.x client library as
    2 ?3 ^' Q6 ?6 P; a% |( G2 j
  21. "VendorLib" and a 4.x database to connect to.- ~) e1 B2 ^& u7 l( y. a6 f
  22. If you need more info about dbExpress, you can contact Borland.8 k  i# o3 M$ o0 s' O
  23. : d# n9 J% Q7 \5 `
  24. ### Doing the work ###( t2 o, q' A' e9 K( F7 C
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ i" d8 u' z" C1 p
  26. the perquisites right, just open your server.ini file, and add this section at
    & Q0 W. ~* J6 J/ ]* {2 S
  27. the end:% u- I# E5 z) m( w6 |, q
  28. ---cut here---
    , x3 C/ `# f( u3 U
  29. [DBEXPRESS]' r8 S6 F  Z. A/ z; L2 K2 A
  30. sqldir=mysql_sql
    3 @1 J& l! \7 p9 I2 ~
  31. Drivername=mysql
    2 L/ @# X7 H" Q* L2 Y( j* E, M; l
  32. Database=Your_Database_Name_Here6 e- S% v4 ?/ m; j' M" k# I
  33. Hostname=The_PC_the_MySQL-Server_is_on
    % h2 C  n* ^' F% C
  34. User_name=User_name_on_the_MySQL-Server
    / k- [" c' T% u/ m0 e% x/ V
  35. Password=Password_to_go_with_above_user_name
    2 U( Z- f/ E6 P( l8 p
  36. GetDriverFunc=getSQLDriverMYSQL! i- l7 x  w  G% i
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ! q7 W: O9 x  a7 P
  38. LibraryName=path_to_libsqlmy_libary6 _1 D2 n1 e; L5 ]
  39. Active=1
    2 |! L' A* n- f1 Z
  40. ---cut here---
    $ N0 o/ i6 |7 |; e( ]6 p3 V: \
  41. In my environment (a linux box with a MySQL server running locally) I have:
    3 H8 \& B0 M8 j" C( z; e% A6 Z7 B
  42. ---example---
    . ~% F  b% n$ D. e
  43. [DBEXPRESS]9 o" C$ K8 [1 y. [3 P
  44. sqldir=mysql_sql
    8 V2 Q5 {! Q) r6 n% k  C
  45. Drivername=mysql4 m$ N, E4 `9 _
  46. Database=test
    2 H7 F" b4 g; \) T/ ~
  47. Hostname=localhost
    5 X4 D1 a2 }) M5 A7 Z
  48. User_name=testuser) R* n* P8 C. Z+ k, y( i
  49. Password=my_password8 y' F0 [, \' K: R- O
  50. GetDriverFunc=getSQLDriverMYSQL, m9 K; k4 F. @* Z& N0 I+ Q) X2 ?6 {
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ( _" F. k: M1 T4 I/ m
  52. LibraryName=./libsqlmy.so& D5 P  p7 v1 ]4 h3 Z
  53. Active=15 X) a; M5 e& l" L5 p
  54. ---example---
    , F; k, I$ Z( {- A

  55. 9 X2 }8 b  u1 Y3 i6 E
  56. On a windows box, also running the MySQL server locally, it would be:# z6 U' I( L1 w
  57. ---example---' {2 N, N( R- _" Y! `- U
  58. [DBEXPRESS]
    " F' X) P, C+ V" L) X) d; m
  59. sqldir=mysql_sql& z0 U5 t* ?9 U
  60. Drivername=mysql
    / e4 w  S$ J6 r) R, E2 `
  61. Database=test
    # k! s7 Y0 ^- ~! f8 p; M; T
  62. Hostname=127.0.0.1
    ; |# i" ~1 u6 S) C3 \& _/ N. s$ D
  63. User_name=testuser
    * F$ |; f8 T( M9 {+ w% P* T
  64. Password=my_password
    . {+ W! }% |( [6 _) n
  65. GetDriverFunc=getSQLDriverMYSQL6 Q1 S! B' `" Z0 c8 d
  66. VendorLib=libmysql.dll
      Q: @" k4 l0 U$ x9 \1 y  m0 g
  67. LibraryName=dbexpmysql.dll5 e5 ?& I9 a5 `5 H; l' j
  68. Active=14 s$ d' T: b! X
  69. ---example----- J1 b' a% b4 Y- y+ \& J! l
  70. - written 02.03.04 by pwk.linuxfan
    4 d' _* c+ a, a' M: ?- u7 N$ s8 D8 T
  71. ! t/ c; ]7 l0 M5 Z4 f
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看* h  M! B: h. U  n) u' U

  1. 8 W$ Z) p3 B$ u: H4 {, V8 k
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    5 d  b- w7 |  |) w4 \" W$ G0 @5 `
  3. ( D6 `$ `' ^" k& c/ D
  4. # # #我们所需要# # #
    - A+ T4 I$ h2 g3 P2 k
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ) g* q5 g. _1 f" C0 N3 [9 e
  6. 不会解释如何做到这一点-也有文件存在,为
    / v6 z) P2 F6 o+ U* N) m) F
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    5 s/ J- k7 W3 `# k
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西: u9 B2 h: H* V
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    + M2 C3 E, G" n" \4 g9 V* e% D
  10. 本地机器,这是我的MySQL安装。 % J% t5 ^4 u- B! a1 x
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    * v6 k4 V4 z1 V$ G8 d7 _
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    6 p5 _+ {9 w. x0 @1 k+ t
  13. 数据库。 ' Q2 g/ I) r6 e
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在2 H" ]! ^4 O. F/ @  R! U0 G
  15. 编写本报告的时候,仍然有太多的问题-检查现状$ E; x5 t& O9 N  h; h1 E
  16. 在teamspeak论坛,如果你有兴趣。 4 ]+ ?2 W. s0 Y( x( M7 w
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ) F5 W; M6 k2 v
  18. Borland公司使用。这个司机只能界面与客户端库
      Q) O  |; O6 U
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这7 N% M8 R- i% ?6 |+ q! k2 Q1 M
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    1 J3 x( `1 b, X! D9 a; H$ q
  21. " vendorlib " ,并解数据库连接。 ( E+ p0 Z( O5 T% p' |! p' i8 L4 s- t
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ; g7 R5 Y" Z+ H8 `
  23. ( E, L( n3 O& x3 _1 X
  24. # # #做好工作# # # 3 z! J( D3 P* n5 [; g
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    + C. S5 F6 H5 [, I% S
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在- \: j7 U  T9 b
  27. 结束:
    ' S4 ~8 b5 \  X; {* C. J
  28. ---削减这里--- 5 b$ q6 l4 J# a& Y' g9 _! q
  29. [ dbexpress ]
    % W' V0 |) S; F4 `4 J$ l1 ~! T, E
  30. sqldir = mysql_sql " n- }0 [" U% y
  31. drivername = MySQL中
    : w' m$ r4 x5 L; `% j
  32. 数据库= your_database_name_here 8 x: B6 O: ?& C" }, I4 O) E; C
  33. 主机= the_pc_the_mysql - server_is_on 4 _9 M0 K; x1 C+ Q
  34. user_name = user_name_on_the_mysql服务器4 F- P% l$ c$ a
  35. 密码= password_to_go_with_above_user_name
    * q" }+ G3 X6 [  d
  36. getdriverfunc = getsqldrivermysql 6 a) ?) p! e+ X; ~6 c; a$ L! e/ n
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    6 w$ x$ q0 ]$ d/ A7 Q! ]
  38. libraryname = path_to_libsqlmy_libary / I$ s7 x( f" n
  39. 积极= 1 8 {' o# a3 j& }/ J& V
  40. ---削减这里---
    ( Q5 e( Z3 z* @) L. ]
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ' `' Y' g0 i) t- L6 G& b
  42. ---例如---
    + g% m! v3 u4 l. J
  43. [ dbexpress ]
    1 J6 ^+ d; \( R% ^, V# f9 R7 v
  44. sqldir = mysql_sql
    8 O) I. l3 \- D( O$ e5 k: s
  45. drivername = MySQL中) ~/ V2 _" v/ M
  46. 数据库=测试
    5 R8 W! a( z" ]6 L6 A1 b
  47. 主机=本地主机( w- i0 a) O* S" j( M
  48. user_name = testuser . r( \# D; {. H( I6 v" O" S" q
  49. 密码= my_password % w7 P7 l0 Q) Y0 E
  50. getdriverfunc = getsqldrivermysql
    9 }+ z9 w/ M5 J; Z% v# {5 j* g
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ; [9 z+ s6 }# |
  52. libraryname =. / libsqlmy.so - g* Y) s6 d" D% g! g/ l
  53. 积极= 1 ( I" t( R9 n7 @
  54. ---例如---
    - Z( _  F! Y7 j$ S; v) b

  55. 8 x/ q- U' P2 E2 i# G% h9 M
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    $ n! M0 }$ m9 K& Z/ r4 G7 [
  57. ---例如---
    / W/ E7 s6 W; ]3 G6 F
  58. [ dbexpress ] 7 o, w5 @5 j/ U1 r' m6 V& H" d8 H
  59. sqldir = mysql_sql , A! @  e4 [' ~' y
  60. drivername = MySQL中
    # s+ f/ _8 W2 F3 u  \5 U
  61. 数据库=测试
    9 c7 l) L) k3 f4 {
  62. 主机= 127.0.0.1
    7 i7 B4 }; }1 Z/ h* s7 F4 n
  63. user_name = testuser
    8 h! z/ j% g: t3 N/ A
  64. 密码= my_password 9 M' T( g9 O, Y7 U! G! S
  65. getdriverfunc = getsqldrivermysql
    5 x2 O% C" u- C6 ^& _
  66. vendorlib = libmysql.dll在( U8 |- e+ Z" z! v& k' }/ m3 d
  67. libraryname = dbexpmysql.dll / f7 B3 [* g5 }. Z
  68. 积极= 1
    8 D; S6 B  L( k+ q
  69. ---例如----
    7 L- L% C" L9 K
  70. -写在0 2.03.04由p wk.linuxfan9 ]7 K0 w& n  y9 W% x) u
复制代码
发表于 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- h# \& Q0 [; X
2 N5 r) q- g  d! x; P/ g
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-11 03:38 , Processed in 0.099090 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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