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

2377 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
3 \7 P. i; O5 ~4 ^. \# Z2 x# M% D& l5 Q( X: t! }/ V/ T
  1. + c; |; S- _1 l3 E3 n5 \) R
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    8 r8 y2 H1 a  L  r! W

  3. 2 e; {  g# Q" ?" _; I
  4. ### What we need ###* o0 K7 ?, k# h- r
  5. Naturally, we will need a MySQL server to store the data for us, this document
    3 p6 {- m. e- d
  6. will not explain how this can be done - there are documents out there for the - U8 _$ M! J2 w/ b1 Q( h" J
  7. interested. The requirements include a (empty) database for TeamSpeak to use
      Z0 y! I% O0 I, X& z& k8 ]
  8. and a user account (username + password) that has the permissions to do stuff
    % @2 A" \% ~$ H% y4 i& Z
  9. with the database. Additionally, you will need a vendor library installed on the7 o+ x- w  O7 e5 Q
  10. local machine, this came with my MySQL install.  u* R. i- V* D
  11. These instructions will not tell you how you might transfer your data from the
    $ B! ]: _0 Y0 \, t
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL6 i  K" G9 k/ c& ^
  13. database.# `! p7 `: X7 D4 X/ D  U
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    2 M( q5 K7 S0 o% a
  15. the time of writing, there are still too many issues - check the current status
    + q' ]) f, f9 W  M1 S5 G! u
  16. in the TeamSpeak forums if you are interested.- N2 ^) G0 q& W
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from) f" x5 h$ C) u, [! O6 B
  18. Borland was used. This driver can only interface with the client library that . c6 P1 q+ K5 h3 D* {/ d) {8 r( Y9 K
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this6 x: }0 ~5 v0 ?% N* p
  20. client library - basically all you have to do is to use a 3.x client library as
    ' H. w6 M0 d& \/ ?# Q8 i
  21. "VendorLib" and a 4.x database to connect to.
    + p  W8 L. m: r0 z6 ]
  22. If you need more info about dbExpress, you can contact Borland.0 e& i! n+ l- i, X) w+ E2 Y- W
  23. # A% w: Z/ y3 k7 ]/ Z- h8 |4 N
  24. ### Doing the work ###
    + |/ M1 y) w3 H! s& U1 r) \
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all" S9 L, e9 d$ O( D
  26. the perquisites right, just open your server.ini file, and add this section at' G4 ]1 D" r1 B4 B1 H! h
  27. the end:
      Q" U& W) \( |
  28. ---cut here---
    6 x- |. q8 z1 B' R* b& _
  29. [DBEXPRESS]9 E5 d' R* Q7 ^! g" J
  30. sqldir=mysql_sql
    3 {  B# B* C" O! R2 l* z8 h
  31. Drivername=mysql" ~: l$ V( ^+ O3 h
  32. Database=Your_Database_Name_Here. j( t% |. f4 R" u  L# e
  33. Hostname=The_PC_the_MySQL-Server_is_on. O- d/ L3 m- M9 S) M* X8 [
  34. User_name=User_name_on_the_MySQL-Server
    ) d4 s3 z1 l9 O: n% p6 t3 b& [
  35. Password=Password_to_go_with_above_user_name
    % f( k; R; u0 M, g# e
  36. GetDriverFunc=getSQLDriverMYSQL( Z  ^6 g6 w1 `' V" Q
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    4 X2 l1 S7 G5 ^0 c9 e
  38. LibraryName=path_to_libsqlmy_libary; C+ ^$ b6 `2 h6 W( p
  39. Active=1
    2 O# p/ l- W: N9 I( ^
  40. ---cut here---
    ; Q! u4 w  g4 Q- E8 q1 B6 y
  41. In my environment (a linux box with a MySQL server running locally) I have:' m6 d& P( `# D
  42. ---example---2 d  y& p# i1 X$ D9 {' a
  43. [DBEXPRESS]
    " z  ?5 p8 C$ {; ]. t! g( d, i
  44. sqldir=mysql_sql4 g! d6 p3 o; c
  45. Drivername=mysql
    & T. x$ x9 U6 ^/ {3 X
  46. Database=test
    , Y2 C9 ~: P3 l! f- p- @
  47. Hostname=localhost
    5 X% |8 i' C7 M. O
  48. User_name=testuser
    : ?/ L4 k& {9 n) U
  49. Password=my_password
    : e( U( j5 Q, i
  50. GetDriverFunc=getSQLDriverMYSQL" z( K7 D5 W( W) j
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.02 z& _$ Y/ v# I3 }
  52. LibraryName=./libsqlmy.so( I. G. ~" w$ g, g
  53. Active=1
    ; X6 E9 }! r) W8 M
  54. ---example---
    & Z* R- P% A& u& ~+ p
  55. 7 O4 ]+ J& q  Z' |# C7 W
  56. On a windows box, also running the MySQL server locally, it would be:
    ; d  I2 V) {! f& ~
  57. ---example---
    3 R' S9 J: V7 }9 m# c$ g9 I
  58. [DBEXPRESS]
    2 l/ C( Z4 T9 O& h
  59. sqldir=mysql_sql- P9 ?/ n/ f/ N" y1 }5 y
  60. Drivername=mysql% Q2 ~% Q' w& J; _. ]
  61. Database=test
    ; g; H5 ^  m  C" F
  62. Hostname=127.0.0.1; R! B! S  H8 u* V5 ~# |, Q+ W
  63. User_name=testuser
    6 L, t! e! H  b% I
  64. Password=my_password
      \' \5 c7 \0 T& c
  65. GetDriverFunc=getSQLDriverMYSQL  O: U1 ~" m: a+ G  K
  66. VendorLib=libmysql.dll
    $ _# R( d7 x' ~  D* I5 F
  67. LibraryName=dbexpmysql.dll# H" @9 e3 H3 |6 h
  68. Active=1
    - r0 s9 Z' I( {; P6 c
  69. ---example----9 M' F/ V; O/ A  |$ z
  70. - written 02.03.04 by pwk.linuxfan
    ; e2 i6 y8 O' R* w' ]9 v2 f+ [3 g
  71. 5 t9 r% O2 W* i2 Q2 d2 K
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
/ |* N) ]7 D8 d7 \8 V# Y! j
  1. $ m3 j. w+ B' K' R0 a
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### : s! m' X4 y1 b% y
  3. ) p' |* ?/ ?& p
  4. # # #我们所需要# # #
    6 Y& M5 S& l. U* X) V
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    5 I4 S4 |4 H, U
  6. 不会解释如何做到这一点-也有文件存在,为
    ) c* G. L, D7 T7 U. \
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用- [7 F# q! P1 |# `8 D; X
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西2 H5 g9 _# R2 w. m- L# s
  9. 随着数据库。此外,你需要一个卖方图书馆安装于6 {& k; S1 D6 |" @$ b0 U, D7 w( k# ]
  10. 本地机器,这是我的MySQL安装。 ' k# I% d/ F6 X2 H' O1 ?3 Z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    7 L: D8 F) t, I  n, P1 d, T
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL , N  J+ |/ C# t6 [6 h0 H
  13. 数据库。 + p8 Z: l& n9 q% [
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    * B+ ]! W8 m& a
  15. 编写本报告的时候,仍然有太多的问题-检查现状, t! x- d( h1 K7 k) O! s: c
  16. 在teamspeak论坛,如果你有兴趣。 & u7 D' |6 X) d, y. g- v
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机) @5 q( _2 b" w# k5 f! ?0 R- y
  18. Borland公司使用。这个司机只能界面与客户端库
    ' `/ |3 w% e5 J& D- I. A* Y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这# P+ D/ Z! g5 ^1 G! K
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ! Y6 C, _) s. P( N1 S" @
  21. " vendorlib " ,并解数据库连接。 ( P) B9 H. O9 B6 p+ ]: W- ?' f
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 : l8 W/ e7 M2 q# e# E3 W8 Z: _, w

  23. : M. c  @# N) T# Z
  24. # # #做好工作# # #
    , ~; B1 _/ n$ |# I+ _. S, E
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都0 ?4 J9 ~+ N" m
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在" ^! z2 o; J+ q% q
  27. 结束: 1 P0 ]0 p, c% d6 X+ V
  28. ---削减这里---
    " r5 E. o# D6 n3 h2 z7 K  t
  29. [ dbexpress ]
    : m2 Z9 t5 m( L& `$ X/ x
  30. sqldir = mysql_sql
    3 R" L5 b7 J2 B( ?) d
  31. drivername = MySQL中
    8 p) [8 g8 Y/ B9 H% v% w- l
  32. 数据库= your_database_name_here
    0 R% [, c8 I  `! o! ~/ j# g. O" J
  33. 主机= the_pc_the_mysql - server_is_on $ j4 p4 k' R% G/ ]2 l" a
  34. user_name = user_name_on_the_mysql服务器
    1 F$ A- R0 q2 [& i
  35. 密码= password_to_go_with_above_user_name
    & G. n, H7 I( A' g) K% U
  36. getdriverfunc = getsqldrivermysql
    7 B0 g/ q+ T7 ]( w
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 5 t6 `, w& Q% M' v, T$ \  w
  38. libraryname = path_to_libsqlmy_libary
    * {+ \6 }" z3 d" E2 c
  39. 积极= 1
    ' i$ p# L; u. b( z. r$ g
  40. ---削减这里---
      b+ h7 R$ d& p8 W0 X
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ' o+ I; i3 C$ h8 g
  42. ---例如---
    & y- F" W* H3 a9 W7 h) r# Y9 ^
  43. [ dbexpress ]
    + i: D* N: k2 [/ G. p- U2 B
  44. sqldir = mysql_sql ! |2 N: N+ \3 @. @( a- X: M+ Z
  45. drivername = MySQL中  V& {+ M% R6 M, {# v! _
  46. 数据库=测试
    + I4 Z6 E9 G  G# \
  47. 主机=本地主机
    7 I# f: S+ X5 p) Z! k/ X
  48. user_name = testuser
    ' q8 x) D" O# ^1 @# G
  49. 密码= my_password % d8 k2 K, J( R  {: U; A
  50. getdriverfunc = getsqldrivermysql
    $ H6 H% |* K5 @* s3 ?. l. n
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0   a$ v: d. _$ t
  52. libraryname =. / libsqlmy.so
    7 f  o' o0 R; U' H/ X' t3 j
  53. 积极= 1 8 m* I( [! ?. s$ p8 o4 N* {
  54. ---例如---
    ) R/ f1 u& e% k( J! [

  55. + ^! W1 H/ d9 b# q  U
  56. 对Windows中,也运行MySQL服务器本地的,那就是: : ^8 e$ S5 X( G+ M, X
  57. ---例如--- 3 S. y$ Q5 \# Z& D# a5 W
  58. [ dbexpress ]
    ) A$ F" d' e0 \6 ^
  59. sqldir = mysql_sql . |, h0 v; O: k' D- ^. ?& k8 t
  60. drivername = MySQL中
    / h4 k6 q& D( L5 k
  61. 数据库=测试, F$ U$ f- ^2 R  I, i
  62. 主机= 127.0.0.1
    - ^; \- N( [* j# z* L6 H! l8 }  C
  63. user_name = testuser ' b% z; \. i. M
  64. 密码= my_password ) F) n! j' {" I( l+ \. c$ V
  65. getdriverfunc = getsqldrivermysql
    ) q/ N1 F: @3 @: d0 B# ~0 e
  66. vendorlib = libmysql.dll在( y4 ?1 \+ \$ x9 H- k6 q
  67. libraryname = dbexpmysql.dll : M5 v+ x' g( h8 |' M
  68. 积极= 1
    / T/ z- y3 u# v. I- ~2 s
  69. ---例如----
    * t- _+ G1 H. c# X8 I
  70. -写在0 2.03.04由p wk.linuxfan7 H0 u+ J# V% j! b& ]9 H
复制代码
发表于 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$ B2 X- E2 I4 k; _+ v$ w3 e4 G7 \+ H8 l1 P; `, O! S
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-11 17:16 , Processed in 0.094663 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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