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

2359 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan * O) {) k* v+ m/ r2 i( k8 B# g

8 X& u5 c3 t0 ~  {

  1. / ?4 h$ L( l3 F, T
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######% A% C- H4 k( `

  3. ; T1 ^& g5 q2 }0 h& x. ^$ m
  4. ### What we need ###, M# Q' ]% ^( R9 S' M
  5. Naturally, we will need a MySQL server to store the data for us, this document 0 q* S' _+ U/ x( Z1 I
  6. will not explain how this can be done - there are documents out there for the
    0 g0 n# O0 _" V  N0 i6 R9 p
  7. interested. The requirements include a (empty) database for TeamSpeak to use# V+ }: w, ^3 _) y, a
  8. and a user account (username + password) that has the permissions to do stuff2 g  K  s: k4 d9 A6 m9 d' F9 _
  9. with the database. Additionally, you will need a vendor library installed on the
      t1 m; d+ ?& s6 j7 A+ Q; s
  10. local machine, this came with my MySQL install.
    6 d" Z' h$ C+ v! @5 j# N; J6 g
  11. These instructions will not tell you how you might transfer your data from the
    ; p7 I, E8 A* O# v# O
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL/ {/ H* q' B: L' o* p( ]6 J
  13. database.+ g' M6 Y( S" z5 C( A) ]
  14. Some users have reported ways to import a SQLite database into MySQL, but at! P$ q" s: i% A# d$ j
  15. the time of writing, there are still too many issues - check the current status
    # U3 I  X! i. ^& j  ]
  16. in the TeamSpeak forums if you are interested.
    : l# S) F- t7 [6 E' Z2 U' y7 J9 y/ J
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ; B* d6 P7 b& W3 m0 B
  18. Borland was used. This driver can only interface with the client library that
    8 q4 b: ~. j) C% d/ `, E" z3 r0 U
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this" [5 R4 B$ X" s- _0 f2 X
  20. client library - basically all you have to do is to use a 3.x client library as
    - [! d; J6 A6 [4 I8 C" t) F
  21. "VendorLib" and a 4.x database to connect to.+ ?; D7 q: D# {. L4 N3 P, I2 T+ g
  22. If you need more info about dbExpress, you can contact Borland.
    4 _! D9 z. p  B# X
  23. 4 P% k; ^- G% r" Q7 z
  24. ### Doing the work ###
    2 y' h! G) }9 M7 \( Y% i. x
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all# Y" t7 K: ^, U0 a8 S0 b- m
  26. the perquisites right, just open your server.ini file, and add this section at
    ; z. D! I% b' Q) P  M* ?
  27. the end:2 V+ f) ^' t  G( a
  28. ---cut here---1 B) E" V- y( k) r6 P6 ]; m! W) S; Y
  29. [DBEXPRESS]
    0 @6 C- f& E# y2 d
  30. sqldir=mysql_sql: G  [6 c3 C+ v/ L' W9 J; [& G5 r
  31. Drivername=mysql( {- [2 {7 v2 H" E* e+ H( V- B
  32. Database=Your_Database_Name_Here/ R: j+ f# a8 s+ a4 S1 h
  33. Hostname=The_PC_the_MySQL-Server_is_on/ B& y4 R% Q7 i: R& X0 y" Z4 S
  34. User_name=User_name_on_the_MySQL-Server
    6 D- n2 K: \+ P1 o% T( y6 D
  35. Password=Password_to_go_with_above_user_name: X/ K# a; l5 P0 o& j
  36. GetDriverFunc=getSQLDriverMYSQL
    : ?4 r! @8 B) y- d
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib  R& x1 }. \" D
  38. LibraryName=path_to_libsqlmy_libary5 ]; U* H, u1 ~. E4 N. s
  39. Active=1' G& s3 |1 b0 Q& m+ A0 G
  40. ---cut here---. q, L& I4 t: i" r$ t# e# k
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ) F% q1 q2 P5 j' H9 R' M
  42. ---example---
    7 P: O; h0 h' T, R
  43. [DBEXPRESS]; l/ k" w. h) @3 a2 \& [' l* p
  44. sqldir=mysql_sql
    & j; p$ i, {8 l3 r5 H8 `
  45. Drivername=mysql) r9 I4 Z" P  A. }+ `4 V
  46. Database=test
    3 ~: ?/ H+ h3 Y+ \, \7 R
  47. Hostname=localhost. m6 W: B0 `2 ]' x+ ]
  48. User_name=testuser
    * m% i( j6 D2 y+ L& z5 {
  49. Password=my_password
    ) y7 C+ o7 e: g! S4 q, T6 U
  50. GetDriverFunc=getSQLDriverMYSQL. a/ `( T% r7 j* h
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.02 L8 g2 R( e+ x
  52. LibraryName=./libsqlmy.so, \3 F7 w% v# J1 }
  53. Active=14 R' d& M2 p$ M9 L3 q/ F: ^
  54. ---example---
    1 \+ h% J( E2 J8 h' q
  55. 1 }! J3 z0 ]! C9 ]. j& `
  56. On a windows box, also running the MySQL server locally, it would be:6 x$ i% ]& E+ f: D. ]7 ^8 G2 g
  57. ---example---0 T1 D- Z. y. n& e6 a
  58. [DBEXPRESS]
    ; G5 r/ h0 P7 t- f
  59. sqldir=mysql_sql6 j. r: ]: l, f) C0 P& p  n, T2 v- U
  60. Drivername=mysql
    / Q4 D2 x4 M/ \" R( L1 {9 a
  61. Database=test- \; Z5 H7 \2 z: b+ \9 r$ Q
  62. Hostname=127.0.0.1
    # h% K# b& Z3 U  O3 ^0 q
  63. User_name=testuser. m. E" A8 M1 \  M3 h% H6 U" ~5 J
  64. Password=my_password
    ( j. E* ]9 O) B* A
  65. GetDriverFunc=getSQLDriverMYSQL% |% \1 v6 C! Z4 ^( @+ x
  66. VendorLib=libmysql.dll! l( Q7 m% o5 ^8 j: Q7 d% M
  67. LibraryName=dbexpmysql.dll4 @( j& J' P( u
  68. Active=12 ^$ J0 r% P) @" C
  69. ---example----+ C: R  `/ x. P% q
  70. - written 02.03.04 by pwk.linuxfan
    5 Z$ O9 D- b7 N- d7 L" F/ |
  71. $ a' [) d7 k3 g/ e
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
7 S6 P5 S  I) b
  1. , y! M$ o* I* {  x
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    % Z/ a0 L1 S! C7 |+ W/ m  f2 Y& t

  3. " }: O7 U/ w9 \, f) F3 G$ D
  4. # # #我们所需要# # # & h8 O/ x, ?  a$ S; K& x( a& I
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件, W6 Z- E" E( f1 q9 M0 ^  C& h
  6. 不会解释如何做到这一点-也有文件存在,为% U- d2 H7 `9 q/ Z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用: F1 P# a" d4 F5 |
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    / W* x: F) P8 _. O5 x8 g% C
  9. 随着数据库。此外,你需要一个卖方图书馆安装于- B& q) ~" i8 Y5 w; @
  10. 本地机器,这是我的MySQL安装。 6 w+ Y: Y; [: M0 S
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从2 h" h; d0 w0 }) K4 L
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    6 |) `: o# u3 c( w
  13. 数据库。 % ?3 p2 j1 {$ P
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在8 |: |  `4 x9 R$ Z) B
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    4 N+ |2 F7 N. s+ c
  16. 在teamspeak论坛,如果你有兴趣。
    & }& G% j" c) n; ^# V: y$ M
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    / p. s; ~- W8 C0 y. t2 ^4 W( ~
  18. Borland公司使用。这个司机只能界面与客户端库1 v& Q( V8 @% m9 G
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这- Y: r0 m9 i3 R: S
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为# m& p6 }: m. h& x2 J
  21. " vendorlib " ,并解数据库连接。
    % l! x+ Q8 h, A
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ; b& y" f  A! M! w: U

  23. + S: i9 F2 z. g! m5 }, p5 i
  24. # # #做好工作# # #   J7 c' x3 r* L! v6 ?, k( P4 I
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都( {+ W- e1 E/ q1 \. ~) P% R
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在/ z/ n$ W% f/ _
  27. 结束:
    - ]( i5 Z% V/ S$ f, F5 d
  28. ---削减这里---
    0 c. }- q8 O& ?9 H' L' P9 Q  T
  29. [ dbexpress ]
    + T+ t: [$ M& D. R3 M* L
  30. sqldir = mysql_sql / C6 }# Z) V+ K8 I& N
  31. drivername = MySQL中' d$ u) w) T; E  D+ @6 u( W2 {' g
  32. 数据库= your_database_name_here
    * K: [. M% k8 A. n7 e% X9 `3 p
  33. 主机= the_pc_the_mysql - server_is_on
    . t: h. `* w& @5 H- D% G
  34. user_name = user_name_on_the_mysql服务器2 h4 u, w- ~. e) ?' [
  35. 密码= password_to_go_with_above_user_name 6 Q5 s: q1 \9 P8 t) S* j, g/ l
  36. getdriverfunc = getsqldrivermysql
      D* w4 b) z+ k5 x+ v: `
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib : ]: k: |- p5 J& e2 b( J
  38. libraryname = path_to_libsqlmy_libary
      A8 [0 S# z, t) B& U+ T7 u
  39. 积极= 1
    9 s# i6 T' G: D( O( L- c. I0 ?3 u
  40. ---削减这里---
    ( u' J- Q+ @+ i
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    + y$ R1 D, |$ t' B
  42. ---例如---
    3 n' I; [4 h6 p; @
  43. [ dbexpress ]
    3 @! W+ Z6 @2 ]* a# R1 s* Q  X
  44. sqldir = mysql_sql , N0 @0 P- o  }; @+ T
  45. drivername = MySQL中
    / E" ?( s; a7 L9 o' e
  46. 数据库=测试
    ( }  Y7 w' f, b1 i+ R) k' v
  47. 主机=本地主机
    / q6 Y& M3 f6 z8 q7 A, B: Q: K* r
  48. user_name = testuser 8 e9 h) w+ i& I2 \! j) S
  49. 密码= my_password , U, A% y/ f5 H9 d
  50. getdriverfunc = getsqldrivermysql - ^3 p4 J. I5 J- D' [1 U# D
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    9 ^: _& x4 g& G  A* S$ H
  52. libraryname =. / libsqlmy.so % {, _3 f7 w* T- K) W0 R9 K
  53. 积极= 1
    . H! D4 H* s2 [, g
  54. ---例如--- . x7 y1 G  F  z. P( U% h, F* M
  55. $ l  O( v$ K( ]: _; S# t
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    2 ?4 i, B9 \, N8 L* _. ~6 z% h
  57. ---例如---
    ' F+ h! `* y% |  P) U7 {
  58. [ dbexpress ] * F6 G# @3 o# @( `1 M7 X3 T
  59. sqldir = mysql_sql : W* o0 ?  F4 D6 f2 Z
  60. drivername = MySQL中
    * e  @1 O0 L9 E! ~" Y
  61. 数据库=测试
    ( Z. Z  O: f7 Y* y7 Y7 b
  62. 主机= 127.0.0.1
    $ _, }9 ^3 k/ O3 ~) ]- K' n
  63. user_name = testuser
    ( D1 V1 @9 }+ L, G' C' ?0 `0 i7 ?( _
  64. 密码= my_password
    * w( P8 R& s! R
  65. getdriverfunc = getsqldrivermysql $ [) R# s6 J/ W/ a) ?4 q0 I( K
  66. vendorlib = libmysql.dll在
    2 a7 J3 w( g- H$ Q, ^. p
  67. libraryname = dbexpmysql.dll
    8 r$ d! T8 a# ^8 j; ]: D
  68. 积极= 1 ) z5 w$ i6 U) d' H+ c
  69. ---例如----
    & \% o6 N  F; v7 @9 j( P$ h' i/ u
  70. -写在0 2.03.04由p wk.linuxfan
      ^- t+ t' [! q& W: k
复制代码
发表于 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
7 p! G# }. e% m2 P* K& _& ^% H
# h8 @) l  A* v# w4 e/ S7 n& Sbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-5 09:12 , Processed in 0.099515 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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