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

2396 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
0 Q& r: @1 x' t% G0 c+ ]: k* ~5 j3 T0 @  O2 }) ~

  1. 1 A8 x7 r$ k( t) v5 ]& Z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( z- `6 W$ S: R3 s! B( L6 o
  3. % O- X# W# `: }  k& Z0 Q7 B# w
  4. ### What we need ###
    ! p5 N' w6 r; t; J2 H) r4 N
  5. Naturally, we will need a MySQL server to store the data for us, this document
    , h" m, ?' b9 u4 Y! V
  6. will not explain how this can be done - there are documents out there for the
    / w  f1 Z4 ~- R) U3 l" [
  7. interested. The requirements include a (empty) database for TeamSpeak to use9 y. O3 ^; y3 ]1 M: A( X  d
  8. and a user account (username + password) that has the permissions to do stuff
    ! S/ v5 h- |6 D( d1 L. P! f' P! a
  9. with the database. Additionally, you will need a vendor library installed on the4 }9 |$ n4 D, a7 _3 _' C1 L7 ~# o& h
  10. local machine, this came with my MySQL install.; s# Z# b9 y5 @4 |+ P
  11. These instructions will not tell you how you might transfer your data from the0 g  y% u: ~" z! _0 n
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL8 F' U+ i- X+ R! r" s5 U; o. J+ h
  13. database.4 @% A$ S( \9 Q, i1 S! u
  14. Some users have reported ways to import a SQLite database into MySQL, but at0 y8 v' S0 ]0 B+ [' ?) m7 T# ^
  15. the time of writing, there are still too many issues - check the current status1 J3 `+ Q+ a7 Y( [- u# s' O- o
  16. in the TeamSpeak forums if you are interested.
    : |2 Z; i6 l" B
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from5 W1 T( t' r6 Y) a6 N
  18. Borland was used. This driver can only interface with the client library that
    $ u- G% n- i- G1 k* P
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this& u0 M' h1 F0 t
  20. client library - basically all you have to do is to use a 3.x client library as   I# i' w) A9 y5 p4 O6 z
  21. "VendorLib" and a 4.x database to connect to.
    4 V8 r0 H: Z# }
  22. If you need more info about dbExpress, you can contact Borland.
    3 S, `) q, O! u. i

  23. 0 d" S* C6 q6 x, K& D* S% X
  24. ### Doing the work ###
    1 m; `+ d/ i  |9 O
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ) Y; c) C' c+ X  G: u
  26. the perquisites right, just open your server.ini file, and add this section at8 _) `' |9 G1 W# u* X$ v! A
  27. the end:7 y- B/ }0 q) S( x- v3 ^
  28. ---cut here---
    2 q/ R1 R& X7 q. o, D
  29. [DBEXPRESS]
    : Y1 `- t+ C3 v7 K9 j7 J; D$ x/ w1 Z
  30. sqldir=mysql_sql& ~" m2 T( W6 ~9 {6 _' l
  31. Drivername=mysql
    ( ~8 z7 Q& r/ m3 g* B* e
  32. Database=Your_Database_Name_Here' Z! D2 F$ _1 e# ?8 N0 R- e
  33. Hostname=The_PC_the_MySQL-Server_is_on# f% H* l  E" G4 Y8 U4 L) G$ o# h
  34. User_name=User_name_on_the_MySQL-Server5 l% S) Z1 t- m! Y- }
  35. Password=Password_to_go_with_above_user_name
    * t1 i2 l5 b) c. u$ v  D" Z( T2 O% y
  36. GetDriverFunc=getSQLDriverMYSQL7 t6 _8 T5 `0 v- ]
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib# G( Z$ D: Q8 Q2 S. @' `! q3 H
  38. LibraryName=path_to_libsqlmy_libary
    1 Y! a% K9 }# a2 o- n) c& d
  39. Active=1( |3 `( t. d5 W( B' B/ U
  40. ---cut here---% ~* C6 Z3 ]4 v/ Y% P$ O- y
  41. In my environment (a linux box with a MySQL server running locally) I have:6 v. B' J7 f" ]; R. b- L6 g
  42. ---example---3 n3 w( f# r( I8 Q6 g7 J  Q3 L- Y7 a
  43. [DBEXPRESS]
    3 o: P- p( J! c, a! p
  44. sqldir=mysql_sql- V  M3 c! T1 w# A' P# T8 F5 @
  45. Drivername=mysql' f- i0 X% s( u
  46. Database=test
    ( i# Z6 I4 y9 F2 y, G, J: y- e
  47. Hostname=localhost
    4 C) D/ r4 n0 w5 S
  48. User_name=testuser7 E5 ~4 b+ |8 ^' t  F$ r
  49. Password=my_password8 J  v( l" \, n6 \6 Q6 e+ a/ y& p
  50. GetDriverFunc=getSQLDriverMYSQL
    1 w9 y3 X2 I- w% q; {7 F$ ~
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    . \  u# \! M+ Y5 @
  52. LibraryName=./libsqlmy.so, x. G( T* a+ E, ?/ [) j) q0 B
  53. Active=18 v; J# |* N- M( \: t6 m) Z
  54. ---example---7 H* N# R% Y1 D; Y
  55. 5 K8 I, J- X7 W& a+ d* S7 Z
  56. On a windows box, also running the MySQL server locally, it would be:9 I  ]- K$ _! P2 ~
  57. ---example---
    3 B/ T1 p9 V- _& j9 o) I2 k8 S7 B
  58. [DBEXPRESS]
    / m& e+ Q4 E9 {
  59. sqldir=mysql_sql
    7 o( R( Q3 g- w0 a5 K8 X6 Q
  60. Drivername=mysql
    / J* p! i8 j3 W
  61. Database=test
    * N4 c0 J7 V+ e
  62. Hostname=127.0.0.1
    1 o- H, t6 l% D2 h- `8 p6 V2 L
  63. User_name=testuser2 S  J4 F$ K4 V  Y
  64. Password=my_password& j$ B% \& I2 X1 ^7 y- }3 X
  65. GetDriverFunc=getSQLDriverMYSQL9 O) F( a8 t2 J; n: ?; W8 r' ]
  66. VendorLib=libmysql.dll; U7 _' d% d; b" S
  67. LibraryName=dbexpmysql.dll
    ' L  E( q" X; v8 H7 X
  68. Active=1
    # P% J9 a& K5 b8 j  K) e& X
  69. ---example----
    / @9 q1 k% ~! b: `8 z
  70. - written 02.03.04 by pwk.linuxfan
    7 k- x. I) c+ y" r2 D

  71. 0 |7 o9 w/ n- Q8 S- p) E
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
) a/ s- x1 f6 p/ v+ v

  1. 1 |; j9 x! g2 n$ ?3 w
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 5 V0 ], g& U6 ?" {
  3. & T. e& |. k$ f3 R
  4. # # #我们所需要# # #
    * p5 Y9 |3 k" ^8 s( i2 h6 @  J
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件* o: L5 B$ @6 K$ a) A! c) ?& C% V
  6. 不会解释如何做到这一点-也有文件存在,为) z7 y& q' ]% K' A1 s+ [
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ' U( ^9 J  v- w
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西" P, r/ |) F8 Y
  9. 随着数据库。此外,你需要一个卖方图书馆安装于) s& R, a$ L. D( `9 h
  10. 本地机器,这是我的MySQL安装。
    0 N' ~! C  A0 a+ M
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    % Z* O" R* E, i. D+ X6 v; l
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ) V6 w  q% e, e/ x, x) T
  13. 数据库。
    8 U, T% M2 J: B% E/ B8 T% j
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在' o5 X% d% m* ?3 X) j
  15. 编写本报告的时候,仍然有太多的问题-检查现状* J$ W# V9 ~# T9 u
  16. 在teamspeak论坛,如果你有兴趣。 ! t5 A) k7 Y1 e* x
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机. a. \+ W  l, W7 h# X
  18. Borland公司使用。这个司机只能界面与客户端库$ A# S0 d& ]) j9 }8 \
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这" H0 D) P9 j  ^. c/ H# T
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ' [  t% l- x" R3 w: c* f  O" d
  21. " vendorlib " ,并解数据库连接。 2 m. L. F" ]0 N
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 2 ^; ]; s! {) g% w- C
  23. 7 o) d! h- c" ~# T# Q  i  G  _
  24. # # #做好工作# # # % g9 n( Z9 P8 W
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都. ^$ }2 }: T; M2 A% X
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    9 f( s& [! n, X# M) k
  27. 结束:
    % i1 H8 {+ F  u9 \/ q4 x- c& T
  28. ---削减这里---
    9 `% O* @0 T; T5 ]  u9 ?
  29. [ dbexpress ] , ^/ @8 H+ Y+ o* Q4 b. S! s
  30. sqldir = mysql_sql
    - n' N: v- Z! L! f. C+ U
  31. drivername = MySQL中
    / |" y! N% G1 ]* y* o% [$ H% U
  32. 数据库= your_database_name_here 1 p7 z& c: h) \' h6 ~
  33. 主机= the_pc_the_mysql - server_is_on ) @. @( F2 @' V
  34. user_name = user_name_on_the_mysql服务器
    ; R5 o- e4 C! F6 z
  35. 密码= password_to_go_with_above_user_name
    % M- F0 n! N; U2 _& m$ v
  36. getdriverfunc = getsqldrivermysql
    0 [, n7 ^# F1 Q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib : }( u/ i$ `/ y8 q$ R
  38. libraryname = path_to_libsqlmy_libary 6 @% g) A- [7 [. K- O
  39. 积极= 1 5 X" L8 {" r8 i' W  s1 j# p& C
  40. ---削减这里---
    0 G5 S* x! Y* [
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: . U6 V4 q* f) }/ A" C8 o( d! e. y
  42. ---例如---
    4 i# y1 Y8 I7 `. H% V( ]
  43. [ dbexpress ] ) f9 {% h+ j2 z2 z5 @7 K
  44. sqldir = mysql_sql 1 R+ _* p0 T/ V& \3 @% L( T+ W
  45. drivername = MySQL中
    8 K% z% n+ O3 i
  46. 数据库=测试
    / |' d- q: w7 ?. y: E
  47. 主机=本地主机8 t9 x: O3 R# U, P! ~- _- ]
  48. user_name = testuser
    ; L& a; J/ P: y# g) L3 v' d
  49. 密码= my_password 3 u0 U0 C5 v7 ?( b4 a0 v" k3 S/ @" T
  50. getdriverfunc = getsqldrivermysql # U) |5 z& q3 @6 j0 x* N
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ) B5 r: F  y4 f0 `
  52. libraryname =. / libsqlmy.so 5 V% ^1 [+ J+ H
  53. 积极= 1 8 ~& i, k* F- r* s9 Z. D
  54. ---例如--- ' F% F9 e9 L+ j+ Z9 y* T3 f
  55. 3 x& x" r9 c6 ]9 v
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    6 e8 w5 _( Y$ N
  57. ---例如---
    + P, |/ O2 V/ s$ H
  58. [ dbexpress ] + `; ^4 C; T1 O- K
  59. sqldir = mysql_sql 6 c4 c; u9 K, @$ z  f4 P3 i
  60. drivername = MySQL中
    ; Y- F% R! V$ j1 _; L, E3 f
  61. 数据库=测试4 s! ?0 q  j  p& {5 @& t
  62. 主机= 127.0.0.1 ! |' p4 G" ~4 k- V/ n- }, b
  63. user_name = testuser
    8 n4 o' a% B( B% `0 _1 U+ N
  64. 密码= my_password ) ]" z/ p2 T- b8 h
  65. getdriverfunc = getsqldrivermysql
    # \4 w: T5 ~' k8 \$ W0 i% @! O' B
  66. vendorlib = libmysql.dll在
    ( I4 a' o' Y7 L- V0 b; n- Y. P
  67. libraryname = dbexpmysql.dll + ?# k8 E! {5 Y* J; e7 C
  68. 积极= 1
    4 D8 w, R7 K7 ]1 y# X7 F. ~3 O
  69. ---例如----
    0 }4 y& L, a& x; f2 _) S; y7 j
  70. -写在0 2.03.04由p wk.linuxfan9 X( w( @- x- L4 a( e5 z2 `
复制代码
发表于 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! a! i2 T* R* n$ s' v, n  w4 o
) p  W- P' z# u7 t
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-19 21:35 , Processed in 0.095580 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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