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

3470 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
5 A3 F6 e/ \; W7 {6 b. }5 Y/ W/ `8 p+ m! a

  1. % m4 Y9 ]* @6 s3 ~
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    . Y# s% S& _! n, I

  3. / f" {/ P; d" f  J" ?) F% B
  4. ### What we need ###
    5 ~8 E7 Y! O' c! _" v  ^1 I
  5. Naturally, we will need a MySQL server to store the data for us, this document 9 w$ [+ h3 B) c! X3 [; }
  6. will not explain how this can be done - there are documents out there for the ! K0 z) ~8 ?7 y" A  t) G2 |
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    1 ^" Z0 F& N9 f2 I( c- q0 }/ q- K5 q* {
  8. and a user account (username + password) that has the permissions to do stuff# p& ~8 K# Q8 Q6 m3 M& Y' T& T
  9. with the database. Additionally, you will need a vendor library installed on the
    ; |% G& `7 L$ v5 c: q) X! W
  10. local machine, this came with my MySQL install.
    & r/ M4 r" n; n: r
  11. These instructions will not tell you how you might transfer your data from the
    ' P9 r2 S4 h1 w! Y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL3 S' D4 @) c6 q, [; F
  13. database.
    6 c6 Z8 B$ U( b- p3 C
  14. Some users have reported ways to import a SQLite database into MySQL, but at2 n9 q; g! {9 u0 m" U9 \
  15. the time of writing, there are still too many issues - check the current status1 r8 Q  A9 P# O7 t, K* t
  16. in the TeamSpeak forums if you are interested.
    ; |; L/ z' h; I7 q7 C7 }& a
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    9 ~' H, t5 _  ]% O2 q8 g
  18. Borland was used. This driver can only interface with the client library that
    ' a" h7 E8 `+ P. I6 y# }
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    4 Y; d1 n! z! M+ R: D
  20. client library - basically all you have to do is to use a 3.x client library as
    9 T, L( r  r1 \/ l
  21. "VendorLib" and a 4.x database to connect to.9 @6 R* g, `  ?! x2 V
  22. If you need more info about dbExpress, you can contact Borland./ T" s$ f! ^; ?

  23. 1 ]1 T& r# Z" k+ A* C
  24. ### Doing the work ###
    5 M/ j2 d) f$ q% M
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    7 E- ?0 ^# b" Q7 U2 G
  26. the perquisites right, just open your server.ini file, and add this section at5 ~$ Y: j' e1 C; T1 f2 d1 k" r
  27. the end:% K+ @: w! R' H0 Q, t4 t  ^" e
  28. ---cut here---2 Y! A/ Z5 b4 {/ u  K% K
  29. [DBEXPRESS]
    8 E9 D1 v* y" j1 D
  30. sqldir=mysql_sql
    / G! {5 B1 C, c& q0 ^/ e& F
  31. Drivername=mysql
    " w) ~' G3 |8 z, _% S/ h
  32. Database=Your_Database_Name_Here
      w0 _' g6 @3 {2 m2 ?6 N5 ?
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ; X$ `) o* e. g
  34. User_name=User_name_on_the_MySQL-Server
    . ?& }3 c; B* f9 p9 d
  35. Password=Password_to_go_with_above_user_name
    $ F6 N  I' `# [. j% S, T; X
  36. GetDriverFunc=getSQLDriverMYSQL8 ]9 ?3 I! D. F4 b! I
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib' i8 ]' ^0 }$ y* z4 B7 Q
  38. LibraryName=path_to_libsqlmy_libary
    ; K, C7 I( f8 C0 q: |" p
  39. Active=1
    8 C$ n$ u  H5 H/ W$ v' H
  40. ---cut here---- w1 G, z/ u: T! Q+ R" g: b8 Z- ]
  41. In my environment (a linux box with a MySQL server running locally) I have:8 M! F( r/ y1 N. p- @; P$ m$ y0 E
  42. ---example---, z+ i7 G$ I6 n2 I
  43. [DBEXPRESS]- I+ `# u8 b4 z
  44. sqldir=mysql_sql
    / A5 f& S; s2 q: D
  45. Drivername=mysql
    8 I+ d5 w) \5 E
  46. Database=test  w. J$ T% ]* s- |: i
  47. Hostname=localhost4 ?: k6 L/ ~; C" O* X
  48. User_name=testuser
    7 f! h+ W3 m3 x# E& t
  49. Password=my_password
    4 ^: V. M0 c+ `7 H  U
  50. GetDriverFunc=getSQLDriverMYSQL- r2 w4 V+ g. V+ Q2 A0 h0 @
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - ^/ \' C$ ]/ m5 T# H6 I, x
  52. LibraryName=./libsqlmy.so! H9 F3 N8 Z9 D" t# i7 {( `  i# Y
  53. Active=1
    " P) Z2 o) `8 S1 N0 n6 W, ?( M
  54. ---example---3 A3 R' p* `0 }& V4 k6 K# m
  55. ( Q5 B" M6 z. y4 ^7 _: p3 o- [3 Y4 K
  56. On a windows box, also running the MySQL server locally, it would be:
    - `- H6 z; t* a  p% w
  57. ---example---
    $ K6 t* L" T$ {. P8 s
  58. [DBEXPRESS]% }! l2 L* _  j+ y- ^- U
  59. sqldir=mysql_sql7 _) k: B  K& i: c+ U  k' d! s
  60. Drivername=mysql
    9 d4 C( E* s* s
  61. Database=test5 A0 C, \; M! F- H
  62. Hostname=127.0.0.1
    9 z9 L" n, I4 Q4 i
  63. User_name=testuser
    - m2 f4 j5 @; s9 o1 C% L* v
  64. Password=my_password6 z$ G* L' x! u8 `
  65. GetDriverFunc=getSQLDriverMYSQL
    1 v+ ?+ ?$ y6 J" ?' X
  66. VendorLib=libmysql.dll
    6 d( o% h0 B( C, @8 {6 a: Z( y; Q
  67. LibraryName=dbexpmysql.dll( o! F: j. N7 |: n, i3 S8 N; _  v
  68. Active=1/ C6 \5 o/ {5 Z6 O; j8 X
  69. ---example----
    # N1 ^/ \0 n+ {( S* L: Q
  70. - written 02.03.04 by pwk.linuxfan
    1 f# s3 h2 Y2 ]7 E4 K5 B
  71.   n$ Q# S1 d9 \
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
5 C0 ?, X" C: {7 `: j
  1. , U& N" B4 I+ C+ Y2 f4 p+ D
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### % g$ x, t# |6 w' I- ]9 k

  3. + j, R  M0 |: z: ?3 R; l, l  A" v4 m( U
  4. # # #我们所需要# # #
    . z: D3 R; [, E1 g
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    2 G3 p" r- E1 z8 i
  6. 不会解释如何做到这一点-也有文件存在,为! x5 u4 s3 p8 U
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ! `6 {' |$ O7 }; J
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    & e5 z+ R1 B! q4 O% s6 C9 ?! n" G. Z
  9. 随着数据库。此外,你需要一个卖方图书馆安装于7 L. x' @& r- v
  10. 本地机器,这是我的MySQL安装。 $ \1 E! G! P4 g' `( N( Z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从* B, F, t, k3 G- M! e; ?4 a9 W: l
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 2 U& ^- e/ j6 _
  13. 数据库。 / ?' |3 q9 i- _+ k2 y0 {/ z& z. z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在" f( q1 ?( n1 r6 H! C( k" z& F4 W
  15. 编写本报告的时候,仍然有太多的问题-检查现状% Y% z/ Q  V8 \: e. T# S7 R
  16. 在teamspeak论坛,如果你有兴趣。 2 O5 G4 Z3 m/ ?) h7 r1 L$ ?
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机6 G' a9 `4 e* C5 I
  18. Borland公司使用。这个司机只能界面与客户端库
    9 W( V* o0 w6 z. v6 y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    " [2 Q( K2 S- `. W; r4 L
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    9 \4 B: [( N/ h- R1 Q
  21. " vendorlib " ,并解数据库连接。
    7 T% h% e" ?! {% Z
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 3 g1 m2 J* {5 q; G# p4 c, I

  23. 6 D' w" N' K/ f& M
  24. # # #做好工作# # #
    * `1 R( f) N3 q9 c. b
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    % P; d* q; ]3 L% b" a
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在. a% f3 o5 \' @3 L7 A+ A
  27. 结束: : Z: B+ h: D0 `7 \! i* h
  28. ---削减这里--- 7 y/ s7 x: I3 w7 j6 o. W7 K! E; v
  29. [ dbexpress ]
    / r6 |0 U& s7 Y1 A/ O
  30. sqldir = mysql_sql ) [" P2 K7 Y+ r1 _& x  S/ H& l  ~
  31. drivername = MySQL中
    4 i7 i. d3 x; u% k5 J+ C" w- w4 }
  32. 数据库= your_database_name_here
    ; h% Z1 u3 `( ?' N$ @
  33. 主机= the_pc_the_mysql - server_is_on
    ; b/ P9 R( ~- Y, w  ?; y9 P) R
  34. user_name = user_name_on_the_mysql服务器; I2 ?0 d5 o; n9 a4 p7 z4 |
  35. 密码= password_to_go_with_above_user_name ' y9 m8 c- U, V, f5 Q  w
  36. getdriverfunc = getsqldrivermysql % P% U* T7 {$ S& }4 p
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    # P* u3 f( \0 {( u6 n
  38. libraryname = path_to_libsqlmy_libary
    2 G+ s, {' s' L) o2 T& Z; f# ?5 g
  39. 积极= 1 5 N$ F0 t1 v/ ?7 q" s
  40. ---削减这里--- . g! }/ j) _* \8 ~! m
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    2 a( w  p8 d/ q
  42. ---例如--- 3 o. }9 ?' c4 u" ~5 u! f7 q- Z
  43. [ dbexpress ] 1 w! J7 s* V# y8 d5 \0 H
  44. sqldir = mysql_sql 5 n& i$ O# Z. Z; j5 z
  45. drivername = MySQL中/ ~$ ?; X0 E  ^1 s8 _/ ]2 L
  46. 数据库=测试
    : G$ D. }: E; @8 m2 P+ K% ^
  47. 主机=本地主机
    + Y7 S/ y7 T- }8 _7 e0 v" D7 B: T
  48. user_name = testuser
    ( D2 Q3 a4 [9 x) R  S0 I
  49. 密码= my_password
    ! F+ t0 a0 A, E* v  v" O
  50. getdriverfunc = getsqldrivermysql 0 v' l7 \) m/ E- p+ o( I2 M; j) p
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    7 l. T- ]2 g- V8 R3 a; b1 y
  52. libraryname =. / libsqlmy.so " z! k1 g4 z; N: J7 N
  53. 积极= 1 6 v  d$ M6 y2 Y3 K! [' U
  54. ---例如--- 5 |. _# x$ s6 T- E4 O
  55. ' X9 J! g, c7 n4 E/ I7 W
  56. 对Windows中,也运行MySQL服务器本地的,那就是: : \! _/ f/ s1 W1 X9 k* B% S
  57. ---例如--- & u) T( U3 v7 ^3 M# G; F
  58. [ dbexpress ] ! j* E/ M2 n( P( X# O
  59. sqldir = mysql_sql
    8 ^" y, D3 m0 {- ]( X( `
  60. drivername = MySQL中' A7 J0 J9 v( m7 S' O4 ?1 a
  61. 数据库=测试- M# Q8 n2 X% K) J
  62. 主机= 127.0.0.1
    - l7 H$ V0 E6 Z9 G$ g# ~
  63. user_name = testuser * F# H6 O) j$ {( g, J5 i
  64. 密码= my_password # o: R# N. {* b) f5 i$ E7 V3 A
  65. getdriverfunc = getsqldrivermysql $ g8 k- w1 L! q8 x
  66. vendorlib = libmysql.dll在
    6 p1 h8 N) R0 B, b" s
  67. libraryname = dbexpmysql.dll 1 t8 _+ \( M: c2 U, }" g) u( s( z
  68. 积极= 1 6 x! Q) M* ~1 A$ H
  69. ---例如----
    % u) F: ~. _3 Q. `3 g" l
  70. -写在0 2.03.04由p wk.linuxfan( ~; ~$ l  h/ E
复制代码
发表于 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# A: s9 u1 w+ Z% i
. r) x! B& }$ W5 o# A
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-3 10:42 , Processed in 0.043830 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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