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

3284 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 2 g5 K- U9 [& ~8 c# `
1 z% n& v6 I  X; x

  1. 9 U* ]: ^5 q: p3 v& m2 |( V
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######6 ~0 U7 ^6 e% A! L0 G6 m+ J% x) u! b

  3. . ^+ M: w- g; y2 I' \/ M8 C0 I
  4. ### What we need ###/ P3 V" B/ y% Y: j) w5 e- t! e- `. R
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ) Z& a3 Y' q3 c  T
  6. will not explain how this can be done - there are documents out there for the
      h* k% J: k( f5 W( ?/ A1 D) t8 b: T
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    " C3 _( C# v* c7 B
  8. and a user account (username + password) that has the permissions to do stuff
    4 H: `9 ^* L- G8 C
  9. with the database. Additionally, you will need a vendor library installed on the; n6 S  a( Y6 k) K) g: W
  10. local machine, this came with my MySQL install." _" `( g. L1 a# [# o$ T: F
  11. These instructions will not tell you how you might transfer your data from the+ r: ~# M- Z+ ?- F0 \( j" ~
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL1 |1 F0 h$ M& c
  13. database." v% {0 W3 e9 O9 ^. u
  14. Some users have reported ways to import a SQLite database into MySQL, but at& W3 O3 M2 V8 q+ o( f, R
  15. the time of writing, there are still too many issues - check the current status
    6 c" P! A% V1 u
  16. in the TeamSpeak forums if you are interested.
    " j2 v9 x  Q7 ]' m. D
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
      Z, i5 K6 k/ Q' J
  18. Borland was used. This driver can only interface with the client library that $ R; m+ ~2 C6 O$ x, o
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this& Z0 D: l" p9 o' g, f4 b2 j# f* {0 e
  20. client library - basically all you have to do is to use a 3.x client library as
    / V" G. t8 A8 b- b1 P4 i
  21. "VendorLib" and a 4.x database to connect to.0 m* U8 F5 }; r! v: `* B
  22. If you need more info about dbExpress, you can contact Borland.& D  H" j' w5 X2 a( e! n

  23. 7 f' {" M9 G$ S$ u. e/ j
  24. ### Doing the work ###$ W6 t% s  |5 X3 u) Q: `6 s
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    . @0 z; I0 I2 b/ j8 L8 U
  26. the perquisites right, just open your server.ini file, and add this section at+ ]' C8 m  e+ p& |" Y5 w. F
  27. the end:$ @1 `" s6 |7 [
  28. ---cut here---
    1 j% [* b9 L" p+ F5 L, h( N; K
  29. [DBEXPRESS], y* o5 G& p5 N  r5 B  `5 t
  30. sqldir=mysql_sql
    & L/ @1 p7 k3 _
  31. Drivername=mysql: Q0 ?& Q4 N9 v( i
  32. Database=Your_Database_Name_Here- E+ N4 ^# o2 |+ d9 X4 T
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ) _/ V, }' {+ J" A# E5 E; t
  34. User_name=User_name_on_the_MySQL-Server# U& b$ f2 b+ c& F) H) C
  35. Password=Password_to_go_with_above_user_name; Q6 k. w  X& k4 M
  36. GetDriverFunc=getSQLDriverMYSQL4 b, D2 c/ M6 w, q4 ^$ k+ [- m- w2 B
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    # K* i" ~/ V0 E9 e1 {- J
  38. LibraryName=path_to_libsqlmy_libary
    9 e6 E/ }9 t% j
  39. Active=1! y; `* N, a% A0 [0 P
  40. ---cut here---5 t& u9 |, A, d( ~  V) H
  41. In my environment (a linux box with a MySQL server running locally) I have:
    7 l" w+ Q" U+ P- Z5 c
  42. ---example---7 D/ y2 z; u7 w
  43. [DBEXPRESS]; P: L6 w6 g0 L; V2 \4 K& |6 U" }' [9 @
  44. sqldir=mysql_sql
      t4 l% E: d8 L& F
  45. Drivername=mysql
    6 Z$ n6 Y/ D1 @% b8 m
  46. Database=test
    ' o- L* P/ U% `" r4 J
  47. Hostname=localhost
    7 }, {. Z& l' p  T! Q/ y' m
  48. User_name=testuser' {% ^) S  n3 w
  49. Password=my_password
    ! q% f9 {1 B, y
  50. GetDriverFunc=getSQLDriverMYSQL, |" D% M5 h* n
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0! A2 {& g& L9 F9 ^
  52. LibraryName=./libsqlmy.so
    * Z) {# `" l: k/ Y8 M
  53. Active=1$ u7 w6 g& k% j6 |
  54. ---example---
    1 k9 d: l+ x% V" {

  55. ( f  w9 [& o" x6 ?6 C# }+ l
  56. On a windows box, also running the MySQL server locally, it would be:5 B" o% Z$ E2 L( x+ n8 _2 a
  57. ---example---
    ! G1 N- `( u0 a4 D) f
  58. [DBEXPRESS]
    ) M. f# M  M1 G3 k
  59. sqldir=mysql_sql( B, e% Z4 O' l; T, _6 X9 V
  60. Drivername=mysql, T& S# W# P- j
  61. Database=test
    0 ?% k- v4 D/ j
  62. Hostname=127.0.0.1
    ' r% A+ W$ |6 I/ w) }
  63. User_name=testuser6 k3 s5 n$ x' \
  64. Password=my_password
    3 V! _! O: S3 D8 I2 J6 Z
  65. GetDriverFunc=getSQLDriverMYSQL0 W' a2 e, Z3 E: I! m) u0 t* H
  66. VendorLib=libmysql.dll: w9 c) F8 ?- u3 u4 y% ]
  67. LibraryName=dbexpmysql.dll1 U! l9 W! I9 z# W
  68. Active=1
    4 K8 R6 D2 ~3 a. V# R
  69. ---example----0 i! u' _2 b% d6 I5 |; J# c' z, \
  70. - written 02.03.04 by pwk.linuxfan
    ' z- ?, n6 u6 D( ]( U) D9 T  B- Y
  71. 8 P0 j3 \* V/ H9 K; \# L
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看+ X& A2 M  p7 [; r+ d4 k# H5 @
  1. : Z( t) _  e9 @/ {8 ^; `3 L
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 5 C9 h7 M" F/ T( t- s1 @
  3. . D/ ?# R( A9 M8 e
  4. # # #我们所需要# # #
    3 r, n+ T! ~& ?( b# v' A3 V
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件: ]# d8 ?5 Z1 v% m' t
  6. 不会解释如何做到这一点-也有文件存在,为+ o$ t& T3 z( {/ {
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ) U+ A- C# ]# v1 B
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西4 o: c4 N3 _. \5 c, _) E
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    * ]: p! ]+ k- A% }! d
  10. 本地机器,这是我的MySQL安装。
    7 J9 B  d$ x: ~) u1 I/ Y9 t
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从" S- H; t' U' x9 @! E& b. [" J6 |2 x
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 2 n, P$ W8 Z" D# C# \
  13. 数据库。 * o* z" ^2 V% ~# J1 o1 B
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    " `7 M. T( b: X* i
  15. 编写本报告的时候,仍然有太多的问题-检查现状# g$ ~. L; M3 S2 q: E
  16. 在teamspeak论坛,如果你有兴趣。
    ) B2 ~2 r0 j" Y9 c5 s$ ?
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    1 @4 Y8 L; S- z% `0 g
  18. Borland公司使用。这个司机只能界面与客户端库
    3 `% g( b, ?* g2 p$ H2 o
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这5 `0 X; K& M/ p6 t9 }( T
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为8 q! ^0 Q0 H- n% ~
  21. " vendorlib " ,并解数据库连接。 4 _( a1 l0 _) R" d& w& F
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 " q/ p2 q4 O. @9 s
  23. 3 i* C0 J7 @* d( z/ g
  24. # # #做好工作# # #
    + T* l' Z% A& F# q# }. |5 @$ R
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    4 z1 \! U' ]0 j7 H
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在; d: A5 Q6 b) V3 P% C
  27. 结束: $ U# q0 x$ z$ `. l& C4 ~, w
  28. ---削减这里---
    ' ]7 X" C/ Y/ A' f
  29. [ dbexpress ] 2 j0 l7 L4 G5 Q; n* D5 D0 U5 p
  30. sqldir = mysql_sql ; h* ]! N8 T$ r/ q$ W% q3 l
  31. drivername = MySQL中# W$ Q; A, O$ m% g
  32. 数据库= your_database_name_here
    * l$ x% ?4 \9 o, |! B  v% s
  33. 主机= the_pc_the_mysql - server_is_on
    * L: h2 c* V4 v. U3 u
  34. user_name = user_name_on_the_mysql服务器+ a; v5 Y% O0 \: b# {2 c
  35. 密码= password_to_go_with_above_user_name
    $ y1 P7 O. J1 O
  36. getdriverfunc = getsqldrivermysql
    * r# C7 Z: t* n+ |$ S9 v* d3 e9 z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    5 i7 u7 U- Y& f9 t% r( Y
  38. libraryname = path_to_libsqlmy_libary : A6 e: o, X( G- M, y  G5 M
  39. 积极= 1
    & G( K* J# N# t! M
  40. ---削减这里--- . ~' x9 E: o" Q' i! b! q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: $ `# q7 K+ d; w& E; ?& f0 Z, |
  42. ---例如---
    # _' |8 S6 C* j! X3 ~
  43. [ dbexpress ] ' ]1 n" @0 A5 n6 B& E) D1 d; B' d
  44. sqldir = mysql_sql 1 ?; F; r# f& I" W5 O& a9 h
  45. drivername = MySQL中5 o7 q2 ~0 _0 @% W
  46. 数据库=测试
    8 W6 E. j( v" k* C& P7 D& z" P
  47. 主机=本地主机* x; ?9 i' L, D6 a! B# ^! m: A
  48. user_name = testuser
    ( j! L+ l  F8 W" G  i* M
  49. 密码= my_password
    - r- p2 }4 J: {3 [
  50. getdriverfunc = getsqldrivermysql , X$ i% p) B3 i" q, b. b0 I
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    7 S$ y: C/ t9 `& D* l
  52. libraryname =. / libsqlmy.so
    ) X% j6 s; l( j( [* d. E
  53. 积极= 1 7 D9 L1 A; `) U' x
  54. ---例如---
    # r! A* _( W& M- N0 |( [1 K$ A& h+ f( g

  55. 3 b* k" o1 P6 e: b! j
  56. 对Windows中,也运行MySQL服务器本地的,那就是: * D+ |9 X/ G: _8 z4 L: e
  57. ---例如---   p* @, |: ]: w7 _; i
  58. [ dbexpress ]
    4 m1 ]& j6 Y4 E; [4 V2 Q
  59. sqldir = mysql_sql 5 t; [- V9 Y  P) t  Z! m2 t$ ^
  60. drivername = MySQL中: u# ^" I4 X6 m; n
  61. 数据库=测试0 J1 Z! y& v' K% t* D6 b  }# h
  62. 主机= 127.0.0.1 8 G( [1 Q1 i2 p! n- }2 e
  63. user_name = testuser % ?! G& ^) D9 ?; q0 B% f4 V' P
  64. 密码= my_password
    0 _2 d% K2 `6 r1 l/ Z
  65. getdriverfunc = getsqldrivermysql . p: g9 \1 H1 p# w& K- p) I' \7 c
  66. vendorlib = libmysql.dll在$ [$ i7 {+ C6 V
  67. libraryname = dbexpmysql.dll
    ' v% j7 J7 k$ _$ |+ ?
  68. 积极= 1
    - \6 j7 q1 u( _/ c4 c$ Z
  69. ---例如---- * p/ w) z7 W8 y
  70. -写在0 2.03.04由p wk.linuxfan# @8 ^3 Y2 i& _7 h5 e# h' L
复制代码
发表于 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
2 `2 L0 ~4 r/ H% d0 k* _% w3 @7 f) {9 v2 t
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-3 14:15 , Processed in 0.095909 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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