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

2379 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ; Z, I( k! |  A- a4 B1 A3 N: k1 y# C8 s

# q2 {: e. D5 M+ U* o% [. A; P; i4 R, S) N
  1. 9 s1 x/ d, {$ s, g  a5 H- Y( T  d9 P
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* \0 [0 ^4 w5 \# P$ D+ |
  3. 7 {4 P/ w) w5 v; q8 A: v( A
  4. ### What we need ###
    $ Q& S9 J' X4 H
  5. Naturally, we will need a MySQL server to store the data for us, this document
    1 x/ @) y! a" h2 ^3 \7 P3 _# g6 D
  6. will not explain how this can be done - there are documents out there for the 9 \% {8 _9 N6 O" T8 G
  7. interested. The requirements include a (empty) database for TeamSpeak to use* z6 ?7 h" [5 S) |* S
  8. and a user account (username + password) that has the permissions to do stuff
    ' Q2 U& h5 r. V7 w) E1 B$ M2 m+ Y
  9. with the database. Additionally, you will need a vendor library installed on the9 \$ k( U# Y; k8 j" ]$ {. \7 r' i# k
  10. local machine, this came with my MySQL install.
      [9 |: Q$ Y4 K. @  f! \
  11. These instructions will not tell you how you might transfer your data from the+ z8 f0 u1 a; |0 \- q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    " P/ z' a" i! n, H) u  E8 {( J, Z. @
  13. database.7 ^% w4 O7 Q- W. s% q- \) Z
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    + f5 k8 t& q: }; J
  15. the time of writing, there are still too many issues - check the current status: m. d; j" P# j( m! ?2 P/ s
  16. in the TeamSpeak forums if you are interested.7 l% A8 @+ \4 h! V
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    8 ^( p; w! S: M6 B
  18. Borland was used. This driver can only interface with the client library that 5 E+ u( B  m7 q3 N) V* U7 F1 Y4 o
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this' O& B! E! S) ^0 ^
  20. client library - basically all you have to do is to use a 3.x client library as
    , F$ X4 m/ v! q  v" ?
  21. "VendorLib" and a 4.x database to connect to.: x3 p8 ~; V- n3 p1 e2 O4 Z
  22. If you need more info about dbExpress, you can contact Borland.; V, W- R& p9 h

  23. 9 Q. _4 N" `. Q3 t2 N
  24. ### Doing the work ###8 q9 z, ~9 J3 U: q5 n
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all, q4 p9 B+ r9 `
  26. the perquisites right, just open your server.ini file, and add this section at; ]+ Q+ S: G& Y, G" T3 _0 j; t1 |( {
  27. the end:6 r" E- X; h! W' n5 g0 S' ^
  28. ---cut here---
    + M6 C/ q  T5 u& T$ x0 a
  29. [DBEXPRESS]
    8 I/ J, e: k# ]% S6 v9 B- N
  30. sqldir=mysql_sql
    3 I; G/ F) |! O- T
  31. Drivername=mysql
    ) j' F% q- e9 Z) S, E
  32. Database=Your_Database_Name_Here
    * \$ R0 |( G* a- O
  33. Hostname=The_PC_the_MySQL-Server_is_on% L+ {5 V7 J& n3 }+ |9 C  s% J
  34. User_name=User_name_on_the_MySQL-Server# |0 e. u: z# o+ @7 G+ a( q3 C
  35. Password=Password_to_go_with_above_user_name/ D( s" v0 j; E2 r/ P
  36. GetDriverFunc=getSQLDriverMYSQL
    . A7 v/ h$ A) y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib0 S4 O- G& B  r) Z7 s" U) Y6 @
  38. LibraryName=path_to_libsqlmy_libary
    % |+ c; e* m3 z7 {
  39. Active=1% f+ L- e! K2 q
  40. ---cut here---$ E' W8 I% M- m
  41. In my environment (a linux box with a MySQL server running locally) I have:
    * S+ g) t" I' }- ]0 h  i
  42. ---example---2 D. e- N5 v9 g6 _
  43. [DBEXPRESS]6 N" Q. j$ C1 {4 t, Y
  44. sqldir=mysql_sql
    6 `5 I/ @+ p* T( F1 [
  45. Drivername=mysql
    ; N) S. V$ M! \) \
  46. Database=test+ U/ G" |/ L$ u' h  @: S- Z
  47. Hostname=localhost
    : k: `1 X1 N7 T
  48. User_name=testuser9 h  b! t+ U! a! L$ v1 X
  49. Password=my_password7 Q5 C# Y+ S& [: t; W8 h: b
  50. GetDriverFunc=getSQLDriverMYSQL/ g- y, k0 ]" i2 a1 H$ X' r
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0& `* S, w% [' j; R
  52. LibraryName=./libsqlmy.so9 ]# S3 t7 |" T9 {* Z
  53. Active=17 ^! h1 N* J' L: p7 w% q/ f
  54. ---example---
    ! t& P* ?' c' n# O/ h
  55. # `6 @2 K8 T! i9 H+ ?% v
  56. On a windows box, also running the MySQL server locally, it would be:
    5 _6 ~5 Q; v1 q; M2 B6 h
  57. ---example---% T) k3 u/ X5 Z# d
  58. [DBEXPRESS]
    , m7 Q* H0 q; m1 Y  S
  59. sqldir=mysql_sql
    % u. U! D6 t8 g
  60. Drivername=mysql
    3 s  b* r* w: {1 t' y+ p
  61. Database=test5 G/ A: a5 i& q3 l- F$ R' e2 ^
  62. Hostname=127.0.0.1
    9 X& r4 ?& t% ^' @* P& H
  63. User_name=testuser: q0 ^, x# W! g9 y; i4 ~9 `
  64. Password=my_password2 v( x0 @5 X' o! u/ h
  65. GetDriverFunc=getSQLDriverMYSQL% A8 @) N9 x5 \/ `5 S6 ?, L% R6 u
  66. VendorLib=libmysql.dll
    ' b  J4 k; m* {  Q4 Y2 \- u' l
  67. LibraryName=dbexpmysql.dll
    $ P! r0 X' \) X+ K! |$ v7 o& M$ j: V
  68. Active=1
    0 i' V( E/ E& o- e. K
  69. ---example----* M3 J4 T" ^% e
  70. - written 02.03.04 by pwk.linuxfan
    6 P! d9 ]& V* a& ?$ W

  71. 2 ?4 t8 ^1 p7 ?/ |& ^0 s
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
7 d, N4 }! e) G3 E2 R

  1. 4 k" @/ p* ?- t6 u' C
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 0 ~( X3 u+ H& Z! l% f' J5 [
  3. : V* ~0 s% s/ S" X
  4. # # #我们所需要# # #
    / O8 q) f2 @" P4 Z0 Q: E4 w+ U; [
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件8 S  ~3 h. x8 a5 L1 ]
  6. 不会解释如何做到这一点-也有文件存在,为9 ?* e/ E+ z3 U% n  O5 F
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用7 p9 y" e: u7 `: }# A# M) g  a8 R) {
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ' z+ }8 ^6 K. X' h
  9. 随着数据库。此外,你需要一个卖方图书馆安装于9 p% q# g! e; h3 |" e, N
  10. 本地机器,这是我的MySQL安装。
    * @" e/ _9 |' F/ X5 [9 u0 O
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从* r) h: @3 ]0 V
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    + a. l- g$ K5 i, S6 i
  13. 数据库。
    4 M" |( o) D8 B/ ^; m3 Z* B
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    / j* S8 E' K- f& u. w. Y. {$ V
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    / l7 B% R4 l* X8 P3 L0 i3 j
  16. 在teamspeak论坛,如果你有兴趣。 - R5 |4 Z  z; q9 q' E! M
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机( N+ V& }) {. b) Z
  18. Borland公司使用。这个司机只能界面与客户端库
    9 d* m$ j; O9 e+ c5 o. C2 z
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    * o* F, n2 x6 j
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为2 i1 P) O6 X1 _
  21. " vendorlib " ,并解数据库连接。
    % L* d6 }0 h8 _  l
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    3 ^( L6 S. ^/ S4 y0 v+ |( E9 \

  23. * T5 y* f& k7 Z7 S
  24. # # #做好工作# # #
    ) R6 C! Z, Q' q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都1 r& x  M: i' |- r' A
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    / @0 e' c# H, l* y1 [* I
  27. 结束: 0 L$ s, K+ L- w. p0 a; c
  28. ---削减这里---   E8 d2 _% I: ?' r
  29. [ dbexpress ]
    : j0 d: @& @+ Z  E+ K* J
  30. sqldir = mysql_sql 9 W% v) A3 o' g' G: w
  31. drivername = MySQL中
    / q( W0 ]& a; {7 X$ a4 a
  32. 数据库= your_database_name_here
    5 A, g0 ]7 t  v5 d$ |
  33. 主机= the_pc_the_mysql - server_is_on # U! A$ s* j% J* S
  34. user_name = user_name_on_the_mysql服务器5 n1 [1 K! k) K( B( a$ `2 D# M2 F6 j
  35. 密码= password_to_go_with_above_user_name
    ! K* w9 x: ]9 ?: l
  36. getdriverfunc = getsqldrivermysql
    ; {& x, T! G1 D
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ' M3 J4 w+ _5 W& t; G+ |$ l$ m
  38. libraryname = path_to_libsqlmy_libary
    : T' ~7 H; o3 d# a
  39. 积极= 1
    & z2 Z! K' j$ [1 M4 A- S4 ]
  40. ---削减这里---
      g( R& L2 h- v5 h/ p4 m
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 Z2 I% C0 }/ j
  42. ---例如---
    " B6 n1 A" j6 O8 O7 W: @
  43. [ dbexpress ] : F) {" ~- x; a5 q' ?9 R- k5 |
  44. sqldir = mysql_sql 1 N  d7 ~$ Q5 w# s) f  K" P3 C( r
  45. drivername = MySQL中8 t- Y% [! |( w' G' D/ c7 S
  46. 数据库=测试
    & k  Y. ]" ~. z
  47. 主机=本地主机# k+ U% d! ^2 W* V$ m5 |; w
  48. user_name = testuser
    * ]" h! @9 F3 u4 ]- R
  49. 密码= my_password
    : S) a6 L+ X7 @& h, m+ Z) @
  50. getdriverfunc = getsqldrivermysql
    5 d# O4 x  L" V+ K% e! S
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    2 u. E' U# ?, S% C& Q
  52. libraryname =. / libsqlmy.so 2 a4 ]( J5 `% o6 [
  53. 积极= 1
    ' g- \" T! r& n5 m
  54. ---例如--- 2 I* `2 F# O* m/ L
  55. ) c6 a/ Y  D- v4 k' g
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ' D% K2 S7 h. Y& ~5 @
  57. ---例如---
    ; ~2 o- l* z+ [
  58. [ dbexpress ]
    9 G& h1 }, G- i( K! k  @& @8 p5 t
  59. sqldir = mysql_sql ; n2 n. o: _0 i# N6 v7 c5 R
  60. drivername = MySQL中
    : r) z; v6 X- X7 x7 j! Q- a( o9 k
  61. 数据库=测试. F& m$ q$ A4 H. o
  62. 主机= 127.0.0.1 ! j# r% x& O1 l$ M0 Y) H' _
  63. user_name = testuser
    , Q) }" E* e  B( x5 P
  64. 密码= my_password / Z2 }( a0 h% v, L0 b9 d' y
  65. getdriverfunc = getsqldrivermysql
    ) j- Q5 x/ K# E+ L4 U7 k
  66. vendorlib = libmysql.dll在4 m4 f% l$ v* w8 x7 a. ?
  67. libraryname = dbexpmysql.dll
    ! ^2 {# G; M$ H. u
  68. 积极= 1 1 d" g0 a: ]  Y, `( h
  69. ---例如----
    9 P% b1 l( E" C7 r0 k
  70. -写在0 2.03.04由p wk.linuxfan
    8 E! c9 g$ y4 `3 h8 @( @
复制代码
发表于 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; T( x6 x- q2 q' L/ f7 I4 O
+ N$ A5 E8 I: E: s5 Q) 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-3-12 06:41 , Processed in 0.092527 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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