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

3476 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ; B6 ?) X2 G- g& V! O

: q/ I, t( P. |7 v" {2 k' A
  1. * |. e( L4 _' N* o' _
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######( y, q) C/ `5 P$ F! W

  3. 9 m9 l7 p; H5 q; r: q) j# c6 Q6 K2 F
  4. ### What we need ###
    7 E* e, P6 S8 n( |" `  T
  5. Naturally, we will need a MySQL server to store the data for us, this document : v# O- Q5 V6 P
  6. will not explain how this can be done - there are documents out there for the ( A% u* K. f# i$ k
  7. interested. The requirements include a (empty) database for TeamSpeak to use/ [- t9 M# |3 l$ a9 \
  8. and a user account (username + password) that has the permissions to do stuff1 k$ U3 R! T# Q8 {0 M: A4 K0 V
  9. with the database. Additionally, you will need a vendor library installed on the/ k. M4 i, H, L4 n
  10. local machine, this came with my MySQL install.0 ~7 W! P) F( m" `) a5 O) f, x
  11. These instructions will not tell you how you might transfer your data from the% g8 E2 m. h- h6 i6 r8 j
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL8 N6 d4 x, {* o$ O  g
  13. database.* [( c0 H( A0 g
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    1 g2 x2 I* e2 E5 i6 w% l3 `4 K
  15. the time of writing, there are still too many issues - check the current status+ `3 @& U' I+ `6 M7 n
  16. in the TeamSpeak forums if you are interested.& Q2 p! r* @0 U
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from# W: L" {( y) {1 S& G- D
  18. Borland was used. This driver can only interface with the client library that : @, a  ], P& }; }
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this" Y, B9 i; \! \* K
  20. client library - basically all you have to do is to use a 3.x client library as
      G* o9 M0 H" K, `9 o! I* B6 V
  21. "VendorLib" and a 4.x database to connect to.
    ; N5 j5 q7 K; A" T2 w
  22. If you need more info about dbExpress, you can contact Borland.; v  }9 F+ B3 j( E4 ~  V
  23. * Y: J- ^; F; d4 H3 m  x5 o
  24. ### Doing the work ###. m/ h: m7 [9 S5 [! S. S. j7 p
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    * A) H8 }7 h; Z) U9 @
  26. the perquisites right, just open your server.ini file, and add this section at) |' Q2 X2 h4 N+ Y, a) w
  27. the end:
    ) U  B3 U4 \4 E3 S7 n. g% H
  28. ---cut here---
    % b# I2 q6 W- f
  29. [DBEXPRESS]2 F$ p, p3 w# z, [
  30. sqldir=mysql_sql
    0 ^/ S/ h# Q- R* a: U# I
  31. Drivername=mysql+ A1 }: z  N! _; f
  32. Database=Your_Database_Name_Here. ~4 S& P! J$ n% P- E; a& I$ L) p! X/ f
  33. Hostname=The_PC_the_MySQL-Server_is_on1 W1 R3 I# [$ u* H' C
  34. User_name=User_name_on_the_MySQL-Server8 A7 Q2 x4 A' S5 w" c% J2 D3 r( i3 `
  35. Password=Password_to_go_with_above_user_name8 [8 J+ p5 `9 V% M
  36. GetDriverFunc=getSQLDriverMYSQL
    ' D) s+ m# }- u; V7 l
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    # ~9 b  y# j7 L3 W6 x" |% u
  38. LibraryName=path_to_libsqlmy_libary
    ! D2 z$ A% C) s4 q3 @8 j' D7 X# W
  39. Active=1
    % c4 |- x8 u% h, l" Y8 [7 K2 U" P
  40. ---cut here---' }" U9 h# j: n; i8 N
  41. In my environment (a linux box with a MySQL server running locally) I have:# y7 D# i5 U: g. o0 m
  42. ---example---+ j" y2 Y- m- U) j& I* k  E
  43. [DBEXPRESS]& Z& v3 d0 L! |2 S
  44. sqldir=mysql_sql
      Z, j1 V  d) H' a3 m, }" ~) u6 A
  45. Drivername=mysql
    ( z* @$ r- \, E0 e
  46. Database=test; T7 B! g9 ]0 k* c3 C) ]: i) j3 ?' @8 L
  47. Hostname=localhost
    # W; e4 i* G2 y1 A) `2 a% B
  48. User_name=testuser
    & e! n2 H* S2 [' J. W
  49. Password=my_password
      [8 V6 r; A2 D+ P
  50. GetDriverFunc=getSQLDriverMYSQL& ]5 k) d# r4 T4 a3 I' j5 k1 |
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0$ ?1 {0 r" X9 E6 O1 }; |
  52. LibraryName=./libsqlmy.so
    ' D' G! ]: c) a; @5 @4 N
  53. Active=1) L5 \: i4 j2 [7 f! J' Z
  54. ---example---, N  l; t& J. l3 {, |, R8 ^
  55. " {# a+ J+ d! j* ]$ u
  56. On a windows box, also running the MySQL server locally, it would be:# o, n; s# E3 W( Y1 m2 f
  57. ---example---; H$ z3 @, k; X* r+ M- w1 r
  58. [DBEXPRESS]
    ( z. j; R( c% v
  59. sqldir=mysql_sql7 t0 ?! ]- b  I; G5 J" P  t" w1 X
  60. Drivername=mysql
    : T" m+ \2 W3 ]2 g
  61. Database=test3 N- z' C' {, i4 u% E) ?! d, b2 [
  62. Hostname=127.0.0.1$ B# u2 f5 S- g0 P$ G( W: X
  63. User_name=testuser2 ], S9 }* Y5 ]; v& [3 S$ c
  64. Password=my_password
    + b! f3 D, l. s3 @' C  g
  65. GetDriverFunc=getSQLDriverMYSQL
    ( @: u2 ]% M4 J1 A! f3 S$ g: a3 V
  66. VendorLib=libmysql.dll. {7 A4 \2 q  g+ O2 E
  67. LibraryName=dbexpmysql.dll
    $ a* L8 ]' R4 [" M; `8 o4 \8 [( F
  68. Active=1
    7 {' [* Z- B# l; [  `/ F: i
  69. ---example----
    * m% j' Q/ o0 Z" `$ ?
  70. - written 02.03.04 by pwk.linuxfan
    % C* U7 r8 `. v0 n, ~
  71. 3 p5 v. o' \( ]4 E3 r% o
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
9 v/ G6 H6 K9 \# j
  1. " w3 Z8 u* j% M* ~, @1 J
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    - }0 h$ R& ]2 ~) e! }. o

  3. . a. l& z4 C0 M5 f
  4. # # #我们所需要# # #
    ( P# e- z0 q) a% ]% A" K9 t# N6 ~
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件6 k. ?' T, D4 ~: |7 v# ~# d1 j
  6. 不会解释如何做到这一点-也有文件存在,为2 o$ @0 f. f4 z! E0 b* B. |
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ) F* G2 U) J3 l
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    2 P" ^, v+ T- I' i5 a* z6 j
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    / ~0 ?3 C# r. S$ r# `* R
  10. 本地机器,这是我的MySQL安装。
    . Z- v( Z- {# `5 |' X; |
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    $ a3 Y/ n2 K& N. C1 ^
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    2 u) j# Z* j9 H
  13. 数据库。
    9 @$ `# N( q2 x1 J+ ^
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在4 l6 _) v$ R: k& ~6 f" j
  15. 编写本报告的时候,仍然有太多的问题-检查现状3 K. K% R1 a/ i, o  p+ j
  16. 在teamspeak论坛,如果你有兴趣。
    & C3 y& x+ C8 K4 D) R& x* Z* j5 w
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机! H8 k9 ~9 p) x3 ~- y2 C8 [. L1 P
  18. Borland公司使用。这个司机只能界面与客户端库, G* |0 a) O% \  N  Z* z- a
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    % B" K; G) h' i- R2 N1 Q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    8 B. |) b, L9 U, f
  21. " vendorlib " ,并解数据库连接。
    " j. w4 B0 @- s' ~& z" L+ K/ Z
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 : n: |; |1 o9 P- Z. \* K1 P

  23.   \1 o- T7 q3 k7 m
  24. # # #做好工作# # # ) b' h6 w( e) Z+ U  x1 `
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都( x7 i  |8 D/ A- {
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在$ g9 g8 i3 |4 h! t
  27. 结束: $ A+ L9 {1 V' d
  28. ---削减这里---
    3 @5 A% E$ u9 ~, o( H
  29. [ dbexpress ]
    4 G" ?7 p6 R8 W4 p$ u2 ]
  30. sqldir = mysql_sql
    + Y" C6 g/ r2 t% Q% x0 U6 `
  31. drivername = MySQL中
    ' ~0 e" w( D" }- c# C
  32. 数据库= your_database_name_here . o" O6 y. ?, F) Z0 `
  33. 主机= the_pc_the_mysql - server_is_on
    : V$ ?& |0 n8 Y" D9 z2 E! h
  34. user_name = user_name_on_the_mysql服务器
    1 i$ R& ?6 K0 c0 |7 L/ M' _
  35. 密码= password_to_go_with_above_user_name
    2 O0 s* P; W. T& x- m
  36. getdriverfunc = getsqldrivermysql
    9 W& f& Q- n3 l5 l* R
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib * O$ ~, o, Z/ r: O5 P' ?
  38. libraryname = path_to_libsqlmy_libary , V/ M# A" B' d6 ?
  39. 积极= 1 - c( Y2 X( o( K6 z7 ^" ~
  40. ---削减这里---
    ! P0 B3 [9 c* k( y: H
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
      j' A0 y$ w5 D) Y2 ~0 x2 `
  42. ---例如--- 6 j# q1 Z# r* w' Y4 Q$ M( d6 k& A
  43. [ dbexpress ] 7 {4 d! S/ ?7 I! V/ Y/ R7 C
  44. sqldir = mysql_sql 4 ^) v/ ]' s# [* i. r
  45. drivername = MySQL中
    . z: F' K- F$ V# D( v
  46. 数据库=测试! ^1 Q5 J/ A( Z1 S
  47. 主机=本地主机! k, H9 Y( u2 M
  48. user_name = testuser
    ) E4 m; Q# M$ y3 c9 v0 P+ |
  49. 密码= my_password
    ; }! F) c6 p6 P4 @9 E+ d
  50. getdriverfunc = getsqldrivermysql ' F" e- F% @6 D# {4 F: \! t
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    / x. o' @7 {, ]/ a# x6 u
  52. libraryname =. / libsqlmy.so 6 R. @8 j! `1 b
  53. 积极= 1 4 ]  T  C/ t4 u5 z5 ^$ X
  54. ---例如---
    : o: b3 r6 m# c& \1 r# V+ z
  55. & o0 v: I4 M6 Y$ A
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 2 ^/ @2 m) r* i5 k! C! [: X
  57. ---例如--- ; w( c" u3 y+ ?- `
  58. [ dbexpress ] $ a" U" X6 }, _( d0 w
  59. sqldir = mysql_sql 5 b# S& O; n; G/ P) h, S6 d- U
  60. drivername = MySQL中& X& F8 R! y6 _1 l  ~
  61. 数据库=测试
    9 ^( B4 x% I: v  {+ U# u* M- i
  62. 主机= 127.0.0.1
    . S; ~6 D! T& d
  63. user_name = testuser
    2 J/ _7 u6 w; R: j8 J
  64. 密码= my_password + ?7 K: \4 d+ _9 W: D
  65. getdriverfunc = getsqldrivermysql / t" g! S! n. Y. p5 G0 A
  66. vendorlib = libmysql.dll在- f5 |9 ^" W# _
  67. libraryname = dbexpmysql.dll - y  ^4 h- W1 E  l) ^
  68. 积极= 1
    5 }7 B% E( n9 t# j9 D; x  Z
  69. ---例如----
    2 u* j/ V( F# v% k' ?7 `" ^% E& a
  70. -写在0 2.03.04由p wk.linuxfan. h  G1 `1 B) X# |; c. ~. c0 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 words7 V! D7 _: u& V1 R% y$ Q, [

7 B5 n* L% g4 U  e- {but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-4 18:33 , Processed in 0.063559 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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