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

2794 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 3 z' e. X9 B" Q0 N

9 s# `! _' H8 c, S" B% g
  1. 5 |. f/ h- F* A! P) i: S, t
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    + Z+ L5 W" ~1 e$ f! P! K# i

  3. ' Y- O( k9 ]/ i% }4 ?% F
  4. ### What we need ###
    9 N) {4 j6 U3 }8 C
  5. Naturally, we will need a MySQL server to store the data for us, this document
    : ]) f. X  K+ b) i6 t
  6. will not explain how this can be done - there are documents out there for the 4 Y% n& x2 H/ @- M
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    4 k* r; z! v4 U; d/ M: C
  8. and a user account (username + password) that has the permissions to do stuff
    " u% F( p  G3 ?" V$ a" M
  9. with the database. Additionally, you will need a vendor library installed on the
    % d: T  i9 h# v% `3 v
  10. local machine, this came with my MySQL install.
    ( d$ r! x- i0 A/ O0 J6 Z# P' Z- h
  11. These instructions will not tell you how you might transfer your data from the  }7 _" M+ D2 l+ T  F1 |
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    5 m. R( A- t3 `
  13. database.
    0 a) V- N' O) a6 d
  14. Some users have reported ways to import a SQLite database into MySQL, but at' B/ H! G/ f' {$ q. W. V
  15. the time of writing, there are still too many issues - check the current status
    ; f+ ]5 Q8 c- x8 Q" [: f) L4 f3 x
  16. in the TeamSpeak forums if you are interested.
    , `* D8 q, e. ]# O( J' |
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    $ }, Q0 y; Q$ H9 t
  18. Borland was used. This driver can only interface with the client library that
    5 K/ |3 I9 v" N- {) g
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this) |7 E1 q& z7 M  ^1 B9 }
  20. client library - basically all you have to do is to use a 3.x client library as 5 D: h. E0 N$ c4 y5 E
  21. "VendorLib" and a 4.x database to connect to., w) J. q' s5 D8 ?' A2 t
  22. If you need more info about dbExpress, you can contact Borland.
    - ?' U" m, c: f/ j1 r5 a* g

  23. ' P3 O! h- M* w" @# q! r& w1 S
  24. ### Doing the work ###; M! @, a2 e" @" G( m, x6 i
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all8 ^$ Z5 u& \0 I) }0 M9 r) V* y
  26. the perquisites right, just open your server.ini file, and add this section at& J  w2 z" q; [: N( g: q$ v0 }
  27. the end:! _2 p% f( Y- Y9 D* o3 h
  28. ---cut here---8 g; ~' M. k7 d8 V! j
  29. [DBEXPRESS]* `( {3 Z* U9 ~5 G
  30. sqldir=mysql_sql
      L7 W! L$ E2 l2 K8 {1 z6 M
  31. Drivername=mysql6 Z$ E" |+ y+ S
  32. Database=Your_Database_Name_Here
    : N: P9 I: z4 t
  33. Hostname=The_PC_the_MySQL-Server_is_on
    3 G) ]0 Z9 _0 W9 R4 e0 z% p* d
  34. User_name=User_name_on_the_MySQL-Server$ D) e1 b8 N* d% c
  35. Password=Password_to_go_with_above_user_name: X; n: x: m1 v
  36. GetDriverFunc=getSQLDriverMYSQL
    2 z& e- ?4 \# j& p9 t' D
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    8 [  e* C3 G+ r! w  j6 N9 j
  38. LibraryName=path_to_libsqlmy_libary8 a" c- z2 F0 g3 k# m
  39. Active=1
    : f0 L1 I* G" g$ B; O: _2 g
  40. ---cut here---
    : ~" U; [2 V2 B! z! b3 a. L
  41. In my environment (a linux box with a MySQL server running locally) I have:* U: e- v# z! v6 N
  42. ---example---
    / S1 c  ~& g* B4 w' [; }
  43. [DBEXPRESS]' {3 |! _) h! L6 j
  44. sqldir=mysql_sql" {' C2 V: K% c+ |
  45. Drivername=mysql8 u3 q/ |8 q+ O1 f  H' j% ?
  46. Database=test2 `$ Y' m; h8 J& K4 K
  47. Hostname=localhost1 j) \2 I( k0 M, O' W
  48. User_name=testuser4 h0 M& |9 k3 I' W0 ^. y
  49. Password=my_password
    4 Z9 C: r' Q, J7 B' k
  50. GetDriverFunc=getSQLDriverMYSQL
    ; G4 z" ^% t& j5 P) U8 Z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    " N' ], L. d  \& x" A5 C
  52. LibraryName=./libsqlmy.so
    7 U& q' f8 ]1 k$ b9 Z  I
  53. Active=1( Y. y( s  |0 Z) q
  54. ---example---! y8 p0 `* f4 k6 i
  55. - G0 j! [* A! q6 L
  56. On a windows box, also running the MySQL server locally, it would be:5 z8 s* ~- `( \3 T2 {9 n& ^5 p/ ?
  57. ---example---2 ^) b* v9 B* ~/ L' }+ \- U
  58. [DBEXPRESS]
    $ }; a# I6 ?- }; S! Q; H0 K
  59. sqldir=mysql_sql3 m* b! s) [. Z* i4 i0 E' @2 C7 T& p: K
  60. Drivername=mysql  s5 z3 C* V# M7 e% E2 u. ^; E& P
  61. Database=test! V, ], R! S5 d. d  T" ~- t$ z- {
  62. Hostname=127.0.0.1% d5 `. P7 N$ B& W( p7 W9 r
  63. User_name=testuser
    3 s" C: r+ L% W( x6 H/ Y7 P" ~
  64. Password=my_password$ O. h# r9 D) R! c8 ^' T( F
  65. GetDriverFunc=getSQLDriverMYSQL- y$ V$ }0 I2 j  |7 W6 |8 J1 a
  66. VendorLib=libmysql.dll, _& B1 p1 q- `2 \- I. I
  67. LibraryName=dbexpmysql.dll! v8 \2 d& A" N
  68. Active=1
    ( X3 c% ~9 ?* h$ S8 R2 I* y: k' S3 x
  69. ---example----& @4 U0 }' `. M7 i
  70. - written 02.03.04 by pwk.linuxfan
    0 R$ E8 [+ V4 r/ O: X. W

  71. % z* N$ R# _8 Q; p
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
0 B! W) ]7 |. U: e; m
  1. , Z- F8 U% a: f- C+ Y! U8 d
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    - u  H& d& W; [( P) T1 p

  3. 4 ^4 u$ B8 a$ l% u" r+ i5 R+ p
  4. # # #我们所需要# # # & C$ ^/ m/ }' A) A
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件8 ^+ X5 `5 L1 h7 E  L4 Q
  6. 不会解释如何做到这一点-也有文件存在,为! i" `: x$ d& q$ p0 W* l) d
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用/ @7 q: z+ U( c4 c3 M, b" l$ p
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    7 C) R- \5 a4 ?; B; n% ^; r) E
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    , i& Y; @* b. A1 P' O( I8 D
  10. 本地机器,这是我的MySQL安装。
    ; @! `' u' I9 k5 B, i# [
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从  L/ {. h0 s  _# C, T; V* @
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 6 E- d9 h9 l- z8 s* B$ c3 z/ h  Z
  13. 数据库。 4 P& W+ T. p7 y4 A& G0 R
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    % |/ D" u2 B2 Y& {, Z1 d: ~7 s- u& Z
  15. 编写本报告的时候,仍然有太多的问题-检查现状8 U8 {. h( R. h1 w. w0 l
  16. 在teamspeak论坛,如果你有兴趣。
    ) D/ i4 C" D8 V7 A! K3 n7 s
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机. V- k3 X" Z8 i8 u
  18. Borland公司使用。这个司机只能界面与客户端库  N. K# n9 l  O  x! X. M. q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这4 k  X# g+ P5 g0 [; S2 e( i
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为* ?3 B4 r4 X% d" `
  21. " vendorlib " ,并解数据库连接。
    ( V* X, r' K! s7 C! |% X
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    1 b0 p$ K$ i* R3 [
  23. ' u9 ?8 |$ S: ^( w
  24. # # #做好工作# # #
    1 k) \. U8 V- d5 t0 N+ b
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    2 e- b  `( o: ~( Z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    2 n& q- Z% n: |* d; D+ F
  27. 结束: 7 |, Y% p: s, N5 Q4 q" W
  28. ---削减这里---
    1 Q. `2 i$ s& H
  29. [ dbexpress ]
    ; G! ]0 O& p; A  u1 D- U
  30. sqldir = mysql_sql   V# ^; A; ^1 R
  31. drivername = MySQL中
    3 f. C9 q1 x0 T7 Z' M
  32. 数据库= your_database_name_here
    4 o5 w5 @; I; ?& T
  33. 主机= the_pc_the_mysql - server_is_on
    , B, P/ O# n' G: P7 M
  34. user_name = user_name_on_the_mysql服务器
    : p; \3 Z( q' M
  35. 密码= password_to_go_with_above_user_name " N8 N  n- I: R9 v& C
  36. getdriverfunc = getsqldrivermysql
    ; m6 U, l* l. O* V6 K
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib & E% u! e+ T  V) A
  38. libraryname = path_to_libsqlmy_libary
    8 F% P/ O4 C  c
  39. 积极= 1 2 R( y+ Q" f& h1 h7 ^/ Z
  40. ---削减这里--- ( B' J1 b8 O. {) x/ I$ M, z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: % _6 P7 N) u3 }7 f+ ~
  42. ---例如---
    : J( E) M0 w8 k0 {; `1 s
  43. [ dbexpress ] & Y6 N  g! `, C8 R
  44. sqldir = mysql_sql % E) c! Q# F  F, Q* _4 j2 [
  45. drivername = MySQL中
    " q4 s$ v+ T+ j, s, S
  46. 数据库=测试
    3 `% K0 z! Y( B% D+ D+ Z
  47. 主机=本地主机
    . K. W2 K7 L* n3 \, L* C# [1 E% I
  48. user_name = testuser ) j7 O- a& u6 z2 z
  49. 密码= my_password
    0 Y' f4 t$ W* e
  50. getdriverfunc = getsqldrivermysql 9 |$ J% s8 K, b, @8 }5 x: U' O
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 $ [, S7 a) o$ Y( f
  52. libraryname =. / libsqlmy.so
    5 v6 |- E  i& R6 T0 c3 C
  53. 积极= 1
    & k6 i9 S. e7 G5 n! S7 H1 ^
  54. ---例如---
    . N9 _1 ^- s9 U( ?
  55. % {" y' d: S0 E( I, z8 L
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    - `4 m1 Q6 f  k* V+ Z6 j/ s1 a7 x4 [
  57. ---例如---
    5 [8 e, G" ?; E" _
  58. [ dbexpress ]
    1 m* J* R+ h: L. [7 i
  59. sqldir = mysql_sql 4 z7 Z% u* _) H7 Y! Q" `" W0 z
  60. drivername = MySQL中* E5 ~# K+ L2 X  `# I  _
  61. 数据库=测试
    : Q8 Q% ?7 K! z$ {8 N+ L# V- o; j
  62. 主机= 127.0.0.1 2 ^. h& B3 ?) l+ O8 {" r/ ~2 ~5 X
  63. user_name = testuser 2 T% w& N8 ^/ d% E
  64. 密码= my_password ( h" V! Q) P9 @, T: B
  65. getdriverfunc = getsqldrivermysql
      s8 k- ?+ K% C  e2 v7 V8 A2 `
  66. vendorlib = libmysql.dll在' K- Q5 {7 y* m% b; D
  67. libraryname = dbexpmysql.dll 7 K, f* X4 o1 _
  68. 积极= 1 + }( ]" G& B3 B7 p, V  a
  69. ---例如----
    9 Z9 B4 D; x  e4 ^
  70. -写在0 2.03.04由p wk.linuxfan
    ' H( {0 q9 s6 m1 Y" B2 J
复制代码
发表于 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: f9 }* f; L# V+ w9 \, e7 {5 F

" T/ D. c7 @4 O$ tbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-23 01:35 , Processed in 0.111089 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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