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

2933 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
- O9 p7 Z/ M0 {% s
" a0 U3 K: s5 z" V9 e
  1. 7 C% |$ h- r* L
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######  N; E) L) C* i; C0 g3 ]
  3. 8 s7 S( P/ p2 i( ~% }% L! j( j- {
  4. ### What we need ###; A1 G( N: c7 i/ p
  5. Naturally, we will need a MySQL server to store the data for us, this document 8 q, A8 o3 \2 r. z; a9 K
  6. will not explain how this can be done - there are documents out there for the 2 c0 a5 M* a) h- r4 C9 F
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    3 _3 y' b6 k9 w
  8. and a user account (username + password) that has the permissions to do stuff
    1 y. O  `& z) d7 S4 G1 N4 H9 Q
  9. with the database. Additionally, you will need a vendor library installed on the
    % R! k8 y! }) v' R( q1 }! o% E4 ]
  10. local machine, this came with my MySQL install.
    2 z" ^: D- E) V+ n( M4 \6 D: i
  11. These instructions will not tell you how you might transfer your data from the" t7 h6 p8 A6 G
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL$ m6 h- c9 m* R
  13. database.1 D9 H+ ]4 |! k
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    0 Z, J  O; Y$ q- Q
  15. the time of writing, there are still too many issues - check the current status/ }4 d. f1 N" r# b
  16. in the TeamSpeak forums if you are interested.
    5 x8 Q# d5 G. u9 a( y7 E, H
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from/ _# Y  U# P% w
  18. Borland was used. This driver can only interface with the client library that 3 Z5 N5 N) C& d3 u: E' \
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    : b% f& e% ?5 G
  20. client library - basically all you have to do is to use a 3.x client library as
    9 [( ]( r  V$ k: T0 W
  21. "VendorLib" and a 4.x database to connect to.
    . r# `% \2 m( M. g
  22. If you need more info about dbExpress, you can contact Borland.
    $ f8 z8 D' p$ i4 q( j

  23. ( b  l% l8 z5 h& |& x: [' X6 y2 w* j
  24. ### Doing the work ###
    " S) ?: z7 I0 ?, z7 Q' o2 Y# e8 d
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ! q1 y7 K: \7 v! e$ n1 Y8 B
  26. the perquisites right, just open your server.ini file, and add this section at6 h6 s$ ?4 |5 q1 J7 M
  27. the end:# `: Z0 e+ F5 h! p, O5 F7 t( ?
  28. ---cut here---
      C* h* r+ W& f& c
  29. [DBEXPRESS]8 w: Z% b4 H1 F/ W: Y/ _
  30. sqldir=mysql_sql  N+ D6 t4 W8 s+ L8 y6 ^/ q- R
  31. Drivername=mysql- R9 G7 A' J' e; e1 j
  32. Database=Your_Database_Name_Here$ p/ e& \- t; z8 x
  33. Hostname=The_PC_the_MySQL-Server_is_on/ n6 |9 E# h# ~
  34. User_name=User_name_on_the_MySQL-Server/ I( |8 R7 B1 X  q# d
  35. Password=Password_to_go_with_above_user_name
    % h& N2 q9 v( R- {. _7 E7 q* `( u
  36. GetDriverFunc=getSQLDriverMYSQL9 r- W" j2 H& b
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib( s- [2 R+ R1 N( G# g& h! I) M
  38. LibraryName=path_to_libsqlmy_libary; ~: B/ M) M" v% v1 G1 W
  39. Active=1! M8 |4 U  E+ k+ D  x
  40. ---cut here---4 K- p( ^: w( E. T$ A6 X
  41. In my environment (a linux box with a MySQL server running locally) I have:( V3 q! s* S- J& E+ `  ?' L
  42. ---example---
    + H" ]# A) Y- I) A7 w; S" P7 q; T( y
  43. [DBEXPRESS]
    ; `* ?3 P4 m+ c& B' L/ |# ]3 }
  44. sqldir=mysql_sql" d0 _& B6 y* [! Y8 k! ?
  45. Drivername=mysql% T3 W1 J9 g- X
  46. Database=test% H6 Z) e8 o. O5 k, t
  47. Hostname=localhost% L: D  t, L, `# q
  48. User_name=testuser
    7 Y6 E. s5 a3 ?7 x; {; C- R
  49. Password=my_password
    9 q" a/ ^8 c- N5 }
  50. GetDriverFunc=getSQLDriverMYSQL
    : G- s4 ^0 l& e2 R
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0( `' _# B/ z% e" h) ^
  52. LibraryName=./libsqlmy.so
    & \  @% F: C: c* K% h
  53. Active=1$ o  R, j; ^# \; Y1 R9 U
  54. ---example---5 E0 c1 g8 P* ^
  55. 8 `) v7 g9 t+ C* R6 _' E7 m$ l
  56. On a windows box, also running the MySQL server locally, it would be:
    $ V7 t  u( I/ ?1 f
  57. ---example---3 s; u! X6 _- A6 o' c3 i
  58. [DBEXPRESS]
    & J' R1 s9 Y; I
  59. sqldir=mysql_sql9 Z+ [; u$ f3 f  n4 I+ a
  60. Drivername=mysql
    3 x5 C1 }0 J3 F, {/ K. G6 L
  61. Database=test
    ( g9 t: b# V6 r$ n& ?
  62. Hostname=127.0.0.1* u( [+ p1 f# G; a& `
  63. User_name=testuser
    7 B8 z6 F5 b. t
  64. Password=my_password2 y) [* R, r* h6 \( e$ I
  65. GetDriverFunc=getSQLDriverMYSQL2 c4 f+ K/ c# m
  66. VendorLib=libmysql.dll
    0 h5 s( [( H1 S, |' j
  67. LibraryName=dbexpmysql.dll
    # E4 a- w9 T. C& ]: t
  68. Active=1; e" }' Q1 d- p" t& r
  69. ---example----+ J- H7 X; B& U; `
  70. - written 02.03.04 by pwk.linuxfan
    7 Y- B: f0 ^9 m$ J
  71. ) n7 [. C' j0 X/ h6 @
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
$ P& m3 i" r. r5 |

  1. ! ~  ~! h7 j, l7 j' ^( f/ ?
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    4 r* P" D) q) b% F# X; }$ e# w
  3. : _; Y- w. ?! ^2 X6 t
  4. # # #我们所需要# # #
    4 x( m, F1 F+ F, ~: P0 }; G" O
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件% ^+ h3 ~* Q2 M. V; _  v+ g, S
  6. 不会解释如何做到这一点-也有文件存在,为
    9 R. d' m9 `& T* A- \! }
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用( \" [8 V- o# s+ W5 b& c( {2 U
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西% ]0 P3 T2 G/ n: d: N7 B# d: x6 N
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    & ]  C; D2 |+ @! V( N
  10. 本地机器,这是我的MySQL安装。
    7 P4 I5 d, v( S0 {3 d+ b
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从  t* T& G, ^4 W4 A
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ' T# e: X& ~5 J$ s% G+ I& U
  13. 数据库。 4 r( X( Z: |( w  H
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    & O; {' p" W, M* G; s1 s6 h' c+ R
  15. 编写本报告的时候,仍然有太多的问题-检查现状+ A9 v& |+ @* U, r! H. P, A
  16. 在teamspeak论坛,如果你有兴趣。
    , x* v7 U) E' L+ y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机% ~6 K' P5 m/ U  p
  18. Borland公司使用。这个司机只能界面与客户端库: m4 M: Y! F) m/ H
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这/ F# O/ C' f) R; z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为/ W. _: j+ B* c, Z% ^
  21. " vendorlib " ,并解数据库连接。 # o% T2 \4 m, ^& x' O2 m( F
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    * C# I# B# g& c% ]& K3 @
  23. 2 v) ?3 s8 y6 A% o* b
  24. # # #做好工作# # # # H- x! k; R( l6 v" ^4 X. }: p
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都! t2 Q0 V1 s4 }$ R
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在+ Y; F- J1 ]* h. O9 U
  27. 结束:
    8 e. O' j; }3 v- w2 G+ y
  28. ---削减这里---
    . y) b( f; A5 C- S* e
  29. [ dbexpress ]
    4 A* k+ X& ~2 o; d; `) g' s
  30. sqldir = mysql_sql
    / i6 ^" x7 s/ I' C$ X9 U5 q) [
  31. drivername = MySQL中- b. o  Z4 \( V6 t4 y
  32. 数据库= your_database_name_here
    5 p& w% q+ @6 f. U5 |  O
  33. 主机= the_pc_the_mysql - server_is_on
    5 [# G; I1 X, ?
  34. user_name = user_name_on_the_mysql服务器( \% _; Z# K4 E( `# t# G6 i- h9 b
  35. 密码= password_to_go_with_above_user_name ! y8 J9 `9 F4 d" j, L
  36. getdriverfunc = getsqldrivermysql - Q( P3 b! m! |' e! `) _' V) N2 U
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 4 n& o$ ~. g9 R
  38. libraryname = path_to_libsqlmy_libary
    4 W  \) g$ U1 g% k5 d
  39. 积极= 1 / Q) w* \$ H$ H4 D9 t
  40. ---削减这里--- ; U4 P3 S# |) M+ Y% U+ f
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 0 j" _2 o: ~& J% ]
  42. ---例如---
    / g; y) Q; O# a- K9 j* }
  43. [ dbexpress ] ! W1 P0 E' B. n& i' O! c
  44. sqldir = mysql_sql
    ' D; [! J# P! Z. }5 x
  45. drivername = MySQL中
    1 }0 l& _- o" d$ f: v
  46. 数据库=测试' U, M$ Y5 g6 {" j
  47. 主机=本地主机
    $ e; z7 M8 ~- W8 I/ g2 [! m) c
  48. user_name = testuser
    , g; M$ B  K* g0 x
  49. 密码= my_password
    $ i$ [, ?' F1 K/ A+ \
  50. getdriverfunc = getsqldrivermysql
    5 @- W& p/ |# X  H- Q+ [  t; g& N: l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    7 E) O: l6 P1 m" x
  52. libraryname =. / libsqlmy.so & D0 G, x. a9 h0 C6 c$ ~  w
  53. 积极= 1 7 b2 R  f/ a6 R1 @% C1 ~
  54. ---例如--- 1 o) \! W6 \( ^9 B. B! }
  55. , ?; I4 u2 O$ _* w
  56. 对Windows中,也运行MySQL服务器本地的,那就是: # w! d& w, T& c' h- T
  57. ---例如--- + b& S2 l9 b5 o+ |0 ]
  58. [ dbexpress ]
    ( H) V! r) ^3 v( a4 S# x
  59. sqldir = mysql_sql
    - z  \0 L" t+ b4 H
  60. drivername = MySQL中
    4 E* \6 G; G; o& p1 |2 f. B
  61. 数据库=测试
    , ^! m* c4 @2 ~4 K
  62. 主机= 127.0.0.1   r$ F% e9 w! e$ P4 @, Z
  63. user_name = testuser
    # Q/ X8 ^! l/ R8 Z3 X% }9 w: E
  64. 密码= my_password
    % }+ u  j+ p* p' ]. t- Y! ?
  65. getdriverfunc = getsqldrivermysql ' |) ^- R& `* a# n4 `
  66. vendorlib = libmysql.dll在
    4 n8 ~  ~5 U0 i9 o' U  [- T( r6 V
  67. libraryname = dbexpmysql.dll
    3 q' \" u  j/ B' I* P
  68. 积极= 1 , G" @- t$ d7 Z  H. C5 }
  69. ---例如----
    ) M9 k1 Q! w+ o
  70. -写在0 2.03.04由p wk.linuxfan
    & N7 c# e1 U; t- Z- T/ ^: t6 O
复制代码
发表于 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 S  o: O) U4 m( w: z, M, B
: t# Z& E: {: L) O+ w% I( Zbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-25 01:09 , Processed in 0.096328 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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