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

2319 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan   F, T' [, F9 U: ]7 W# Z# Z2 Z
& g" J; B) T$ H# \) }
  1. ! y1 t) L. d. f9 J% F. T
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ) ~) F' {7 _) n4 A

  3. " c' P, x( J- u
  4. ### What we need ###7 C% ^+ ~% A; G6 D0 |
  5. Naturally, we will need a MySQL server to store the data for us, this document
    3 @+ c- Y# P& f. \
  6. will not explain how this can be done - there are documents out there for the 1 b5 t$ f% b/ {2 C
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    # l  ?: m! E! x/ l
  8. and a user account (username + password) that has the permissions to do stuff" A  [- c8 {9 q0 i- @/ k. L
  9. with the database. Additionally, you will need a vendor library installed on the# T& H! n" C( n& I+ D. T
  10. local machine, this came with my MySQL install.! M$ j0 Y% [0 d+ ^# u
  11. These instructions will not tell you how you might transfer your data from the
    2 |2 H2 _# k" _" K7 m
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    8 G; B9 N- U$ T2 S+ V' a
  13. database.
    0 M& D9 }" f# F' h& q$ N" ]
  14. Some users have reported ways to import a SQLite database into MySQL, but at' M8 x$ \  ^. y; A# ~: v
  15. the time of writing, there are still too many issues - check the current status# o. k6 g3 s# W$ P- M# q( ~
  16. in the TeamSpeak forums if you are interested.4 R6 _4 l+ |+ ~: X0 P) |" m! n
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from$ L( o% v4 G3 r5 d0 _; @/ m
  18. Borland was used. This driver can only interface with the client library that . K2 U; L: m1 {8 ?
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    9 m* o7 |3 I+ @9 I4 \) ?, g8 r
  20. client library - basically all you have to do is to use a 3.x client library as 1 D: D6 w  q  M$ m; S: _
  21. "VendorLib" and a 4.x database to connect to.
    2 _1 v: b1 W) T- }. t
  22. If you need more info about dbExpress, you can contact Borland.
    # _" B. r3 k) k8 p' L

  23. " R; X2 Q$ C2 @
  24. ### Doing the work ###/ f: V7 l/ ~# E0 e+ s
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all0 E/ W1 l: v; \7 L) r' N
  26. the perquisites right, just open your server.ini file, and add this section at
    - Z% y# E' B1 i% q4 O+ S
  27. the end:0 Z0 P7 i, o3 P* G
  28. ---cut here---* d7 U/ [& B1 o5 W
  29. [DBEXPRESS]
    6 t& j- S& x* K& Q0 [
  30. sqldir=mysql_sql0 }0 ?0 Z2 d7 d' Q0 a
  31. Drivername=mysql
    4 |- T0 R) P) M  ?6 ~1 E% ^2 ?
  32. Database=Your_Database_Name_Here
    , j# C! ]% }( ^$ V, Z# |8 b
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ! v6 V. R6 n  l- M4 k& _
  34. User_name=User_name_on_the_MySQL-Server
    ; f2 c( Z3 j- W& c: I
  35. Password=Password_to_go_with_above_user_name6 ~9 ~" a* q7 y8 ]: W- [7 M& R
  36. GetDriverFunc=getSQLDriverMYSQL, d" k. {' q( s3 X: |& R) r
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib/ U4 o" v- J1 I& V2 O) y
  38. LibraryName=path_to_libsqlmy_libary
    " u2 n; R0 q8 l
  39. Active=1
    8 G) H7 u1 G+ `& B
  40. ---cut here---0 ^( i; v9 i# R
  41. In my environment (a linux box with a MySQL server running locally) I have:  Y6 Y2 T7 m& G
  42. ---example---( w% @& m1 O9 ^) x
  43. [DBEXPRESS]' \( L2 Y1 J# g0 ~& H
  44. sqldir=mysql_sql6 r3 w% I% t6 @( s5 l( L: I) L
  45. Drivername=mysql3 b& ]# g8 |* J' j8 J# f
  46. Database=test" b& ]! L1 L/ I2 d* w7 R- a
  47. Hostname=localhost  l* `- F  U" D: g
  48. User_name=testuser/ E0 O/ z  D( @5 t  g4 O; B+ d6 C' A
  49. Password=my_password) F$ y' W0 j) e: H- i7 K8 T  [; @
  50. GetDriverFunc=getSQLDriverMYSQL
    # b) v  I+ ~% b( v; K: d9 e
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.08 C7 e2 Q* l8 Q0 Q/ C. a
  52. LibraryName=./libsqlmy.so& h1 F  n3 O' d5 J! Q7 P
  53. Active=1. A# A+ s. v- j( r6 U- F
  54. ---example---
    ; M" M9 p2 x* Z; d; d
  55.   @% q" Q4 }" U' h7 e3 e
  56. On a windows box, also running the MySQL server locally, it would be:" M+ q8 g- `5 c8 \
  57. ---example---2 }, j$ @# L9 ]5 o. ?1 S
  58. [DBEXPRESS]/ a  j2 X2 r8 p3 G2 F! `
  59. sqldir=mysql_sql
    3 C  r) k4 |) |. i0 I
  60. Drivername=mysql; {% ~2 r8 Y6 b! r9 T6 X. b. T# \
  61. Database=test, Q4 G8 n1 W6 @- `) ]; P  ^
  62. Hostname=127.0.0.11 ]- q( ]. M( q$ u2 U" g
  63. User_name=testuser2 w7 \) L+ a. k; F$ o+ Y
  64. Password=my_password. l7 G8 P, J0 D/ ]; a0 J
  65. GetDriverFunc=getSQLDriverMYSQL( \; ?4 t3 e( I1 W3 a. Z
  66. VendorLib=libmysql.dll
    : \$ A- p; [4 u# L& n& ]
  67. LibraryName=dbexpmysql.dll
    7 u  W" B5 R# {3 \* r. M
  68. Active=1
    + t* _% B+ d8 c6 x% r; ~
  69. ---example----3 j/ H# k8 q5 z3 t2 `  F  t
  70. - written 02.03.04 by pwk.linuxfan- U( A2 C/ `0 A$ D! z. e5 _7 p

  71. 4 J. L6 E" _3 U- I
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
% q- c' E8 |- `) V7 T

  1. - }3 {; v5 n& A* q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 1 [0 V7 B6 D+ ~6 v1 M
  3. 1 ^3 u7 j* c& [3 t+ l
  4. # # #我们所需要# # # * {. m# L% G0 A
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
      `- M' q# S6 L
  6. 不会解释如何做到这一点-也有文件存在,为
    % n. I; L) k5 G2 x
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用% Y7 I% B) {$ Z9 D/ M) j
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    # j) L$ p. K0 Q, T8 Y
  9. 随着数据库。此外,你需要一个卖方图书馆安装于8 H; Q# j: K0 V7 F7 n  \- F( {; w7 A
  10. 本地机器,这是我的MySQL安装。 $ k1 b: {. C+ M& v: t. M" w: K7 d
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    " E9 e3 j* }8 |* M* G6 N
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    4 {5 N4 `' V: ]: I! i/ G7 a
  13. 数据库。 5 F4 m$ b$ I8 h* M
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    " p) u" \" v2 R: q9 U* z4 _
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    9 s$ O$ S' c: y8 y. }3 m, h3 D# I
  16. 在teamspeak论坛,如果你有兴趣。 & _7 H2 K! Z: n$ ?, v
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 n* \5 [+ h7 ]4 ~9 X
  18. Borland公司使用。这个司机只能界面与客户端库
    , A( t2 Q9 Y3 T$ m5 J8 X' `9 M
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    9 ?: I+ S; |! h3 h! u# D
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    $ n1 M9 ?! g3 x; a; c
  21. " vendorlib " ,并解数据库连接。 " I5 O/ b$ ~$ W, C6 y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ; N2 f) Q& \9 f* D# H
  23. 4 W' [+ P: p3 M; _9 f
  24. # # #做好工作# # #
    8 ~2 ~0 t% @& j: x
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都' }1 d9 j. ~: P. n* z5 v( N
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    5 j$ g' x2 m: A# W) D, e) J
  27. 结束:
      G" b) H% p# |% v. n
  28. ---削减这里--- . _! f9 K7 \6 I7 u5 j8 E; P8 d/ W5 ]" B
  29. [ dbexpress ]
    ; n* M( k* ^# w8 i* r6 f
  30. sqldir = mysql_sql
      ^% M( H0 A6 ?) ^8 N! h6 O
  31. drivername = MySQL中
    / X; }4 q$ i, t0 I- w- Y) R
  32. 数据库= your_database_name_here
    0 V, m. T  @0 J! z  a8 s- x
  33. 主机= the_pc_the_mysql - server_is_on
    , P/ k- ?% o% |. x
  34. user_name = user_name_on_the_mysql服务器
    3 j. k+ m1 d6 E7 A+ s
  35. 密码= password_to_go_with_above_user_name / s7 x% z$ E5 d6 {/ y
  36. getdriverfunc = getsqldrivermysql
    8 f/ }5 g' C0 M. Q8 ]
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ( x0 t- C( j8 v  b9 g; R, F+ @- B
  38. libraryname = path_to_libsqlmy_libary
    + p, |# n- o: |# h
  39. 积极= 1 : t, i3 D6 f6 `* ~9 r  _7 `3 s
  40. ---削减这里--- ' G# b" R( a& W6 V! `2 u. S
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 6 x& v6 H; q1 f5 d, k! V( o
  42. ---例如---
    # ?& w7 D  H5 b1 r! N) X
  43. [ dbexpress ]
    / X2 V. A7 Y3 r' B* u
  44. sqldir = mysql_sql
    ! K, R7 \0 g* i. c1 m4 M
  45. drivername = MySQL中
    ( a' W0 t1 O4 Q. J
  46. 数据库=测试9 i4 L' y  Y" |4 X+ a  z6 \
  47. 主机=本地主机& l2 g1 _8 u1 _! J1 z
  48. user_name = testuser
    $ D* B" h$ h, `$ h
  49. 密码= my_password # m0 O  ~; b! S, ?
  50. getdriverfunc = getsqldrivermysql
    , j  M* z( `: F+ G. l' U6 [
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 , q3 N, M# w& u  x, H2 N% E6 R
  52. libraryname =. / libsqlmy.so 1 R5 N2 `6 K) b3 z! ?. L
  53. 积极= 1
    2 v$ r: y" S2 S( q; R3 e5 A
  54. ---例如--- 7 b+ h- l# N4 w
  55. ; D8 x6 O8 v$ Q% F
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    , V, C! e( f1 q9 `; N  h
  57. ---例如--- . Q4 E, Z- }. x: B5 E  ~1 A
  58. [ dbexpress ]
    ; ?6 V3 I; n9 l( u1 a2 ^
  59. sqldir = mysql_sql
    : \! n4 l1 N/ Y. G0 b: R
  60. drivername = MySQL中
    / d/ ?# h' M  M/ b* h, h5 h
  61. 数据库=测试
    7 h. a/ S# _4 K. C! s. n. d
  62. 主机= 127.0.0.1 ) w  w7 A- M* d: x& j+ R, c8 _
  63. user_name = testuser
    4 r) Y" |4 R' e! T$ e6 ?
  64. 密码= my_password ( P- x" B* s6 T7 e& x
  65. getdriverfunc = getsqldrivermysql
    5 I  g+ ~" c9 n
  66. vendorlib = libmysql.dll在
    ( ~4 Y9 x: X3 @$ r& X' l  e
  67. libraryname = dbexpmysql.dll , f1 Y' s0 f! {! I
  68. 积极= 1 5 J; H$ w' x- I: S1 F( j4 n' G
  69. ---例如----
    ! [/ I8 N0 @/ w8 j  w' u  @0 l
  70. -写在0 2.03.04由p wk.linuxfan" f# v8 c! J* X' q) R# f' [
复制代码
发表于 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
+ M- f3 s8 O3 ?/ o9 _9 B
1 ~; \: N; T2 q- kbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-20 01:55 , Processed in 0.102187 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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