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

3258 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
  y$ \% ?2 _0 n, W* @$ B  `7 F. }- x/ x' o0 e7 Z3 J4 i

  1. / w0 ~% i% A* ]2 [! n
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######6 W& i# a5 E  K0 Z$ F* [; b$ ~: i
  3. , K$ s; M. w5 _4 {3 Q, g
  4. ### What we need ###
    ) w* v, Q- D6 i9 l  l. `" S
  5. Naturally, we will need a MySQL server to store the data for us, this document   Q/ [2 n9 q$ E3 @  H1 j
  6. will not explain how this can be done - there are documents out there for the 7 h  E1 ~8 _$ r8 ~: |' z5 s
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    4 Q: A2 O  i- K+ ], o5 a6 B; ~
  8. and a user account (username + password) that has the permissions to do stuff9 k& Z! m- a& d& R
  9. with the database. Additionally, you will need a vendor library installed on the
    ( x' z8 L2 U, l) _8 c
  10. local machine, this came with my MySQL install.! M7 v" g6 j3 S) y6 I' b
  11. These instructions will not tell you how you might transfer your data from the
    % c8 a. a. J/ @/ @$ R
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL( |( Y! n" {& X* n4 e& q1 j5 G  g$ F
  13. database.5 G" U' G+ W' x$ \" `
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    # r" D5 e2 _! T6 J
  15. the time of writing, there are still too many issues - check the current status$ P) J0 ]  T' R. Z/ M
  16. in the TeamSpeak forums if you are interested.
    % R* h. w. Y- q% R* \$ F, L) A
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from* t3 T/ p9 ?( O: e( O1 @# t
  18. Borland was used. This driver can only interface with the client library that * r: ^# S; _+ h
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    9 T- c0 q/ X0 J, r
  20. client library - basically all you have to do is to use a 3.x client library as
    ' i0 ~! A! ?; _, l
  21. "VendorLib" and a 4.x database to connect to.4 R& V( {( @3 m: }
  22. If you need more info about dbExpress, you can contact Borland.
    $ f, Z, U" [7 G* u
  23. 6 M# Q! q  ?0 C/ e
  24. ### Doing the work ###4 v: I) }/ }7 u) H0 [; }' E
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all5 b% w9 E8 w9 l& K
  26. the perquisites right, just open your server.ini file, and add this section at2 p9 y4 ~4 v' ^0 A
  27. the end:: x# |  R- V" q0 i0 c0 A+ L
  28. ---cut here---
    $ d  o: u: L- g3 s0 k" `% A
  29. [DBEXPRESS]
    + e+ l$ a1 G$ {4 m1 w
  30. sqldir=mysql_sql, B3 L1 b: C8 Z* z( s5 ~
  31. Drivername=mysql
    , L5 |4 q2 v7 D4 ]: |
  32. Database=Your_Database_Name_Here  l& p# q( s) e) d8 D3 Q) p
  33. Hostname=The_PC_the_MySQL-Server_is_on& s3 Z0 a" M! C" c1 V7 m+ o
  34. User_name=User_name_on_the_MySQL-Server
    2 M0 f7 f  R( e8 A% R4 I
  35. Password=Password_to_go_with_above_user_name
    8 N% p; h, G7 T/ x) P( w$ `# H  X
  36. GetDriverFunc=getSQLDriverMYSQL
    3 N- D. ~3 y3 \# C
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    # r3 N" ~: q# V; z& r
  38. LibraryName=path_to_libsqlmy_libary9 G1 X0 i2 h' o/ ]7 b; |' |4 c" {; [
  39. Active=1
    * @9 R  W: w( N! Q3 G$ \, X: s3 J
  40. ---cut here---& g5 w0 g% w/ T
  41. In my environment (a linux box with a MySQL server running locally) I have:, c, d5 H1 o3 W# S" b2 n! ~& C
  42. ---example---5 r9 f3 b* b& ^0 `
  43. [DBEXPRESS]1 X  {2 o; ]& n) b% I
  44. sqldir=mysql_sql
    , X7 Q. h+ F6 i9 a9 Q
  45. Drivername=mysql: z/ d  {! K% x/ U2 u% f% S
  46. Database=test
    5 q2 z6 R# _% h# [2 p' n/ p
  47. Hostname=localhost
    1 e  z. Y' r; W1 r4 P% X
  48. User_name=testuser& M4 U5 R$ u$ e; M( g" Z
  49. Password=my_password
    ; S2 I2 W& L+ m5 u5 N3 D- y( K5 y$ f
  50. GetDriverFunc=getSQLDriverMYSQL# V; V/ p* U1 x7 r$ V4 @  Y
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ) M1 y7 n4 O- Y( R+ i$ }% |
  52. LibraryName=./libsqlmy.so
    - Q4 H& O3 \( Q6 [/ V0 q
  53. Active=1& p/ j+ I8 {4 H+ E: p& @/ _0 _
  54. ---example---
    : r2 ?# W- R+ P, W6 `

  55. - \* R8 W* H0 q& O3 C, Q  w! n
  56. On a windows box, also running the MySQL server locally, it would be:# l  Q0 t! n. `1 |4 V
  57. ---example---; b( W# K$ m$ ?* O: N% U7 b
  58. [DBEXPRESS]5 ^9 Y9 E) _; s$ p  q1 W
  59. sqldir=mysql_sql4 S& {/ V0 |# X. `: l
  60. Drivername=mysql
    + @& i" ~7 m* O* \: y! O& y" {3 G' g
  61. Database=test
    6 F) J5 J, J$ j% Q( |: ^
  62. Hostname=127.0.0.14 y' _$ E5 o" @4 j4 ]7 Z7 |- e9 k
  63. User_name=testuser
    ; L6 w* ~) y; r, a# q
  64. Password=my_password" ^  m4 j/ C9 H# @" f6 h
  65. GetDriverFunc=getSQLDriverMYSQL
    + p. d- P" ^. O) A
  66. VendorLib=libmysql.dll( l* d7 \' d! E0 m* k( H. ?
  67. LibraryName=dbexpmysql.dll
    * m5 }% b9 ?' V9 z* D) m
  68. Active=1# h! ]* j0 `; X: a) A% e8 N
  69. ---example----+ a' x4 q5 V7 d, m6 Y
  70. - written 02.03.04 by pwk.linuxfan9 {/ ~& E" x0 _2 p! i) v+ k# ?
  71. 7 W6 t" a" J8 t; {, I
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看# h3 n; F# A0 S. `2 F0 L

  1. ; {7 j9 l% b0 T
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ! ~. x& O9 `" u- x, T! G
  3. ' [5 q3 k" ~0 E8 q! N0 g
  4. # # #我们所需要# # #
    # h: ^5 d' I+ c
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    " |4 V& d% F* W$ N, [) v$ H
  6. 不会解释如何做到这一点-也有文件存在,为' Q9 ]0 Q8 d9 S0 |* c6 p3 K
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用" ?: Q) r* T# [1 P& s: m
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    / ~* ~* w% x2 q! m  ^9 @) o' R9 j
  9. 随着数据库。此外,你需要一个卖方图书馆安装于7 z8 `1 b- f- S2 g7 U
  10. 本地机器,这是我的MySQL安装。
    / J: Y0 `" ]" |+ H. A. S& ]$ m
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
      B, `0 y& U, Z* h
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " [. S( R9 {/ i3 N' r6 h
  13. 数据库。
    $ S) v. h0 \! D% G5 y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在, P$ D. b3 p- B0 F% W
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    $ K% H$ ?+ x' `. Z3 _
  16. 在teamspeak论坛,如果你有兴趣。
    9 {! S; L! A" |, q0 C5 }+ Y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机1 w, {% M! ~! z- {$ O0 |
  18. Borland公司使用。这个司机只能界面与客户端库& p* V+ B  ?+ e- S' s
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    1 c/ [5 ^5 G" C; I% s
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    # D6 J( \3 Y  Q  g6 z6 G* e
  21. " vendorlib " ,并解数据库连接。
    : _4 B+ {* p  p! z" z8 ?/ K# F4 F
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 + @' U6 [" j# m" k1 S. G
  23. % Z6 Q" Y7 X8 M9 M
  24. # # #做好工作# # # / K& F5 q% j2 h+ G
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    8 D4 q2 L, }4 P% v6 O
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    2 Z: c1 B8 l* S
  27. 结束:
    & b0 w2 I$ o6 Y; f" E1 [
  28. ---削减这里---
    8 l3 d/ N6 R/ S- O7 F9 C
  29. [ dbexpress ]   T$ r6 B& d! U  |5 m+ K* `
  30. sqldir = mysql_sql
    3 c4 H' S# w8 E9 [# U7 W5 X/ l1 {
  31. drivername = MySQL中- U: t6 {& G2 K0 t( j, X3 E* ^2 M9 V
  32. 数据库= your_database_name_here
    6 a9 F3 c; }# p; j
  33. 主机= the_pc_the_mysql - server_is_on
    # ^- B2 {3 q8 K  p
  34. user_name = user_name_on_the_mysql服务器
    7 g" }8 @6 F- g
  35. 密码= password_to_go_with_above_user_name
    " ]/ B& p% r( P  X
  36. getdriverfunc = getsqldrivermysql / P& \2 K& T& e
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib & z+ b; {, j- A/ Y
  38. libraryname = path_to_libsqlmy_libary
    5 v6 a' f( ]% }* g) j8 z6 H4 K
  39. 积极= 1
    * i5 d& z; E7 M. e
  40. ---削减这里---
    & m/ E2 t+ `5 z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ; F( h" B# E( w% ~
  42. ---例如---
    * {0 ?1 A/ t# ?# K+ B
  43. [ dbexpress ]
    4 F; \7 n0 d( V) m
  44. sqldir = mysql_sql
    ) l3 r$ w2 l$ ^$ ]- J/ {3 R
  45. drivername = MySQL中' q7 q- S# M0 |7 ^
  46. 数据库=测试
    3 Z  r1 n$ ?  ^7 D* @
  47. 主机=本地主机
    - X2 Q2 }( X6 C8 ^
  48. user_name = testuser
    6 J5 H' |0 ?( b1 A
  49. 密码= my_password # g$ E- E! j+ E+ ]/ H/ R
  50. getdriverfunc = getsqldrivermysql 0 M# }3 N9 S# j$ l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ' {, j/ R: ^, _: h  T8 }8 }6 ]
  52. libraryname =. / libsqlmy.so - R& A  s/ H8 @' E& g) Y
  53. 积极= 1
    8 p7 O& a- m! O- Y3 F
  54. ---例如--- ! c% M: Y# i2 ^

  55. . y# I/ a# m, v# G
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    5 C" N$ y$ ~& C8 V
  57. ---例如---   J# M- ]  r7 I: V, U6 S$ C5 n/ h
  58. [ dbexpress ]
    7 G! s0 G% X( O
  59. sqldir = mysql_sql . J% |% P1 Q7 `9 W! W% l
  60. drivername = MySQL中) a2 P& z* ^* O9 l& m
  61. 数据库=测试
    6 v: z9 Z  C% e; }+ v
  62. 主机= 127.0.0.1 0 i+ L5 j/ t. |. ?  q& k
  63. user_name = testuser
    ' C/ Y' N$ C, }9 _; s
  64. 密码= my_password 6 V% ?! \; K( p; E6 y
  65. getdriverfunc = getsqldrivermysql
    0 v. N8 Y! x% C+ Y4 `1 c9 l" C
  66. vendorlib = libmysql.dll在+ l  v* o  t; |5 M$ r% ]  R/ N" F
  67. libraryname = dbexpmysql.dll 8 K. W8 F1 P! w& B
  68. 积极= 1 1 S+ t, R& F# }! d; A
  69. ---例如---- 7 L' e) i  k2 L
  70. -写在0 2.03.04由p wk.linuxfan
    * S$ {- n& _6 {7 _9 v
复制代码
发表于 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
( x, r$ p2 J! E) U( `" i
0 b0 e' n! k+ r- G& i. y( I7 |but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-30 01:13 , Processed in 0.087363 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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