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

2563 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
: k! b- K3 r# m- _" y& O
8 \9 M8 H  ~( p. {8 K3 D% i% i5 I
  1. ( @, c$ z' b+ O7 W5 Q2 N
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( W6 T- b2 x- R9 Y5 I' v6 k

  3. 3 v  |! H, k4 y# Y, p3 v  G, W% z
  4. ### What we need ###1 p* j3 j6 E0 b: {4 g
  5. Naturally, we will need a MySQL server to store the data for us, this document
      h$ A( a' H& x
  6. will not explain how this can be done - there are documents out there for the " \' O. t( x$ s
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ! s: ~% B" q, X% _1 ~
  8. and a user account (username + password) that has the permissions to do stuff& v, q5 _5 P; E
  9. with the database. Additionally, you will need a vendor library installed on the
    . R  B) n1 A1 {2 s0 S* a+ ^
  10. local machine, this came with my MySQL install.3 }2 f3 t  y$ ^. B, l
  11. These instructions will not tell you how you might transfer your data from the7 ~* \  O4 S) s  |; w. m1 {
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    & G/ `+ E2 h3 L7 N4 Z  Z
  13. database.
    + u, I* g9 J0 i5 K0 {# s, e
  14. Some users have reported ways to import a SQLite database into MySQL, but at6 H' Z4 P: o; B* I
  15. the time of writing, there are still too many issues - check the current status, m1 g. ~  {6 ?% l. V
  16. in the TeamSpeak forums if you are interested.# X. n8 }: W/ q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from1 z; L+ @- D" c' r
  18. Borland was used. This driver can only interface with the client library that ) @- f9 u+ R( _( n) a+ L
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this1 Y  h: [; V6 I+ \4 |9 z* s& R8 Q2 ?; N
  20. client library - basically all you have to do is to use a 3.x client library as 8 g2 t# V% d( F/ ^
  21. "VendorLib" and a 4.x database to connect to.! n: }+ v* ~6 d/ B
  22. If you need more info about dbExpress, you can contact Borland.0 n6 x! U3 i% p$ u. i2 X- ?
  23. ' K2 u  _/ W2 ^2 H7 `
  24. ### Doing the work ###
    , o6 [2 K# a: u
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all2 r  g  V! I# g( V9 a5 O, a0 V
  26. the perquisites right, just open your server.ini file, and add this section at
    . W, g: Y* G" F2 i# b+ r
  27. the end:
    - P, R, c! |7 g8 |2 V$ d
  28. ---cut here---4 c$ u3 {2 O, x% U6 S" g
  29. [DBEXPRESS]5 o3 o3 F0 Z. ~" M" V$ L
  30. sqldir=mysql_sql
    ( P) w2 M" `* x7 T* T8 b- }
  31. Drivername=mysql/ h( W8 v( h9 `6 d. ?8 Y
  32. Database=Your_Database_Name_Here
      ?4 l& e( ^  w! r6 I/ u5 E
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ; r* Z0 d5 {1 d. O  A7 i
  34. User_name=User_name_on_the_MySQL-Server
    * l$ @4 X5 p2 \! c3 T. N0 A
  35. Password=Password_to_go_with_above_user_name1 C  u' \! [; C/ v+ g3 y0 N
  36. GetDriverFunc=getSQLDriverMYSQL
    / G3 X& U+ a5 d2 H1 M- A
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib6 O3 d' @, U1 q3 d8 W6 O
  38. LibraryName=path_to_libsqlmy_libary, ~! k7 s# T8 t& v) @1 h
  39. Active=1- q$ R5 N+ M/ s; f2 h8 ]
  40. ---cut here---
    & {! H: a, `" g; p! K1 i
  41. In my environment (a linux box with a MySQL server running locally) I have:: j% B- A. x1 |" n8 g6 B) a
  42. ---example---
    3 e- l) [& L' x$ r
  43. [DBEXPRESS]
    6 K  |0 G! M  N. [
  44. sqldir=mysql_sql3 H( [; [* v# o; k- c# ~
  45. Drivername=mysql
      T; p( |, l: S$ Z
  46. Database=test
    5 ]' y  w% d5 R: L  q6 o2 E' E
  47. Hostname=localhost& ^4 w7 |4 K; r( t) P/ I- D' S% x
  48. User_name=testuser- f% r9 \, p$ W+ T& g7 H! M
  49. Password=my_password
    . q8 z7 s1 [- y- ~+ Y9 _
  50. GetDriverFunc=getSQLDriverMYSQL
    . E, r1 e: [+ G+ f# r
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    5 @; u  o1 I9 Z1 A# M% @) a+ X
  52. LibraryName=./libsqlmy.so
    2 R: L. T/ t' l! b
  53. Active=14 r0 T" P, H' g* L5 F* Z' L# d
  54. ---example---
    $ ^* {, ^1 N1 H6 ]% R1 L% z  p
  55. 9 G/ ]' `" c* z) l2 c' M
  56. On a windows box, also running the MySQL server locally, it would be:
    $ f) b( o/ F: v! H+ s
  57. ---example---
    4 y; R, F  n) u; Q
  58. [DBEXPRESS]
    , o% a4 g: y/ `) [
  59. sqldir=mysql_sql
    ( C2 e3 T2 a" F8 {2 O
  60. Drivername=mysql
    ; q$ H8 A. @4 M+ S' @2 _
  61. Database=test
    , b- T0 c1 \% q( M) b: }
  62. Hostname=127.0.0.1
    ! q) |9 w. r' H# x
  63. User_name=testuser
    " V7 r( u  j* g% ]& f- L
  64. Password=my_password) }8 c7 Y; E- H, Q  D' e
  65. GetDriverFunc=getSQLDriverMYSQL8 J# q! c+ N" ?
  66. VendorLib=libmysql.dll
    # [  O2 z9 g* ]# l7 K
  67. LibraryName=dbexpmysql.dll
    6 Q) M1 e3 C/ [9 k, |4 C: b" G
  68. Active=1
      |( `  ?" z" i4 H
  69. ---example----
    3 P, n# \+ ?5 l8 \6 f
  70. - written 02.03.04 by pwk.linuxfan
    . F  |$ E6 C6 d7 f+ r4 Q
  71. / U9 e7 C) @( C
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
8 a* c9 C" d! @8 v: u# n
  1. 3 A( U! s7 g0 c$ m* M8 s6 f
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ) R3 L/ @  A8 G+ x+ \4 V4 n' E
  3. - n5 s; h' p! w+ Q
  4. # # #我们所需要# # #   Y  L# p  u" o2 ]
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件1 K) {  b# ~- [! Q
  6. 不会解释如何做到这一点-也有文件存在,为& V% u' [1 u, Z  _$ y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    5 d3 P9 Q; v" ~- b3 H8 k9 k
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西* b7 ?" p% w0 X7 F
  9. 随着数据库。此外,你需要一个卖方图书馆安装于! `1 ~7 n/ \8 P: F0 ]/ S- u
  10. 本地机器,这是我的MySQL安装。
    # }4 H0 y0 f3 Y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    % E( `6 X. J6 {/ h" r
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    2 W4 H( p. D% ]8 u/ h
  13. 数据库。
    % g, t& i  U  s9 f& M- N( D& K
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在) `, V  t. B, l. b1 i/ o
  15. 编写本报告的时候,仍然有太多的问题-检查现状7 ~- Z" P$ W! }' p4 H5 A& l
  16. 在teamspeak论坛,如果你有兴趣。 " j3 Y8 C5 _+ G' L
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ' I) Q& K- h9 t) Y
  18. Borland公司使用。这个司机只能界面与客户端库
    9 K3 U* O3 l% c" ~: F
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这' Y$ Z; d4 O1 x( n1 b% f
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    & X% p) ?+ V4 }
  21. " vendorlib " ,并解数据库连接。 / a. P( Q! k* G6 z8 i! v
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 4 a$ h* }4 `# x/ h* p
  23. 3 d+ t" n9 ]. E! D) g
  24. # # #做好工作# # #
    3 ]+ G0 _! l. J
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    + D6 i! N7 N) o6 G5 H
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    5 p0 J, N8 L( T: p* k+ E
  27. 结束:
    " Y* m7 D" ^2 c; y
  28. ---削减这里--- ' f; v7 n" @/ G  m% [8 J
  29. [ dbexpress ]
    ) t. A! u/ ^9 \& A$ \" u9 h6 L
  30. sqldir = mysql_sql $ s( ~3 S$ b0 j1 \5 _* u
  31. drivername = MySQL中; {9 g* g; \: _5 r
  32. 数据库= your_database_name_here 7 T7 Q9 e" E2 r2 I! O! d) D% C
  33. 主机= the_pc_the_mysql - server_is_on ) ~/ a' C  k' L4 c2 R: w& C0 A
  34. user_name = user_name_on_the_mysql服务器! K$ U( n: C) j: S3 H! g
  35. 密码= password_to_go_with_above_user_name
    6 L1 E) `" a- `( }1 {
  36. getdriverfunc = getsqldrivermysql
    ! Q3 F5 d/ T: _2 L
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ; W2 s, ~6 O) o/ ]: ]4 W5 F/ U
  38. libraryname = path_to_libsqlmy_libary # m3 P9 {! d5 o" q1 I. L
  39. 积极= 1
    , d% I7 a2 b; M6 m
  40. ---削减这里---
    0 @9 |3 R& J/ h' F$ O5 K0 x
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 2 b8 i$ ?) y& y  b9 G. z4 E* x
  42. ---例如--- ( W: B. q1 G8 I
  43. [ dbexpress ] " `9 b: o8 t' V
  44. sqldir = mysql_sql   q8 u% x) O8 P& p) a4 O
  45. drivername = MySQL中! [- p: q) M7 R9 J' k
  46. 数据库=测试2 B0 Q  v- p' Z. V- |' {/ n! s
  47. 主机=本地主机
    4 n' x! U7 I- O& @5 E* a
  48. user_name = testuser ( ~5 p& ^8 ^0 B
  49. 密码= my_password
    " j+ x7 K8 j+ ^5 V
  50. getdriverfunc = getsqldrivermysql ' {7 I/ @# m4 P% l# F
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 0 B7 P% _( D4 U; r4 ~7 p
  52. libraryname =. / libsqlmy.so
    ! K9 x  E# v2 ?
  53. 积极= 1
    / @  E# @: }! A# [
  54. ---例如--- ! a- e' Q. R3 h, I" ?
  55. & }- j& H) I2 s4 w  S4 v
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
      c% |+ |+ g) r) i  h( {4 M
  57. ---例如---
      v0 r6 y2 F$ m
  58. [ dbexpress ]
    ; q" i( O+ Q& `& l8 F
  59. sqldir = mysql_sql
    9 }8 l7 i- L, j+ ^  V! ^
  60. drivername = MySQL中
    9 a" a3 R1 }7 a* E' d2 [
  61. 数据库=测试1 l5 d" c1 d5 J* L+ Y) j5 z
  62. 主机= 127.0.0.1
    " |  \# L& Z* ~7 w( L( x
  63. user_name = testuser
    9 m% P! [2 v& n" @4 G  v: \" V, D7 c0 [
  64. 密码= my_password
    # g9 f7 v1 l4 G* i' M
  65. getdriverfunc = getsqldrivermysql % n/ Q' g2 S+ H) |: ?
  66. vendorlib = libmysql.dll在
    3 d0 P$ U$ _8 U4 |& j
  67. libraryname = dbexpmysql.dll
    : y& U6 W7 s) N: m. m
  68. 积极= 1
    0 }8 H0 _- N# W9 r
  69. ---例如---- , u2 x: g! ^8 ]
  70. -写在0 2.03.04由p wk.linuxfan
    ( Z" d, V! y6 e3 W
复制代码
发表于 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
( f  z, A- S0 I1 r* j% m. g) U2 V' }9 z2 X& \4 z
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-29 02:16 , Processed in 0.108640 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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