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

2773 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
0 w# e  [9 [# @9 v/ x$ {% b. a( a! m8 ~2 R6 D  _
  1. * z* }, K+ k/ ^5 N/ x
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######1 ?+ w0 G: \5 S8 G% d

  3. 9 O- R" s5 e6 o" F; p! x/ K
  4. ### What we need ###8 Y1 j& D0 ?7 D% z
  5. Naturally, we will need a MySQL server to store the data for us, this document 8 z0 F7 t2 Z4 a% j3 W
  6. will not explain how this can be done - there are documents out there for the 2 k$ i# w  q! ~7 N! P( }  ?
  7. interested. The requirements include a (empty) database for TeamSpeak to use2 B/ G7 H2 V% w
  8. and a user account (username + password) that has the permissions to do stuff( `/ V7 l" K$ ]1 Q' A
  9. with the database. Additionally, you will need a vendor library installed on the2 I" d4 J0 ^, h
  10. local machine, this came with my MySQL install.
    ( c6 H4 q8 g* D6 `1 t
  11. These instructions will not tell you how you might transfer your data from the  E* d3 @2 y- o; ^/ H, [
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    # d! U) n8 o- U6 b# Y& h3 p. g
  13. database.; d0 h* k1 t* }3 @7 p
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    1 I& j! c! r. n) G4 L
  15. the time of writing, there are still too many issues - check the current status
    9 ?, K6 D% t+ `
  16. in the TeamSpeak forums if you are interested./ [' v6 Q5 E5 `
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    8 t4 m) V" N! O6 ^
  18. Borland was used. This driver can only interface with the client library that - k; F+ L: L2 w1 B" d+ i; ^8 T
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this% P6 @. ~2 i4 ^/ |! s  d
  20. client library - basically all you have to do is to use a 3.x client library as . c# ^+ [, n* I9 B& R7 W/ z" Z8 q
  21. "VendorLib" and a 4.x database to connect to.- p' O5 O) J# i. n. R2 I4 c* r: o; j
  22. If you need more info about dbExpress, you can contact Borland.
    2 K# g( o! O. k) I5 H5 H
  23. . @+ g' h* W' V. i, `7 g3 {  d1 ?
  24. ### Doing the work ###4 H% E& s- ~" I
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all$ V( H/ |  U* c7 t3 Q, x$ p+ @7 b: Z
  26. the perquisites right, just open your server.ini file, and add this section at
    9 g0 a1 B% G3 d- W4 Y# p  f. O, l
  27. the end:
    ; I( ?1 u1 c. N* ]" g
  28. ---cut here---; [( {' Q- \' k# o6 M2 `2 K" a% G
  29. [DBEXPRESS]" |; Y1 U2 \% ]; `
  30. sqldir=mysql_sql
    0 q) D* P3 N/ F2 O8 i
  31. Drivername=mysql
    ; l) c; e* a3 A' o. Z! b& w
  32. Database=Your_Database_Name_Here! ?  d  Y" j+ D5 r5 `
  33. Hostname=The_PC_the_MySQL-Server_is_on% ]  w/ ~1 t3 d3 Q: G4 t# V# H
  34. User_name=User_name_on_the_MySQL-Server
    6 s/ r- M$ d* E+ q8 H
  35. Password=Password_to_go_with_above_user_name: b6 ^; G8 ~  c" X0 r/ n' s8 ^
  36. GetDriverFunc=getSQLDriverMYSQL6 i& K6 C5 p/ @3 F; y7 }6 r. I$ u) ?
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ' {' q8 e  |: g# w7 X
  38. LibraryName=path_to_libsqlmy_libary$ v" v4 ^/ U1 H( a7 Y0 \& t
  39. Active=1
    8 L% t6 L3 z+ c9 S2 V7 i
  40. ---cut here---+ t5 P+ k6 [* z4 D  ^/ q; k# J
  41. In my environment (a linux box with a MySQL server running locally) I have:
    $ D4 f9 R% m3 J; w
  42. ---example---3 g! O$ G% {9 F8 I
  43. [DBEXPRESS]( o2 Y! Z% C6 O+ y% N. ^: q3 \
  44. sqldir=mysql_sql
    & o2 Q  j" t9 j" _+ W7 T
  45. Drivername=mysql
    1 c9 `" O) N- ^! `/ a0 L
  46. Database=test
    - x9 N. M3 Z( F9 |
  47. Hostname=localhost- P& D9 G9 s. K: d: |4 I4 E
  48. User_name=testuser
    & ~' R4 R% D) i7 ^4 P
  49. Password=my_password! W/ x9 k& K  ~6 q8 b3 x6 I
  50. GetDriverFunc=getSQLDriverMYSQL; H5 T/ F2 X$ t0 N+ V$ e( l
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    5 ~' B* l; \/ o5 R6 D. v
  52. LibraryName=./libsqlmy.so
    ! Z  F+ O. h( e5 o- P6 E8 p
  53. Active=1: f9 a0 T4 L4 [1 o& [1 v/ L
  54. ---example---
    7 k" X  Q9 r$ C; C4 ^. e) \

  55. ; K! ^% ], E' G( Q. ^& J, v
  56. On a windows box, also running the MySQL server locally, it would be:+ x* s8 m% A0 [
  57. ---example---; W& K& ^, y6 J( X8 m
  58. [DBEXPRESS]& X4 d, @  u7 Y9 g1 k+ j
  59. sqldir=mysql_sql9 r% B; K2 Y7 @% R: |) T9 z3 D
  60. Drivername=mysql
    ) K- ]/ `: m( X  m
  61. Database=test  K: I# l  X+ P" y3 ]/ R9 D: S; M
  62. Hostname=127.0.0.12 T9 Y  R. `% m: b+ D: Q' g
  63. User_name=testuser
    ' ]  O$ J0 `& G9 I0 G, @) v" y4 k
  64. Password=my_password" E6 }, Y# q7 q- {. {* g
  65. GetDriverFunc=getSQLDriverMYSQL& O/ t  k* L2 V. c
  66. VendorLib=libmysql.dll7 W' m  X  @# g1 L0 g
  67. LibraryName=dbexpmysql.dll
    8 @7 E0 R$ C8 b3 `& M
  68. Active=1/ s7 W' s& t6 L, t
  69. ---example----
    $ M: ]2 c+ Q3 f& b
  70. - written 02.03.04 by pwk.linuxfan* _$ U% X" g* {5 b+ e7 J

  71. 0 k# L6 w' ?& M% G# _
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
5 A9 n/ F! ?. C$ _) H% G

  1. 9 K5 k; s* H0 A$ r, R/ L
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ; w: S# @. I% ?* O

  3. , ?% A  T% a0 e2 i5 [9 E0 T0 B6 _
  4. # # #我们所需要# # #
    ; V- G3 O$ \, V& ?% _  r
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    2 D9 E5 H2 S# G' `8 W5 S( j
  6. 不会解释如何做到这一点-也有文件存在,为
      ^3 H3 Y/ @/ u" b
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用7 l4 L* [7 {$ B9 k' m, z7 H  n5 |
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    8 ^7 H3 F1 ^  v; q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    5 }0 b, g) I5 M) \# ]
  10. 本地机器,这是我的MySQL安装。 - _; J; Z/ C6 b% v/ ~, p
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    $ l/ [& ^5 m4 b7 m) Y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 0 ^  D6 N: v5 M2 S  ^8 @5 ?
  13. 数据库。 . n1 |( b0 _$ a$ x5 l8 `! B. r
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    9 d9 H/ N5 V' b7 V& S" [3 C& f  _6 W
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    7 K$ d# @4 o* ~- g. ]
  16. 在teamspeak论坛,如果你有兴趣。
    # b) q  G% X) n3 x" x# u4 V
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机' Z. a5 E& o! G' J; n
  18. Borland公司使用。这个司机只能界面与客户端库
    3 W& \; y" ?3 P6 G5 r
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这. o& ^/ Z& {( d9 n" m7 N% {
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为# s; Q  t3 ?# e4 |
  21. " vendorlib " ,并解数据库连接。
    , V- [/ U0 G8 j  F5 e
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    / `# z6 T/ y9 {

  23. 5 G! J5 x$ A( l
  24. # # #做好工作# # #
    " O2 J/ |( j7 G7 O# {
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    , _2 ^/ K' l" N
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在  W( {8 v9 m% i8 p& w
  27. 结束:
    7 [* e' v0 f' N9 j! c- u- s
  28. ---削减这里---
    ! v$ |6 Y7 |) N/ `2 Q# w
  29. [ dbexpress ]
    # v5 v( P6 e3 z) a7 v
  30. sqldir = mysql_sql , Q6 ?, {3 b# ^" d4 H
  31. drivername = MySQL中: i: r6 j3 t, W# i" J8 h
  32. 数据库= your_database_name_here 0 h& W. f. U- n% }. b" v
  33. 主机= the_pc_the_mysql - server_is_on
    8 c7 |: |: Y5 ^. T* T8 X
  34. user_name = user_name_on_the_mysql服务器
    * \* `1 d9 L! R0 `# H
  35. 密码= password_to_go_with_above_user_name 5 B; N2 j0 `0 w' o5 Y. G) j
  36. getdriverfunc = getsqldrivermysql
    9 Q9 f! b2 u! Q8 ?: P
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    & P' g6 L$ y' l0 J; b! D
  38. libraryname = path_to_libsqlmy_libary ! x5 L, P$ w% ]* S6 ]
  39. 积极= 1
    " Y+ `) Z3 y  X% E
  40. ---削减这里---
    9 H4 X& N5 t1 `8 n* t
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ' A  q0 X7 z+ T$ {
  42. ---例如---
    # \1 J( X3 x" _) J
  43. [ dbexpress ] 7 R3 ~0 d7 V! r0 U" T, [. B* ~( N6 m: @
  44. sqldir = mysql_sql # T. u9 n9 f* Q% v; ^8 {
  45. drivername = MySQL中
    , \! d; b" {. {
  46. 数据库=测试* E7 c; A6 U: y
  47. 主机=本地主机( h* _$ z. r* _9 A
  48. user_name = testuser
    * v/ |0 F, c$ p5 R' H4 v
  49. 密码= my_password
    * @) t/ t$ X% b" }) U; T( p' p
  50. getdriverfunc = getsqldrivermysql " p" x- W( _2 B& u$ f+ q* g# q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    4 v2 Y+ a$ `! k6 n
  52. libraryname =. / libsqlmy.so
    2 B: M9 V  k2 i, F( M- e
  53. 积极= 1
    / w5 V# z( P5 `9 ?. |! |- @
  54. ---例如---
    $ o9 Y1 o- J( H5 o3 ~0 Y) c* v

  55. ) ]1 `8 |' ?, _
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ; s4 v7 {( W7 h' \% Q6 ]$ {/ e
  57. ---例如---
      }8 K+ H* K; O6 b4 d/ {
  58. [ dbexpress ]
    " r6 M2 X7 b4 U7 ~: s, t) r0 P
  59. sqldir = mysql_sql
    ' n0 q5 J: u  `9 n
  60. drivername = MySQL中' |0 x9 d! O4 g
  61. 数据库=测试
    - j( l* K  b2 W! T
  62. 主机= 127.0.0.1
    $ k! _9 {- i! B0 [
  63. user_name = testuser 7 e9 D6 N& X; T+ u
  64. 密码= my_password
    , y7 w- t5 X- w4 n  I) ~
  65. getdriverfunc = getsqldrivermysql 0 o( @: B1 e, y* `( [7 ?2 [  b$ l4 i
  66. vendorlib = libmysql.dll在7 F8 @* e+ p+ C- `- B
  67. libraryname = dbexpmysql.dll
    8 }+ j8 d; i3 @) w& j8 G
  68. 积极= 1
    % T' x  V' P& I) r
  69. ---例如----
    2 g& J! w; T' Y+ J2 d$ `0 u8 v4 ^
  70. -写在0 2.03.04由p wk.linuxfan( j9 [' ^+ L1 L- K5 X
复制代码
发表于 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
$ M8 ^; X$ N! L0 ?/ T2 B; C6 N/ r0 q9 |
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-17 07:14 , Processed in 0.105527 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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