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

2902 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
# d# T" m% y& W4 X, f$ a
) o: Z* L" h5 j5 a0 w1 v
  1. 2 x% Y1 N% [5 Z% [
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######4 i' n1 t4 C# Z4 A" L

  3.   ~2 U, }4 e) E
  4. ### What we need ###" d( M. E5 E8 N- d' M5 L
  5. Naturally, we will need a MySQL server to store the data for us, this document ; R' F; G$ ?- W" T! G' i
  6. will not explain how this can be done - there are documents out there for the   v4 |2 D! d* w) P& `
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    & |. N2 _% h6 v% {3 I" Q6 }
  8. and a user account (username + password) that has the permissions to do stuff
    ! K& V8 R6 f5 `* X/ I& e# j
  9. with the database. Additionally, you will need a vendor library installed on the# p6 m: Q" S6 F% b6 I
  10. local machine, this came with my MySQL install.3 N. y  |+ K  D- Y# q) c
  11. These instructions will not tell you how you might transfer your data from the
    . P! [) E/ ?, s7 _4 C! X, w
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    : E! b0 n0 T% Q+ M
  13. database.; P% R: U5 Q3 a! U$ d+ ?5 z, p1 I
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    " u6 @/ j/ G$ ~: F& H
  15. the time of writing, there are still too many issues - check the current status
    5 u/ k( v. |3 P; _' n: s
  16. in the TeamSpeak forums if you are interested.
    " S6 I( ~) U: \- i1 a; P! f
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from1 i* H9 Y6 Y( |: w
  18. Borland was used. This driver can only interface with the client library that 5 I1 F9 W3 r5 s
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this( n) Q, G8 h8 `: C0 M0 W: w" k
  20. client library - basically all you have to do is to use a 3.x client library as
    $ d% F2 |$ d3 V1 A  Z
  21. "VendorLib" and a 4.x database to connect to.
    . C& b; M5 p# P' E% h6 u3 y' {
  22. If you need more info about dbExpress, you can contact Borland.
    ! [) K3 o9 g6 o+ h" [
  23. , c2 w) y5 [3 p$ I, T6 S" B. e
  24. ### Doing the work ###
    " K! _: u! Z" f8 S' S
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    + w/ z4 M: E# B( q# x  U
  26. the perquisites right, just open your server.ini file, and add this section at: v' z: N: x1 ~1 z3 }/ a
  27. the end:4 |" M4 r8 h. l* v5 ?5 M( h
  28. ---cut here---
    ; i$ o  N- i, G# r/ ^& X
  29. [DBEXPRESS]
    7 b& _) f2 ]) A; N
  30. sqldir=mysql_sql8 F" v3 v8 D1 _$ X! n
  31. Drivername=mysql
    0 a1 Y/ C! p" b- |6 g  U4 w% _
  32. Database=Your_Database_Name_Here
    ' `, R( e! [0 o) V5 S7 a* ?8 f0 x7 x
  33. Hostname=The_PC_the_MySQL-Server_is_on) t8 s6 D/ y' Z2 |0 X
  34. User_name=User_name_on_the_MySQL-Server
    6 ?6 y8 p8 F( l& E) c0 a
  35. Password=Password_to_go_with_above_user_name
    ' B  j( M; b2 s
  36. GetDriverFunc=getSQLDriverMYSQL0 n5 J. N) x6 r1 R
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    8 \# c- @) K& v# m7 Z0 T
  38. LibraryName=path_to_libsqlmy_libary/ O6 A8 U- z2 o/ L+ p; f. Y
  39. Active=1
    2 v# \7 `. c1 f: p: u
  40. ---cut here---
    * T3 M  O! R* S* K) _
  41. In my environment (a linux box with a MySQL server running locally) I have:3 k- v0 @' F& ~  y& Q0 t
  42. ---example---
    5 m. R' c6 |5 Q/ {6 d' U5 f
  43. [DBEXPRESS]
    % O! E9 _% B  U$ n' I" _% k$ H
  44. sqldir=mysql_sql$ Y1 Y0 j5 N5 z/ _2 y8 h0 K4 X
  45. Drivername=mysql
    ' ~; {3 T* j2 q
  46. Database=test# z, q; ]5 K3 P4 L4 t
  47. Hostname=localhost# h5 w8 X. l1 m, f
  48. User_name=testuser
    , ?! M* Z+ q  i. o8 E  E
  49. Password=my_password' U* l+ U& D8 a- x7 q% X1 v
  50. GetDriverFunc=getSQLDriverMYSQL; l5 g) `; a$ b/ @1 X% R+ \1 E
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0$ r) M1 U2 ~0 _
  52. LibraryName=./libsqlmy.so
    0 p/ O5 a4 Q  n& K. o1 ^
  53. Active=1
    + Z" x7 j% ]9 U* x& L4 K
  54. ---example---& n( Z6 a% M  ^- o! p$ ^$ g

  55. ) F8 a) W/ i1 x" p5 Q* ?* ~
  56. On a windows box, also running the MySQL server locally, it would be:3 n. s" s: v8 I+ M- d4 {+ \/ W
  57. ---example---
    & z" X5 [) i' S& B# B6 ]
  58. [DBEXPRESS]
    & g7 t2 {. h9 @! D6 r- T
  59. sqldir=mysql_sql1 R# s& i0 l' `
  60. Drivername=mysql
    4 D2 ], c: G( P3 Z0 n+ I5 p( \
  61. Database=test
    ( ^) J/ p# b4 ~$ _7 U. @6 D
  62. Hostname=127.0.0.1. a$ x7 M# r- r5 y1 R( A
  63. User_name=testuser1 `- Z7 c5 b7 n# _
  64. Password=my_password
    1 L; ~* Z) r, b; D
  65. GetDriverFunc=getSQLDriverMYSQL" i- H1 r* A; L5 S! H
  66. VendorLib=libmysql.dll) f6 R4 H7 R/ o9 J7 [+ d+ b# _
  67. LibraryName=dbexpmysql.dll
    ) k) h- {: Q  ^) T0 Q# @
  68. Active=1& H$ h+ S. I, c- m& L
  69. ---example----# {  b$ @" V, P4 c4 Q6 K
  70. - written 02.03.04 by pwk.linuxfan4 j& m8 b# }: r) e8 }2 J! ?6 L
  71. 4 `' q3 D* P9 s
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看7 v- _( `  |: G  x
  1. 4 h' ?- y& ^# X% c) Z2 j9 F' ]
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 1 f& y, x" ^' F. ~" x

  3. . M* w4 ~/ b! s1 V4 I: W
  4. # # #我们所需要# # # ! C/ e( P) P$ u- B# a9 z; h2 n0 D
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件5 d" l9 B" C* u/ F* |5 [
  6. 不会解释如何做到这一点-也有文件存在,为
    , T7 r8 y5 v* N3 d  O! J
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    4 c5 t4 T4 e# Q# d
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西  K7 {/ s* A" u$ X
  9. 随着数据库。此外,你需要一个卖方图书馆安装于0 c& ^6 B! Q3 R: X' [% J* B- C# [
  10. 本地机器,这是我的MySQL安装。
    4 s% K- m) A, e- V2 P
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从+ e) @9 `) H+ R) w
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " M- `$ X4 z$ Y
  13. 数据库。
    - }/ a, c* w0 E  X
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    * X8 H" M6 L# o. M  z
  15. 编写本报告的时候,仍然有太多的问题-检查现状" s  W. k( T* ?2 U2 i- `0 z# m3 c
  16. 在teamspeak论坛,如果你有兴趣。
    + B  i+ V- }9 B5 h$ F6 g
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机  M) o. R( j8 J- Q
  18. Borland公司使用。这个司机只能界面与客户端库2 [0 Q. s  ?$ L' B
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    0 d( \) Y, D, v+ N5 t, F$ p, f
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为# f" Y# D+ I; E4 v( U
  21. " vendorlib " ,并解数据库连接。 6 K, x/ N" ]" k! O+ o
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    6 [6 ~( v6 y7 \: u

  23. 3 C3 u4 X+ S: G8 L. j$ ^# q
  24. # # #做好工作# # #
    ) A6 V) C9 O1 F5 V
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    / @, B) g8 M# m: R. W. N
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    / M- [, q1 [( r2 a
  27. 结束:   O$ p0 }$ b' h( l- A
  28. ---削减这里--- 5 s& `+ g' p2 ]4 Q( g) j
  29. [ dbexpress ]
    % e5 `+ @: L: q6 T5 x) Z
  30. sqldir = mysql_sql
    ' ?' ?5 {- g. O0 t9 S* M& M3 Y
  31. drivername = MySQL中# v0 w8 {, m: F* a/ m0 ?
  32. 数据库= your_database_name_here 9 [6 l4 P, H0 T6 S9 p
  33. 主机= the_pc_the_mysql - server_is_on
    8 ~0 L. g( P8 H: f' u
  34. user_name = user_name_on_the_mysql服务器/ o- G1 M: [* V" f! s! F. r
  35. 密码= password_to_go_with_above_user_name
    % L9 ]& H2 T# V0 ~- V
  36. getdriverfunc = getsqldrivermysql ; a4 d- q% k0 ?5 g
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib , I, q8 b0 L7 ?
  38. libraryname = path_to_libsqlmy_libary
    0 M, N8 f7 E9 v9 D% v  y. J/ t
  39. 积极= 1
    , e7 b/ k: i5 S3 P! W1 I
  40. ---削减这里---
    . Z/ R2 D& Y0 r) P. a+ e/ l
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    1 E8 P. t4 ^  X) Z/ v
  42. ---例如---
    ( D5 s1 s6 }6 m/ r% T! O3 L/ t5 i+ A
  43. [ dbexpress ]
    / A& X8 Y, L/ n0 D7 c
  44. sqldir = mysql_sql
    6 X* q# {" G! y- b
  45. drivername = MySQL中6 F" r: y& U! O2 P
  46. 数据库=测试
    5 E6 ~+ l6 O/ y0 R* u
  47. 主机=本地主机
    ' j2 c) i& M- \# p/ T4 i
  48. user_name = testuser 1 t) [4 D; e0 N7 \
  49. 密码= my_password + o& X' H/ _' @( g2 n3 Z  x
  50. getdriverfunc = getsqldrivermysql / i' j8 H7 M; k
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 8 P& M  S7 o/ x
  52. libraryname =. / libsqlmy.so , \  I4 N7 h) E: a
  53. 积极= 1   v- W6 C: H. c) ?
  54. ---例如---
    # Q& o; ?6 I7 K
  55. 7 O. m; S0 d+ ]6 z1 {' L+ j
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 9 x$ f: F3 U+ |& u  ~
  57. ---例如---
    5 T! y& `* i/ ~
  58. [ dbexpress ] % ^3 E' w8 z. L( i7 k% |- ?
  59. sqldir = mysql_sql 2 x/ w2 y8 @; b2 C% k: F
  60. drivername = MySQL中4 }, D+ z, h7 a" m5 D
  61. 数据库=测试
    9 ?& F; ^/ W8 E# J
  62. 主机= 127.0.0.1 ' b7 D7 t: K) ~6 U
  63. user_name = testuser
    $ s; \( z" n7 P$ L! ]2 J
  64. 密码= my_password
    5 w2 T( M+ N! P. Z
  65. getdriverfunc = getsqldrivermysql 5 q+ E! l  x2 W! F( @
  66. vendorlib = libmysql.dll在2 `5 o# `% W/ |9 |% ~) ]4 x& R
  67. libraryname = dbexpmysql.dll , X& |; q) N" u' W7 `: t( `
  68. 积极= 1 % @3 b% V# I6 u. Z
  69. ---例如----
    1 ?  H# E. r, g& A+ |7 G5 o
  70. -写在0 2.03.04由p wk.linuxfan
    + A6 z, D) u! H. W7 ]' T+ \/ h6 _# ^+ c
复制代码
发表于 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
4 v* ?5 a* c2 _
$ g6 l; `: w, b7 Q6 c7 U' ^but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-16 07:16 , Processed in 0.113724 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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