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

3092 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 8 `0 a3 c& L: C5 k6 N1 X6 b) J. P+ [) O
! Y% y, [- p0 Y8 w+ m

  1. 3 d% }# C/ f* q( {0 ]
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    4 R' L2 X5 Q) x' F3 C7 G7 {
  3. ! ?4 @; g4 o: H
  4. ### What we need ###
    % x1 _) I/ t3 K+ R' f5 h  @
  5. Naturally, we will need a MySQL server to store the data for us, this document
    5 M4 H3 L& Z+ y" I! g. \' r9 `
  6. will not explain how this can be done - there are documents out there for the
    8 q1 W5 T  A: N2 M5 n
  7. interested. The requirements include a (empty) database for TeamSpeak to use! `, r+ O8 Y) V! _1 ]
  8. and a user account (username + password) that has the permissions to do stuff
    # o- Z- x9 E" _, @& N; a* v
  9. with the database. Additionally, you will need a vendor library installed on the' ~6 |; p9 `; J$ ]( r
  10. local machine, this came with my MySQL install.) I+ h: T. {# C, w& }
  11. These instructions will not tell you how you might transfer your data from the7 q5 B2 s- W* w, S( L
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    , Q' }% O$ @3 {% f, Y7 W
  13. database.
    9 h# P3 r* \3 y8 r5 i: |
  14. Some users have reported ways to import a SQLite database into MySQL, but at  w9 `1 ]# }7 P6 H1 X
  15. the time of writing, there are still too many issues - check the current status  W* k  E. O( K  A' n" Q& p$ B
  16. in the TeamSpeak forums if you are interested.2 Q. `! I! f2 t* B- }+ g4 M
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    & V. J/ g) n. ]* R' X- p. _- G
  18. Borland was used. This driver can only interface with the client library that
    3 B" e0 {% L" G) _7 }- L( d
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this# O  j5 Q$ S! f! P& j  L- @
  20. client library - basically all you have to do is to use a 3.x client library as
    + [1 d/ B5 n. y
  21. "VendorLib" and a 4.x database to connect to." |! U( m" R) g1 g
  22. If you need more info about dbExpress, you can contact Borland.$ X) j+ y1 U# }) H  d+ ^
  23. " H6 O4 c4 E+ E& F
  24. ### Doing the work ###9 |1 H. s+ \( m* {# w- ?8 d) @
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ R; E' X6 B1 n
  26. the perquisites right, just open your server.ini file, and add this section at/ P* |) W% g& o
  27. the end:
    / V3 ^2 j* L; L
  28. ---cut here---
    ' @; A  A, l  U, c
  29. [DBEXPRESS]0 \% B. d! H7 b
  30. sqldir=mysql_sql
    . t% I2 f" H1 z7 N& I
  31. Drivername=mysql
    , ]  C2 p: [5 Q
  32. Database=Your_Database_Name_Here/ {  m9 @/ G) F& G
  33. Hostname=The_PC_the_MySQL-Server_is_on
    5 q# Z7 G2 c4 ~5 ^) [2 H2 e
  34. User_name=User_name_on_the_MySQL-Server
    ! @/ F: R) p1 m3 y, |5 w& Z
  35. Password=Password_to_go_with_above_user_name
    * Q4 o# J9 K' ]# Q% }# j: q
  36. GetDriverFunc=getSQLDriverMYSQL
    . G5 ^( t+ z. r# ?
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    - \8 h# H  ~9 g6 J% {
  38. LibraryName=path_to_libsqlmy_libary1 L/ A9 S2 f  }+ x7 n
  39. Active=1
    ! M  _6 S. e% z) Z' L! v4 a7 S
  40. ---cut here---
    ! }( c  e! e, m6 F' r
  41. In my environment (a linux box with a MySQL server running locally) I have:
    : a: C& e# _/ P# m& J5 }# H
  42. ---example---
    9 g) Z. \+ r: Q/ E8 t
  43. [DBEXPRESS], t, u6 _& B; K+ l7 d5 l
  44. sqldir=mysql_sql
    + W3 [# V( x* {  a% E
  45. Drivername=mysql, k0 Z% u3 D+ S$ f8 c6 b
  46. Database=test
      Z0 T0 Q2 s% I- P) n5 A, @! t4 }  x2 Z
  47. Hostname=localhost$ h2 u) `. `! l0 e
  48. User_name=testuser
    % }0 `5 `0 |' e$ s: B, f; R
  49. Password=my_password( G) s( w$ @6 ^7 \3 `1 g
  50. GetDriverFunc=getSQLDriverMYSQL9 y/ T. z$ w7 p4 m1 A6 Y
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.03 P6 v# t2 B- V6 a  z+ d2 Q
  52. LibraryName=./libsqlmy.so# A: K: T. F7 b1 u0 X6 K
  53. Active=1
    ) @" X- G3 a% l6 r/ {+ G
  54. ---example---" p5 m6 a( ?% I

  55. 1 c( \  r1 G9 O5 j0 O+ `
  56. On a windows box, also running the MySQL server locally, it would be:# M" f& |1 {! C) _& z
  57. ---example---
    + X/ Q1 L: j$ W
  58. [DBEXPRESS]
    . t6 V& p9 Q# j% S4 u; B! _
  59. sqldir=mysql_sql4 `7 j' U4 n0 y) ^& [
  60. Drivername=mysql! ]9 V: c6 O: ]7 l2 }
  61. Database=test
    ' X, \0 c: g* T2 [. R
  62. Hostname=127.0.0.1
    3 ]! U' N1 T8 Q) b! I8 Y  ]
  63. User_name=testuser% Y6 e; O. j  N. c& f0 l( U
  64. Password=my_password/ p; B+ K" v; W
  65. GetDriverFunc=getSQLDriverMYSQL
    2 s- V! S! n+ O# D+ l6 B
  66. VendorLib=libmysql.dll
    7 E4 E" R! B4 V& H8 b: K7 B
  67. LibraryName=dbexpmysql.dll1 S( Z* S4 u# f( J& t4 c/ g! G8 s' Q
  68. Active=1
      w+ L' f2 H- j; K
  69. ---example----
    ! W# `. K  z8 o  g* e7 L' {
  70. - written 02.03.04 by pwk.linuxfan& q% Y- E5 D, i# v  D9 n/ f

  71. ( H* h# u/ M* ]$ s
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看) q; m: K+ j9 [% @/ {& Y

  1. % g" B. f0 T- `0 f. J
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 9 B$ `) o& Y. Y7 z5 ~9 B" c+ L
  3. # ?& V" o4 U% @$ l7 m, e" K
  4. # # #我们所需要# # # 4 G) t6 c2 X/ `' v. M/ \, K
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    % F; |2 X+ w) d0 y
  6. 不会解释如何做到这一点-也有文件存在,为* C2 w& B2 _( T7 r- Y' p5 X
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    * i1 z/ H$ |: z) e& g; c2 x; c
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    2 @. W% O/ V* K2 I* D0 l
  9. 随着数据库。此外,你需要一个卖方图书馆安装于" L; `7 c9 }* r2 X
  10. 本地机器,这是我的MySQL安装。
    . z7 d* E1 O2 `9 O$ H
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从# B& b1 |* X$ H+ I( q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    8 K2 z( k( i# L
  13. 数据库。 $ ~) @  x) ]! P  j* u. H7 ^- L0 }0 K
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    : h5 O; G0 f! I$ b/ q
  15. 编写本报告的时候,仍然有太多的问题-检查现状. }. w8 q( T9 j; W+ f$ S* M
  16. 在teamspeak论坛,如果你有兴趣。 7 c% S" t: ]  M0 i( g
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    $ @. E7 y. }; m* e" S8 J
  18. Borland公司使用。这个司机只能界面与客户端库6 r* ~) l+ n0 R/ w& J) o
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这8 y! R) Q9 y( `
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为( ]( s% W, W  j( P( a
  21. " vendorlib " ,并解数据库连接。
    3 U+ N+ d# @# Y% c+ ?
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 6 G; D  d9 R$ y! q- @
  23. 6 c; H# G( s4 Z' X9 F$ P' Q5 w
  24. # # #做好工作# # #
    + f4 U- o) N! \
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ( O! R: f% l; T6 V) }
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在; \+ z- j+ _" w/ ^. j, y) I* u
  27. 结束: ( {. F; s* M! c( M# P" W) `# [5 E7 b
  28. ---削减这里---   N$ k8 H% g# I9 O6 T4 n
  29. [ dbexpress ]
    , t, l5 ]% D2 t& F; T
  30. sqldir = mysql_sql . B! E; V. B  p5 n3 @, c
  31. drivername = MySQL中
    ) j7 H% Y, L& F* X
  32. 数据库= your_database_name_here
    " c2 @6 o0 n3 p# ~) h6 @: t
  33. 主机= the_pc_the_mysql - server_is_on : l; e8 o/ a0 O6 ^
  34. user_name = user_name_on_the_mysql服务器8 f* j$ m+ j( _- q* w
  35. 密码= password_to_go_with_above_user_name
    6 Q( o+ E. q/ t  q9 O4 a
  36. getdriverfunc = getsqldrivermysql
    + [6 B( r9 G; O4 q# I
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ( [* b8 z8 C* \& f. W
  38. libraryname = path_to_libsqlmy_libary / f; e- O' ^. X3 M- B' j6 Q# c
  39. 积极= 1
    ' r$ L7 v3 Y8 r3 F* I
  40. ---削减这里---
    & n  y- m5 k' g1 K3 \8 g3 _
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: , K* K% N4 e& ^/ Z( y4 Z2 L
  42. ---例如--- $ y* F/ P- E' D5 T* V  n! _; r4 A
  43. [ dbexpress ] 4 K5 {: u1 d; R8 A! T
  44. sqldir = mysql_sql 1 u! Q" a* s# I8 R
  45. drivername = MySQL中
    " ~2 P6 r/ Q9 j5 P* d: z
  46. 数据库=测试
    4 }; p" [. ^: \% n! B" M/ M+ E
  47. 主机=本地主机
    ) t, f' |8 H# ~: `4 g2 {9 h  d
  48. user_name = testuser ; w/ V) k1 r- o) E2 r! D
  49. 密码= my_password
    / l9 |" p# Y; B! x
  50. getdriverfunc = getsqldrivermysql : {+ E4 f0 {) X5 u. e- R2 X% E. ?
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 + o4 {$ X# A4 F: h" y) D/ m
  52. libraryname =. / libsqlmy.so
    1 V" Z3 b; J# B( ]  t. s) _# f
  53. 积极= 1 ! v/ L: L2 C  z1 _$ k. I
  54. ---例如--- . @6 D4 k4 b, A5 U  B

  55. ; T7 s/ v5 k: a2 Z) l  p' n
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 4 {, s6 t- c1 W$ D8 D
  57. ---例如--- - C7 o, h0 h+ K3 s, |7 n% ]' n. M
  58. [ dbexpress ]
    6 L  ~, K/ f6 `, s3 Z5 A3 P
  59. sqldir = mysql_sql   ^( |: Q9 B0 `* F- A
  60. drivername = MySQL中
    6 o6 ~4 U0 Z: D9 f/ v
  61. 数据库=测试
    " _0 A  e7 F$ m9 C9 e. v
  62. 主机= 127.0.0.1
    8 Y# E4 M/ U4 J7 [
  63. user_name = testuser
    8 u+ y: ~2 F- _: b+ s
  64. 密码= my_password & M, ^. F0 n, r2 b  |! {
  65. getdriverfunc = getsqldrivermysql % `1 a$ x8 ]! ^7 L5 N
  66. vendorlib = libmysql.dll在
    : R7 [3 ~8 q9 r5 X6 e
  67. libraryname = dbexpmysql.dll ( R- @3 I" @, s6 M0 f1 n* j" l
  68. 积极= 1
    9 u8 Y# X8 `8 _' l* J5 a
  69. ---例如----
    9 M9 x9 L* o; w$ W/ T1 v
  70. -写在0 2.03.04由p wk.linuxfan/ b" ?. F) x  D' }. e- V9 ]
复制代码
发表于 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
6 N; R* e6 v( E  z. j
4 g) L4 ]! Y2 f( y0 C( ?but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-30 14:18 , Processed in 0.087676 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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