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

2905 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan , B, u& }- l- N% H7 _
, E$ B! r" J% V; U- G

  1. , S+ B( y# s9 ]4 d
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    # B7 g( \1 q+ I9 t* p$ P, c9 e" H

  3. " a, d8 M" C: ~" U4 ~8 |, P6 a
  4. ### What we need ###
    ! Q1 M2 i' S+ _
  5. Naturally, we will need a MySQL server to store the data for us, this document
    4 l% e4 z6 \+ O) u
  6. will not explain how this can be done - there are documents out there for the
    - p. ~" d& r* O- i9 \& Y
  7. interested. The requirements include a (empty) database for TeamSpeak to use* j) j# R$ ^. E- J- e( U
  8. and a user account (username + password) that has the permissions to do stuff' l2 E7 j4 d8 F' {* R2 Y* T, ^
  9. with the database. Additionally, you will need a vendor library installed on the
    . a; L' m! Z( o3 ~7 E1 h
  10. local machine, this came with my MySQL install.
    5 Z2 P* R8 ?. [: |1 m2 u3 H' z
  11. These instructions will not tell you how you might transfer your data from the
    $ x( ?/ W: M( d
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    + |7 H2 O1 D1 W8 U
  13. database.
    & _" z( U, y: h4 F9 j0 H+ ?
  14. Some users have reported ways to import a SQLite database into MySQL, but at
      O) H& k" Z  D& f) D
  15. the time of writing, there are still too many issues - check the current status
    & ^3 i, Q9 D% ~7 E5 j' ^
  16. in the TeamSpeak forums if you are interested.; b& k- t0 H1 C+ G) X
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    9 K* Z9 w2 F" o, x0 z& d- y
  18. Borland was used. This driver can only interface with the client library that , |6 j2 ^0 i+ q& C  U. X: X. v
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this+ J  C% D( c: N, D
  20. client library - basically all you have to do is to use a 3.x client library as 6 y6 W- V# z2 Z: b! K8 @& a
  21. "VendorLib" and a 4.x database to connect to.
    # ^* [  c/ X& w8 X% |
  22. If you need more info about dbExpress, you can contact Borland.
    , E$ @/ I: I  v* W- g
  23. 0 Q' f9 O8 L' S6 k% ^5 `9 N
  24. ### Doing the work ###8 g* U- l7 S  O
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    3 e/ B7 n+ t" J$ P) }7 j! ?
  26. the perquisites right, just open your server.ini file, and add this section at, a5 o2 q  |) a. P! _
  27. the end:
    9 z' Q7 i3 c) v. c4 M+ Q
  28. ---cut here---
    1 C$ P2 t* k+ L' [
  29. [DBEXPRESS]
    - a4 {3 r3 S* G% Y3 p: \
  30. sqldir=mysql_sql
    7 y* H. V/ F. M) ^* O  ~5 \
  31. Drivername=mysql
    $ u7 t1 B& x  f
  32. Database=Your_Database_Name_Here% P! n" o9 O7 ~: ~- f% y
  33. Hostname=The_PC_the_MySQL-Server_is_on
    0 P$ J3 f9 d0 S9 x' T
  34. User_name=User_name_on_the_MySQL-Server+ p) m1 j- l: F
  35. Password=Password_to_go_with_above_user_name( |& H7 ^7 o0 `' g1 j7 o: @) s
  36. GetDriverFunc=getSQLDriverMYSQL
    ) c/ g2 b& |& M, _# d/ x
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib4 U' L1 D. a3 I6 E
  38. LibraryName=path_to_libsqlmy_libary
    - i' G: [9 ?( }7 @
  39. Active=1
    9 v* p- [" M) h; A
  40. ---cut here---
    ( s3 [: X! j1 q3 H# P! [
  41. In my environment (a linux box with a MySQL server running locally) I have:# Q: t8 e1 ?* S8 y- K2 `
  42. ---example---$ X+ f) E. K3 N+ r( A8 j' r
  43. [DBEXPRESS]
    + W; K0 }* k) s4 C3 |/ A
  44. sqldir=mysql_sql
    + ^) a% y1 @1 ^" c- r
  45. Drivername=mysql1 e0 T! y0 O" }0 r; a! c/ J* p+ z
  46. Database=test
    3 p  B; k- T& x* N1 j% f  c  x
  47. Hostname=localhost
    $ s6 H" a/ g& ?
  48. User_name=testuser" n! {* m6 \. J, |
  49. Password=my_password
    * Z, U, _6 k" P, N& ]! L
  50. GetDriverFunc=getSQLDriverMYSQL# Z  W, y# n, b6 g$ P! F
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.07 L/ E9 P8 b0 o! `$ _
  52. LibraryName=./libsqlmy.so
    * _+ f" H' x# c
  53. Active=1
    ; i* Z6 `: h  m) c+ c
  54. ---example---: {. n; S) d5 s0 @# Y* Z
  55. ' m& ^+ o3 H' I0 f! S: u9 N* L
  56. On a windows box, also running the MySQL server locally, it would be:0 A, @0 q4 e# R
  57. ---example---4 D6 F0 D) e2 w
  58. [DBEXPRESS]
    : s* l8 B3 u$ f! n. z
  59. sqldir=mysql_sql2 K& V" X! L$ D. B, U: q
  60. Drivername=mysql* Z% ?* |& v* W! ?& e
  61. Database=test1 b) L8 t* [) m6 f2 H0 J( O1 X
  62. Hostname=127.0.0.1& _- I. W/ v. u% R2 \  L8 B
  63. User_name=testuser
    " ?3 R" W3 y& _
  64. Password=my_password
    " E7 |6 @2 G' Q+ L4 V: B  E
  65. GetDriverFunc=getSQLDriverMYSQL7 z4 L( o6 _& k( L9 V, l
  66. VendorLib=libmysql.dll- c! y2 F, D2 v$ F% o
  67. LibraryName=dbexpmysql.dll
    ( D6 `$ m( O4 |; h( A
  68. Active=1
      @0 I# y) E! y" r
  69. ---example----
    $ H7 P4 [2 c' ^2 r3 D4 {2 Q
  70. - written 02.03.04 by pwk.linuxfan
    3 O( r7 J5 f( `# Q
  71. ( V5 Y) ^$ d* H" }( J3 |- b# X) g
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看- w9 U  _! A( ?1 x3 U4 \

  1. 7 h2 r! E  W/ Q: r0 V/ K, _
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### / s! m( s( V4 I( V

  3. : r! |( v5 A- k4 K0 ]2 `$ P
  4. # # #我们所需要# # # 8 R% E6 U3 \# l: G
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件. Y  q# R& a* b2 R2 Z
  6. 不会解释如何做到这一点-也有文件存在,为
    ' y" H8 B" ~* f& m4 T. k
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    $ K7 i- q/ ~" l+ f8 I6 K9 q2 U
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西  t- g2 K! Y' z# v# l
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ( ]1 a. Y0 B; @" Q. Z* I
  10. 本地机器,这是我的MySQL安装。
    ! b/ G* T1 [2 o' T8 N# j; |1 |
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    $ Z& D/ @+ Z! d) \, U8 _7 a2 R3 [. P
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL   z  j( N  u7 F( f& R
  13. 数据库。 " a" O$ b3 a1 T: [8 k3 U0 X, S% \
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    . P2 X' k1 x$ \9 l( t
  15. 编写本报告的时候,仍然有太多的问题-检查现状$ g( C2 {+ C% b/ ^8 q# F$ E
  16. 在teamspeak论坛,如果你有兴趣。
    / G! J0 Q$ d4 [- L8 R2 w! W
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机9 s) W1 R1 p5 ]2 s
  18. Borland公司使用。这个司机只能界面与客户端库8 c: C: x! Y' o6 ?4 \
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    , ^% F9 ~+ J" e5 n4 N$ ]6 O) Q4 W1 I
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    : ?9 b% r; C0 v7 ^
  21. " vendorlib " ,并解数据库连接。
    ' X. t/ e/ A, @4 t3 N# B
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    + u: L" |- d( r9 A. X. G  N

  23. : S/ a! N! }' w, o! l$ U/ Y
  24. # # #做好工作# # #
    5 e: P- w9 R: [0 _
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都2 Q0 J  N+ O! T" r( j
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在( V7 `/ C' p, e& V  B  o7 c
  27. 结束: * i/ M! F3 }2 K) m) I$ ^
  28. ---削减这里--- : e* p/ J$ N8 ?7 M: o
  29. [ dbexpress ]
    : ]; Y' j0 l- b1 G4 m: M
  30. sqldir = mysql_sql ' u# `# N5 h+ U
  31. drivername = MySQL中
    1 }7 h) _, ]! `- }, \7 Z3 ?
  32. 数据库= your_database_name_here
    6 `& ?' x% W3 A) ?
  33. 主机= the_pc_the_mysql - server_is_on
    ) D$ ], [7 {! {
  34. user_name = user_name_on_the_mysql服务器2 b! q; a! G# \
  35. 密码= password_to_go_with_above_user_name ! |# \( Y  w9 j' G; S0 a
  36. getdriverfunc = getsqldrivermysql
    ; ^/ r8 h, |# p7 N; G
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ( b7 y8 \0 f/ ~! A  r% N7 D# R
  38. libraryname = path_to_libsqlmy_libary . T2 e$ X! S, O/ h8 `- D
  39. 积极= 1
    + I1 B  a5 c, x2 e
  40. ---削减这里--- . x9 m( D7 w8 g( t0 O
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    9 z* F! }7 U. Y
  42. ---例如---
    , ]6 M$ v2 `. Q( K! L# c$ ~% I
  43. [ dbexpress ]
    . g$ w' V4 q3 p# y0 d5 g
  44. sqldir = mysql_sql 5 o/ c' l+ I; n6 I9 a( J
  45. drivername = MySQL中
      u8 i: X9 \8 X' M) o' a) R9 L  H
  46. 数据库=测试! _3 i) r( H" g+ y$ n
  47. 主机=本地主机
    ; ~7 ^7 A. ^5 I9 w' d
  48. user_name = testuser
    , M' ~3 F8 m& j# ^
  49. 密码= my_password + Q! Y+ Q) r9 u2 d( e; l& h$ q
  50. getdriverfunc = getsqldrivermysql
    5 u3 U# j% y0 p/ D* P2 z9 n
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    3 B4 D6 t% ^& x! q5 K# N7 o/ v
  52. libraryname =. / libsqlmy.so $ ^6 q# `) P1 p& b$ O. ?& C0 y: w
  53. 积极= 1 5 I: {; r6 p/ i) l; s& x4 \
  54. ---例如---
    # }7 j: @. B2 M  |' M! H' h3 f

  55. $ k5 h2 N% [  Q6 B: H+ G. t
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    + q; q8 X2 q% j2 P5 @+ e
  57. ---例如--- 3 B# z4 q$ s( e: d) g
  58. [ dbexpress ] ! t& q; D8 c1 a# e/ S2 c
  59. sqldir = mysql_sql + l: w1 ~; V4 w! Z. D: u
  60. drivername = MySQL中
    ' l3 |! p9 K" ]+ ]9 o
  61. 数据库=测试% t7 ^, Y" D; c. K
  62. 主机= 127.0.0.1 # s$ [$ o# @' r9 |4 {& f# L
  63. user_name = testuser
    ) S( q% D& x/ O* g
  64. 密码= my_password
    ) p; Y; ]5 v8 J: @
  65. getdriverfunc = getsqldrivermysql . o! g( j( u/ |* z5 V- ]
  66. vendorlib = libmysql.dll在
    1 k% H* H8 m: |8 ?1 i: G5 u2 c
  67. libraryname = dbexpmysql.dll : w) m6 O! ~* o! k
  68. 积极= 1
    5 o4 d) B2 H  u
  69. ---例如----
    1 w& B8 m' i" c  D" T
  70. -写在0 2.03.04由p wk.linuxfan2 o1 _  }7 Y. o7 A- m4 p
复制代码
发表于 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
( G% D( u: `* d# j8 f- l+ R- @4 B: ~( [
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-17 06:30 , Processed in 0.095210 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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