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

2658 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
9 _# |9 s) {& i
2 l- p! v5 T/ |
  1. 1 ?2 a  |# `" W* M9 d  a/ I
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######0 L9 H* q' g% ]+ P

  3. 8 p# V. P" C1 M. y- A$ h1 j5 t& c' m
  4. ### What we need ###
    , h$ S( ?. S& J" T+ b6 P
  5. Naturally, we will need a MySQL server to store the data for us, this document " U4 S& J8 R2 W  M
  6. will not explain how this can be done - there are documents out there for the
    - y! Y6 l% Z% `5 u
  7. interested. The requirements include a (empty) database for TeamSpeak to use# v9 G( S) p# W, m
  8. and a user account (username + password) that has the permissions to do stuff
    4 R9 `# l9 `% A0 X7 d7 ^% D) G
  9. with the database. Additionally, you will need a vendor library installed on the& \, ]3 U- o* a" D0 A: f' f, V) a3 E
  10. local machine, this came with my MySQL install.2 L( f2 ]; K: J- O6 b
  11. These instructions will not tell you how you might transfer your data from the
    6 ^8 P3 [4 N( S* P
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL/ X4 M. X# H9 V& K; m" `
  13. database.
    - [1 \- F, \+ y' j9 C
  14. Some users have reported ways to import a SQLite database into MySQL, but at$ h; \! B* ~& d6 ^/ |1 L6 {5 H
  15. the time of writing, there are still too many issues - check the current status9 m: E  _/ m0 h- d% A, _- [" K# s
  16. in the TeamSpeak forums if you are interested.
    4 B' N7 Q3 o# ]# V, w
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ( Z) |2 Z+ H2 j9 O& t% l6 W9 g
  18. Borland was used. This driver can only interface with the client library that 4 [9 v5 R: M" f/ G
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    9 C0 D/ t1 O" E
  20. client library - basically all you have to do is to use a 3.x client library as
    * I& [) \0 d: {, N+ v# x& i, s
  21. "VendorLib" and a 4.x database to connect to.
    5 L0 a6 H$ H) z2 `* W# w4 t" {& Z
  22. If you need more info about dbExpress, you can contact Borland.3 F! C% V; B/ D- \' t
  23. 2 \* r8 P6 n* w& Q" s6 ^7 k2 c
  24. ### Doing the work ###
    - O, G. R8 n9 _; t; @  u
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all; }" g, r) h! Z; p. H1 e. x
  26. the perquisites right, just open your server.ini file, and add this section at5 P# P4 a% Q* u: y: ^2 E; Y
  27. the end:& M3 l) q( C8 c% o/ T5 [
  28. ---cut here---5 q0 G& @! {- h3 R: D
  29. [DBEXPRESS]
    5 I- f+ t5 y" A* R
  30. sqldir=mysql_sql  F$ e6 p. {  Q' W0 `
  31. Drivername=mysql" j5 t. H$ i; s
  32. Database=Your_Database_Name_Here" ^4 _% K2 l( e) D; e" V7 E
  33. Hostname=The_PC_the_MySQL-Server_is_on
    " N% I% z: t$ u( d
  34. User_name=User_name_on_the_MySQL-Server
    ( V7 D. ?3 L; D0 |; `% K
  35. Password=Password_to_go_with_above_user_name3 O$ h9 U2 K6 }  w
  36. GetDriverFunc=getSQLDriverMYSQL
    4 G6 C0 Y; _& d
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    - b& y$ Q% }" c5 H6 b' }
  38. LibraryName=path_to_libsqlmy_libary6 m' w8 f9 m; X! h2 S
  39. Active=1
    * x6 }" }8 M! L$ ?
  40. ---cut here---4 A" E* |- s+ `3 s0 n* R
  41. In my environment (a linux box with a MySQL server running locally) I have:
    + L  Y; Z+ J- ^: a, l# k- ^
  42. ---example---
    , W# u2 x0 V2 w& a5 U- C) ^7 v
  43. [DBEXPRESS]
    % G* B) ~6 W7 s- ^7 L
  44. sqldir=mysql_sql
    6 n4 [3 D9 r' j; P5 @# ~5 I
  45. Drivername=mysql2 K+ d7 v/ |8 I$ m
  46. Database=test
      [5 T1 V8 {, z! m
  47. Hostname=localhost
    & _; H/ u; @% d: ]+ |" {$ C
  48. User_name=testuser0 _8 b$ O! `* L9 \
  49. Password=my_password
    8 e( @7 P2 O( a# l/ t; g
  50. GetDriverFunc=getSQLDriverMYSQL
    & n2 b# U4 o! m1 d' ^- Q5 r/ ~
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0( C) P; `/ E: Z4 P
  52. LibraryName=./libsqlmy.so
    ( G6 D5 w/ L6 ~1 c
  53. Active=1
    1 C8 R5 ^: v& \7 V3 ?+ _
  54. ---example---3 j1 c- N) C/ Q7 g- }& K* B
  55. . N- l6 Y+ l( y: [- q
  56. On a windows box, also running the MySQL server locally, it would be:- d* e" d5 _1 p1 p
  57. ---example---9 _0 P8 o8 q$ Z% |9 u
  58. [DBEXPRESS]
    . D0 M, q' p$ I1 \3 d. V
  59. sqldir=mysql_sql
    0 h  t2 d# P2 P3 R9 `; c- o
  60. Drivername=mysql
    # Z$ \# \! J- A8 w" E' O
  61. Database=test1 O! b2 n' q5 F( m: e
  62. Hostname=127.0.0.1
    * f0 ]: v: D' ]; y/ Y0 ]1 b' b
  63. User_name=testuser
    ( [  u3 y5 G1 H* ]+ v9 k7 _
  64. Password=my_password
    ' k8 ]( ]- m( P' g
  65. GetDriverFunc=getSQLDriverMYSQL4 ~  h1 P% R, G" z- V9 F
  66. VendorLib=libmysql.dll0 l' A+ X% b9 ~0 L8 X( F
  67. LibraryName=dbexpmysql.dll( a% B4 t1 x1 a3 Q' _
  68. Active=1. x% d( i3 A, W7 P5 v$ e) M
  69. ---example----3 Q3 c! y; U# S6 G8 t: u
  70. - written 02.03.04 by pwk.linuxfan
    9 I( D% d) }. z; g; S0 S

  71. ) ]2 _4 E4 O7 W, h" y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看# H; s4 i0 C. X
  1. + t# F+ U  b) A4 \* H
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### * Q1 j: h, O7 p3 N: g* U: |

  3. , J* W% ?- g6 w5 S5 Y+ Y8 Q
  4. # # #我们所需要# # # ) D! D' k3 J" {
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    7 |7 p# L4 P& ]% @4 I
  6. 不会解释如何做到这一点-也有文件存在,为  y4 F$ i  n3 h+ Q: ?
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    8 p& z3 w/ p0 @! r, [2 J0 e
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西5 R' c: c* `) d+ z2 w4 \
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
      D5 U& ?$ U/ w
  10. 本地机器,这是我的MySQL安装。 : k" W+ p- X* ]% D+ x; n5 r- ~
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从% Z, H. F  M: K  V. G4 i
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    8 K9 i; J1 _% _- |1 o
  13. 数据库。
    - V8 d* [2 Y" @. K1 ?
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    $ Q. M" J& s( Y  D, d; R
  15. 编写本报告的时候,仍然有太多的问题-检查现状% w" ?! U/ h- |+ N  t6 D# Q
  16. 在teamspeak论坛,如果你有兴趣。
    , x- _& `' b3 D& T# T! B/ K
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    2 Q4 e6 x$ ]  W: ~
  18. Borland公司使用。这个司机只能界面与客户端库+ R6 B3 t+ \' l
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这: ]/ L4 r! x( r; u% ^
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为% \5 _  a, h% {6 w0 r& j7 H
  21. " vendorlib " ,并解数据库连接。
    7 z4 ^1 @# b1 J
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    * Q  V7 s( w8 z) Q

  23. ; x. W" I3 _& W) o) g$ _
  24. # # #做好工作# # #
    2 Y! J2 A3 `. W" T
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都9 B. X( r' e! A
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在7 P- s& m: G1 ?4 f) j5 {6 ?3 T
  27. 结束: & V: r) b! e& |
  28. ---削减这里---
    % b. A2 o2 c1 M
  29. [ dbexpress ] 6 J, Y" [' Y& o; ^/ f
  30. sqldir = mysql_sql
    / E* b0 m" [  a
  31. drivername = MySQL中
    ! u8 I# |3 p% k" q. S8 W
  32. 数据库= your_database_name_here
    " M% E, t# ^5 @
  33. 主机= the_pc_the_mysql - server_is_on ; t' U0 e) p6 ^9 z% l& G
  34. user_name = user_name_on_the_mysql服务器
    & W3 J+ y; {7 w* x* z, W
  35. 密码= password_to_go_with_above_user_name
    4 _2 ~5 R7 ?2 b3 h. a7 |! f
  36. getdriverfunc = getsqldrivermysql
    , i; j2 E9 u5 R, c! V8 k: h/ q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib , C8 p) v& M! j3 n' ]6 c
  38. libraryname = path_to_libsqlmy_libary
    / F* |8 R) ~  A7 K$ M7 ~' R/ w
  39. 积极= 1
      l  @) o9 n+ X0 r
  40. ---削减这里---
    " ~2 C4 Q. m# Q* n- Y$ ]- N4 s
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ( K4 o4 P3 {0 H! I& d2 m- R7 u
  42. ---例如--- . K. M3 p9 U3 P) N6 W
  43. [ dbexpress ]
      v( e1 i- H9 J" r4 G3 H
  44. sqldir = mysql_sql : R9 G1 }9 P- F
  45. drivername = MySQL中6 @, M" u& y$ s, t! M& R$ ]) r+ Z
  46. 数据库=测试
    9 y4 d! n; }: y* w; {9 X! O6 \
  47. 主机=本地主机- z9 e( o4 f8 }$ L! W
  48. user_name = testuser ; J1 q3 }* Z  A, \4 o
  49. 密码= my_password : L7 o4 u" D+ j) b2 k
  50. getdriverfunc = getsqldrivermysql # W2 G0 t+ ?7 Y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 / a$ n6 l- C1 V# i( s( q* [
  52. libraryname =. / libsqlmy.so ! R: \  C$ M! l. Y8 |
  53. 积极= 1
    3 [7 X1 j3 p! n; {
  54. ---例如---
    5 U/ P. S) X! @" H5 ~+ n8 T" J. G

  55. / R: @( R* s# F, ]2 [% d
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    8 Y3 p: \3 B) x3 s' z$ Z
  57. ---例如---
    / |  }- b' m; z# X
  58. [ dbexpress ]
    $ @8 ^& `: G* I2 t8 x# c
  59. sqldir = mysql_sql
    " w  q! o. z7 c/ q9 e) e1 r
  60. drivername = MySQL中
    , {4 O1 p1 ^9 @2 d# v
  61. 数据库=测试' T& V3 B$ Y% ?# C! H
  62. 主机= 127.0.0.1 ' ~3 J& o/ k; }6 E  c/ ?
  63. user_name = testuser
    3 ?$ u/ M3 Q& y9 I7 a3 h
  64. 密码= my_password 0 M6 V5 g0 l! z" r$ A% E' @
  65. getdriverfunc = getsqldrivermysql 2 i1 {9 @. E- d2 i: K
  66. vendorlib = libmysql.dll在/ X# m9 D* S. X, U& A
  67. libraryname = dbexpmysql.dll
    ( t. }0 l) O. ^1 b7 d6 x  v5 g- P
  68. 积极= 1
    + y, R4 b9 V( D8 u
  69. ---例如---- * K! _' F9 x! B! R- h; u, i
  70. -写在0 2.03.04由p wk.linuxfan; S6 H7 V7 X& ]; l6 a6 x! D
复制代码
发表于 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 words9 V  \$ ]8 }' X! p: ^) a5 m
/ D/ k2 d% S/ ^- E3 V3 e
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-24 02:32 , Processed in 0.108582 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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