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

3596 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 8 O/ ]% F2 F( U+ g, X1 ]- F
1 ~* p, H- k9 V. W' _9 o% e
  1. * [) j  r9 n; w5 i. z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######' |3 U% F# g! B. c  J  g6 V1 s3 b

  3. * x- e5 N! f9 W% h& d; g9 p+ e
  4. ### What we need ###
    8 c' o/ F8 x, h9 h3 Z" Q
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ( N& C7 J' r5 c* V% b
  6. will not explain how this can be done - there are documents out there for the
    5 b' M" @! b5 ^& D" r$ Z
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    7 {9 Q/ P; U0 ~/ y; u
  8. and a user account (username + password) that has the permissions to do stuff
    , e- q/ I9 t! {7 f) P- M. B
  9. with the database. Additionally, you will need a vendor library installed on the/ [3 T5 ~$ e( T# O% W2 |  c
  10. local machine, this came with my MySQL install.; u3 S; S# r2 o* ~6 R) _
  11. These instructions will not tell you how you might transfer your data from the* x$ A3 e1 }3 D  P- [
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ( w, A2 h  W7 F
  13. database.' C5 b9 R2 @8 `1 q, r( u: G& m! D
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ( k' U/ J- H: J7 {* j1 @1 ?
  15. the time of writing, there are still too many issues - check the current status
    1 T4 u( w; E% g) P2 a  |
  16. in the TeamSpeak forums if you are interested.1 H) t& O7 d2 S
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
      I; R) E  ~2 Z8 E/ L* q, ?
  18. Borland was used. This driver can only interface with the client library that
    ! O+ N$ B) ]7 v0 j4 l3 D9 U
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ( ]+ F/ Y" F# @8 L2 m
  20. client library - basically all you have to do is to use a 3.x client library as 2 @  }: G* u& d
  21. "VendorLib" and a 4.x database to connect to.& K  F! t! Y1 r+ r7 o( v* F0 e
  22. If you need more info about dbExpress, you can contact Borland.0 f  F- F6 g4 T) X6 i& H
  23. 6 `. F6 u1 E8 Z
  24. ### Doing the work ###
    0 z5 [) c$ m# r- Y$ ^; Y
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ( a$ I+ _, R- _# \" V6 w2 L$ g
  26. the perquisites right, just open your server.ini file, and add this section at
    # Y+ e; P& |4 b& \6 K/ L2 i
  27. the end:
    ; N% y5 ^  E9 |9 D$ ?* G& b
  28. ---cut here---, S  I1 [$ x  l; g3 D/ G1 V* v
  29. [DBEXPRESS]
    6 f+ a+ G! ?9 r, I& g  o+ }
  30. sqldir=mysql_sql
    0 n4 K  _! A% z9 j/ a) A
  31. Drivername=mysql
    ; w1 r2 u0 B* Z
  32. Database=Your_Database_Name_Here3 \$ W/ f. X1 b0 O% O8 r& A
  33. Hostname=The_PC_the_MySQL-Server_is_on
    8 b# O) |+ ^! I" e2 S
  34. User_name=User_name_on_the_MySQL-Server5 E) [% C, P4 Q2 q) K% t$ }. K
  35. Password=Password_to_go_with_above_user_name6 H# H4 r5 o* J5 {8 u* `8 A+ m" R
  36. GetDriverFunc=getSQLDriverMYSQL
    2 v& O+ w  z/ K  J
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ' @$ C3 r3 {: C5 ?& x
  38. LibraryName=path_to_libsqlmy_libary2 v% A2 r- {$ D$ V! M( ~# t+ G1 m
  39. Active=1/ m7 ]( l7 B9 d5 V5 r
  40. ---cut here---, J. R5 p" r1 y* H; Y( b
  41. In my environment (a linux box with a MySQL server running locally) I have:: z5 u6 S/ u2 i; t7 M2 g
  42. ---example---
    9 a7 _6 A# G; z5 ?. a% X1 Y
  43. [DBEXPRESS]% r7 r; @* O1 c! t% d2 O
  44. sqldir=mysql_sql" }! A: L+ p/ B
  45. Drivername=mysql6 N, f- @: Z+ w" ^2 j. @
  46. Database=test# T! R9 t3 f- ~, m
  47. Hostname=localhost
    ! E) j9 u& Q% k, v
  48. User_name=testuser
    9 B) ~0 N' s6 E) ~, y
  49. Password=my_password
    + v+ X" V$ e0 ]$ U$ S+ \! k
  50. GetDriverFunc=getSQLDriverMYSQL5 {; _5 s9 o- s) W; @% Y# }
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0. Y% q! o$ x# i( N0 N, f
  52. LibraryName=./libsqlmy.so  v* V. W1 n0 e
  53. Active=1
    - ~9 H$ q: k% w6 n; z
  54. ---example---
    9 u( W( i& ]8 O! y
  55. & P- }% P) A5 W; m' E% k8 t7 M  L& h
  56. On a windows box, also running the MySQL server locally, it would be:
    . b3 Z- e* B: z+ c9 p8 Q
  57. ---example---
    3 m+ u" o9 L# N- d' F
  58. [DBEXPRESS]" b* }# P  y# ]8 Q* a
  59. sqldir=mysql_sql/ d7 R2 K& }# @+ _
  60. Drivername=mysql
    0 K8 a0 p3 a6 F3 S! d9 P5 R. U
  61. Database=test
    ! }+ G! c. M' n3 a3 n3 S  l
  62. Hostname=127.0.0.1, y/ H) K( h( [
  63. User_name=testuser
    + _% l. u  C% p+ G6 F! Q- \$ {
  64. Password=my_password
    ; `8 |/ v  G8 A8 X) \9 E( Y/ u1 D
  65. GetDriverFunc=getSQLDriverMYSQL
    9 D1 P6 x7 j# g" U3 }4 u7 ~% m
  66. VendorLib=libmysql.dll
    % J' m) G! ]; y: J5 ~. |
  67. LibraryName=dbexpmysql.dll
    6 i; `6 I3 z( r
  68. Active=1$ U% S6 H, {* n! U3 k4 ^
  69. ---example----4 ]! C0 B, D2 x  d3 M- D
  70. - written 02.03.04 by pwk.linuxfan
    * v0 i( b6 D/ w% L. Q

  71. # v) i% o! L* u# J0 I8 i9 O& J% L
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
  t! \+ O2 ?( ?  n" A+ B& v
  1. $ ~- T7 g: F  F6 E
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 6 j3 [$ C* y6 L5 \# c; b
  3. ' f9 A# ?3 z* K: Z2 b& F
  4. # # #我们所需要# # # $ W7 _7 P( L: G2 w5 n9 s
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件& k0 D8 a: F" X& ?$ `  q# P
  6. 不会解释如何做到这一点-也有文件存在,为
    6 Y- @2 B. b1 c5 N
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    % o( a6 I9 V2 W; H& t
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西5 g* w1 U, O( s) D! H. e' @
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    6 ^& o. M& M- d/ C; x0 k. `/ _
  10. 本地机器,这是我的MySQL安装。 & x: z$ }6 W# q, ^$ V
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从- e7 e. l" F8 p0 ]+ u
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " Y! Y* H1 f( m3 a
  13. 数据库。
    ) [8 i) G" M' @* V# o* M. R
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在* ^6 c( d6 s' |9 N' f
  15. 编写本报告的时候,仍然有太多的问题-检查现状6 N9 u/ H! b$ F. E1 F" }, F9 V5 U
  16. 在teamspeak论坛,如果你有兴趣。
    9 @. j6 S( \) u9 A$ F' t' z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机7 b4 U4 T! b: M! d
  18. Borland公司使用。这个司机只能界面与客户端库
    9 S5 T0 I$ O( ~# f8 |
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    0 O3 j0 }1 f' h' Q" u  t4 i
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为+ E2 i4 y* O( U7 u4 M' @! M
  21. " vendorlib " ,并解数据库连接。 7 b& o5 r: E3 o% y0 l% r5 t
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 . c8 }5 U) q% F7 L/ O
  23. ( ~6 k# `6 Q* o+ R
  24. # # #做好工作# # # + M7 H6 A. Y  h5 o, r; J
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都! C0 F0 G. R+ F4 X; l# ?
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在7 o4 V, C/ Q7 f) K4 {5 v
  27. 结束:
    % K9 p+ K0 o, Z  b/ w: v0 R  o
  28. ---削减这里--- - l+ g# \6 b, q8 C4 X! D' L' q
  29. [ dbexpress ] ! u( p7 X1 Z; r; |2 v
  30. sqldir = mysql_sql
    7 }5 r$ b3 ~. F. _
  31. drivername = MySQL中
    . a; @2 o$ f1 @, n# J2 ]- `
  32. 数据库= your_database_name_here
    0 z8 K( w3 F* y) ~
  33. 主机= the_pc_the_mysql - server_is_on ; P, q+ L/ z- D7 {8 t! |: G8 c) l  d  B
  34. user_name = user_name_on_the_mysql服务器
    ! m9 |' D6 I3 m" c9 j' u
  35. 密码= password_to_go_with_above_user_name / r  Q1 N4 [+ W# H
  36. getdriverfunc = getsqldrivermysql ) a/ X" w" v- G$ ?! }- z: ?  B
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ' p) S2 ?9 w; k# e4 o
  38. libraryname = path_to_libsqlmy_libary 2 t+ c" Y6 ^2 I1 l$ N3 G
  39. 积极= 1 ( t8 H# d% U* i. ~: b
  40. ---削减这里--- 1 X% }: x1 S2 O% _3 B+ {' [
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: / j; a, p) P# q4 k, s
  42. ---例如---   \, w1 ?( x# D6 J. Y) l# t2 I, f0 n
  43. [ dbexpress ]
      Z0 A2 M# f% _% d' j+ P) h, B
  44. sqldir = mysql_sql
    ' g, A/ |4 F7 d1 C( O& B
  45. drivername = MySQL中
    $ v# [6 O- R+ k) ^* n3 L
  46. 数据库=测试
    $ |/ R" ^" W- q% T1 `- _; S5 w* m( o
  47. 主机=本地主机
    ' ]+ K& |! V- |6 t1 q( B: P$ B# o
  48. user_name = testuser
    * y% O" p1 Z, d' I1 a, `7 _
  49. 密码= my_password $ D% N) F! H4 K/ I' z: n/ r
  50. getdriverfunc = getsqldrivermysql
    5 u9 ^$ u2 K1 ?4 `- h. W3 h
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    / L- h  o- j$ n* f8 O
  52. libraryname =. / libsqlmy.so % }  u! ^0 A, K
  53. 积极= 1 . R1 c- f# X! s6 J0 @
  54. ---例如--- 9 c: Q7 h( S  O+ E

  55. 1 t+ N& Z/ O- V6 E! Z# f
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ; }( {, s) g+ @: P( l
  57. ---例如--- 6 ^0 Q# K; e9 h& V/ \$ f% {" {
  58. [ dbexpress ]
    8 {: h3 M! ]6 i
  59. sqldir = mysql_sql 3 \3 _" C% F9 b
  60. drivername = MySQL中
    ! _4 E% B! [) _: ~6 n; J2 }
  61. 数据库=测试2 k" g; @& G% d3 R  {& ]. x% @; v1 W5 n
  62. 主机= 127.0.0.1 * A* s5 I3 r( E, B% y+ Z
  63. user_name = testuser % J6 P: O, G8 \3 j* E6 j
  64. 密码= my_password
    , Q% r- B. x7 a
  65. getdriverfunc = getsqldrivermysql # B2 i3 n! a! U% m& F2 \- V$ y
  66. vendorlib = libmysql.dll在: T. o& b" O# y/ J' J4 y& {* A
  67. libraryname = dbexpmysql.dll
    " D* ]1 r  v6 ~! i
  68. 积极= 1 : [3 Y. x) x& Y9 D+ E" E& [( x6 m
  69. ---例如----
    * _2 k# E* I" ?" Z" \6 i( t
  70. -写在0 2.03.04由p wk.linuxfan
    - `9 d3 e2 M. H) b. x5 @
复制代码
发表于 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# ^6 t/ x6 {8 H8 D: X+ q. Y. J1 |+ x

+ `; ^/ `: V* I7 A, ubut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-30 22:33 , Processed in 0.062686 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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