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

3242 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( |9 P& @8 p% n+ d9 p
. m8 I: M7 h0 D, I( I8 d4 P: `

  1. 9 ]; @/ x" u2 ~
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    " Q8 S% n: |9 g: N( m
  3.   r* n0 G$ d( @6 a, ^
  4. ### What we need ###
    ) J9 {- ?# J5 D, F
  5. Naturally, we will need a MySQL server to store the data for us, this document . P$ B" \4 g2 G; g, c/ D
  6. will not explain how this can be done - there are documents out there for the / ^& g3 O* q. K
  7. interested. The requirements include a (empty) database for TeamSpeak to use, ^  E$ e  g: E, `
  8. and a user account (username + password) that has the permissions to do stuff' Q/ I4 n% T, }1 X- [2 N* E$ D
  9. with the database. Additionally, you will need a vendor library installed on the
    5 a5 Y' \- A, K% H5 Q5 S0 s
  10. local machine, this came with my MySQL install." ?: N6 j" D$ I* s0 s. \
  11. These instructions will not tell you how you might transfer your data from the
    . C% Z: `6 R  j7 Q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    1 F* c& o$ S/ I! ?9 L
  13. database.
    / S5 D' d" L- q6 X' y. T% M
  14. Some users have reported ways to import a SQLite database into MySQL, but at# ]( s# e0 x) c, \  E! c0 T3 k) T/ D5 ~
  15. the time of writing, there are still too many issues - check the current status2 @% n. x3 n, X; a
  16. in the TeamSpeak forums if you are interested.# K2 `. z( r2 B2 J' u
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from, _+ R+ a! K7 N
  18. Borland was used. This driver can only interface with the client library that : q( O/ s3 \' P. h! j2 b
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    0 [1 u7 y$ H! ~: }
  20. client library - basically all you have to do is to use a 3.x client library as
      X2 j* W' l: F
  21. "VendorLib" and a 4.x database to connect to.
    * w) m+ h5 f3 A' b: w: n2 G
  22. If you need more info about dbExpress, you can contact Borland.
    % L. K7 ~. u2 ]
  23. ) C9 B, i6 d# m! w8 R
  24. ### Doing the work #### a- N1 R3 v& V
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    . r9 u7 c/ y( ?4 [0 y1 @, l7 |" v" {
  26. the perquisites right, just open your server.ini file, and add this section at
    + U6 L; v5 D4 i1 B1 r( N7 V
  27. the end:- R/ b. @. N' O4 E( e
  28. ---cut here---: F+ o& o  I0 h/ l* o2 f* ~, g9 E
  29. [DBEXPRESS]7 a. L. [" d6 K' Y' K
  30. sqldir=mysql_sql- r( h$ _1 h' |# h+ c
  31. Drivername=mysql
    % Y7 T1 a& _* A
  32. Database=Your_Database_Name_Here- S7 X" G) I  h& T
  33. Hostname=The_PC_the_MySQL-Server_is_on
    + k7 S. l4 y1 z
  34. User_name=User_name_on_the_MySQL-Server
    / D) R0 W, l: P0 S. o5 b& P; o) @
  35. Password=Password_to_go_with_above_user_name
    , o, T1 b2 g0 L& Z$ s
  36. GetDriverFunc=getSQLDriverMYSQL# Z3 Z' |" \, r; x
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    7 D/ k- w  y1 V7 E) D
  38. LibraryName=path_to_libsqlmy_libary
    * f( y1 V9 V' S
  39. Active=1' ?  e$ C1 r$ T0 R5 [& l) s
  40. ---cut here---
    ( d) O  d! B! Y& v- k% Y
  41. In my environment (a linux box with a MySQL server running locally) I have:
    . }- `+ }2 F+ }) Y, m5 f
  42. ---example---, H1 l7 `* c6 v9 N$ ]2 H. a5 M
  43. [DBEXPRESS]
    7 a% p5 t2 c: z5 F
  44. sqldir=mysql_sql
    5 W! Z9 U) u# o2 C; d' Z4 x- E
  45. Drivername=mysql
    " s. R0 v% y+ w- D4 ~" D% n4 {
  46. Database=test' @. P1 `! o* _4 q8 x: @2 O
  47. Hostname=localhost
    0 R. x5 L4 ]  @! t2 }- u# A
  48. User_name=testuser# ]1 ]* I0 c( p- q6 s- W. ~
  49. Password=my_password
    - z4 \+ g: m. E8 J
  50. GetDriverFunc=getSQLDriverMYSQL
    " F0 x) n! r" ~5 t# f$ l
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    0 r/ U% h3 [* G! A, k
  52. LibraryName=./libsqlmy.so% R( H/ G# Y% Q
  53. Active=12 s$ U: C* x4 ?9 s
  54. ---example---8 E+ }8 h$ L$ m" Y7 F2 C2 m& E

  55. 8 N- y1 j( X4 x# d
  56. On a windows box, also running the MySQL server locally, it would be:6 s1 u1 F  a) A' U0 P* H& {1 S- A
  57. ---example---
    4 t( ~9 `8 y  e3 x
  58. [DBEXPRESS]
    , n- @. n7 Y3 n) [
  59. sqldir=mysql_sql. @" s( U3 t& P! P$ b
  60. Drivername=mysql
    ) ~( R) V% ?9 w3 G2 t7 J
  61. Database=test$ i4 N7 m% n0 r$ @2 n
  62. Hostname=127.0.0.1
    1 K7 O& k0 W5 ]
  63. User_name=testuser8 d) C0 }$ `* n; c" |: Y3 ~5 m9 X
  64. Password=my_password
    4 K  @* ~8 C! |  F4 E
  65. GetDriverFunc=getSQLDriverMYSQL
    * R/ k0 X8 I& T4 h" O
  66. VendorLib=libmysql.dll
    & B5 i) P+ [7 F  {3 ~
  67. LibraryName=dbexpmysql.dll
    # W/ _/ q$ N6 E* T1 ^
  68. Active=12 X( j6 [+ V' C% h8 o8 F/ {
  69. ---example----
    # x3 l3 S: H7 x/ [* K" X$ O, L
  70. - written 02.03.04 by pwk.linuxfan
    . p8 v( Q: Y/ m- x" F3 @0 J
  71. 4 l6 G# d- _4 j
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看; V; G4 {3 j4 y6 D; ?0 k6 A3 b0 }$ X

  1. ; W( a9 u) r  g4 I3 {
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######   z% v+ v% K- p% I6 j4 T( Z- [" Z

  3. 3 @6 e1 e4 |, b5 _4 P- ~
  4. # # #我们所需要# # # . M, N# H* S8 V# Y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    + h( m" Z# A& ^! P# ?
  6. 不会解释如何做到这一点-也有文件存在,为) Q8 Y: ?; J4 }! ]3 P
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    8 e4 c1 A; r9 n8 v$ j1 P9 n0 L$ ^
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西3 M5 }6 o: E3 q  q; ~9 O2 \* }
  9. 随着数据库。此外,你需要一个卖方图书馆安装于& S1 K- l' j; z
  10. 本地机器,这是我的MySQL安装。
    1 C, H  O$ r# t
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    $ j9 b' p3 I0 I1 s2 G5 i  {, P
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ' _& ~4 Y( G6 @& `6 I5 A
  13. 数据库。
    ' q+ a3 I3 W3 q" w3 a
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    " {  l0 K0 M, ^' {' k6 S, ^; a' N) O/ x* d
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ) {1 C+ u8 m7 q' u) v
  16. 在teamspeak论坛,如果你有兴趣。
    % J" i. R% s' z; ~& b. B& P
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ; Y, c) q$ I, R& Z3 F  N( M, x( ^
  18. Borland公司使用。这个司机只能界面与客户端库
    + d6 z8 V, l* g3 b* G$ \" n
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    0 x$ E- U: O/ X6 ?8 w
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为% o$ u, T& ?% v4 I: L+ ?0 O# e$ I
  21. " vendorlib " ,并解数据库连接。 8 ]$ J% W: T* {8 n% d' C* J
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    " I; B+ n8 t0 \  ^  S5 U# F% R) q
  23. ( r# @4 ?) X% C& m
  24. # # #做好工作# # #
    ( ]+ [. g( O1 p1 [  s4 `
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都9 f$ n2 f2 h1 m& Z8 C: W
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    9 z. J0 A$ A. i
  27. 结束:
    % \) p2 Y1 \& A. ?9 y8 O3 U6 K
  28. ---削减这里---
    5 r$ ^$ E# H! ?3 N/ {/ U. g
  29. [ dbexpress ] ( N+ V  X4 x2 g" e& v' C. O2 H
  30. sqldir = mysql_sql ) \& H0 j! D/ s4 T
  31. drivername = MySQL中% {0 ?9 c& H0 s: ]
  32. 数据库= your_database_name_here   @7 m7 G: C6 G: K  X
  33. 主机= the_pc_the_mysql - server_is_on & @9 S* m7 g: N) c: y0 L
  34. user_name = user_name_on_the_mysql服务器
    2 u+ q2 K. [: u4 Q* B
  35. 密码= password_to_go_with_above_user_name
    . s" l. }+ x4 |' u) [5 ]
  36. getdriverfunc = getsqldrivermysql / P1 p& J& G6 D- `& h8 u4 r- l
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib & I2 s7 S  o$ N" I$ a) f( n! y
  38. libraryname = path_to_libsqlmy_libary
    & a3 X2 ^7 T0 n
  39. 积极= 1 ' d6 L" k9 ^2 r) n  ]% a( h
  40. ---削减这里---
    6 j% v" S; Y2 l4 Q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 X/ S* G) ?- [# O- m
  42. ---例如--- ( r5 m/ |( J! v/ g2 W& a9 c! b9 X, `
  43. [ dbexpress ]
    6 L/ z9 f) }" M0 s4 ^0 z/ s
  44. sqldir = mysql_sql
    - U0 n5 N2 Z* \' y) X. d3 _5 v" C
  45. drivername = MySQL中
    ! Y! O+ [' v4 C+ T( k2 h/ }* L
  46. 数据库=测试
    7 P' m5 ]0 l& C# z8 `- ^
  47. 主机=本地主机
    , U, O' X: ~* B$ Y; }! v
  48. user_name = testuser
    , ?! w  k( N' b5 R6 V  d
  49. 密码= my_password
    * Y5 |+ |8 S/ n4 v
  50. getdriverfunc = getsqldrivermysql % z$ j, Z* ?: D' V9 f) |
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    / d% F( |2 O8 W( V7 i9 s
  52. libraryname =. / libsqlmy.so
    + i( q4 F2 }" R, S
  53. 积极= 1
    . ^9 s% G; R( S" D
  54. ---例如---
    # [% j! X* C8 B9 {3 r+ n+ ^

  55. ' ?" D4 z% k% G5 ]5 y, Z0 G
  56. 对Windows中,也运行MySQL服务器本地的,那就是: & U3 f+ m2 j* h, S$ y3 ~
  57. ---例如---
    9 q1 W3 g9 V9 v3 \1 @
  58. [ dbexpress ] - q" b  X7 d+ o6 @
  59. sqldir = mysql_sql
    ) c3 Z+ G& I( X! C# B- b
  60. drivername = MySQL中% ^# O1 ^  `. d1 T
  61. 数据库=测试
    0 C4 H% e4 a: V# H
  62. 主机= 127.0.0.1 , f% ?9 M. B$ r) I' t
  63. user_name = testuser ( v1 D! T( M: I( g( B3 m
  64. 密码= my_password ( S1 Z& o2 c: ?6 R: }
  65. getdriverfunc = getsqldrivermysql & ~1 @3 z, f3 e+ u
  66. vendorlib = libmysql.dll在
    . O# L5 h: ^4 n
  67. libraryname = dbexpmysql.dll
    0 @' x$ Q& ^6 k% @
  68. 积极= 1 % U4 d  p. `9 b7 J6 C! C5 R
  69. ---例如----
    : ~, L3 [" ?7 [2 A& z+ y
  70. -写在0 2.03.04由p wk.linuxfan# T7 M; F# H4 s$ D+ Q
复制代码
发表于 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* a6 l: q; V" D2 t, b  S( v
" {- i% h) q2 t0 ]& Y: o
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-27 11:14 , Processed in 0.094733 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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