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

2856 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
9 C: I1 D; @( y2 p
" G5 O7 |5 u- x* X

  1. : e, S) h) P% t' h4 |
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    " M6 j5 R# S3 O
  3. ; g" t/ X3 q+ w. b+ }
  4. ### What we need ###
    ' n( n' ?. T" V" H$ C+ i$ }6 _1 e6 E
  5. Naturally, we will need a MySQL server to store the data for us, this document
    " f! I! T% a( F. J3 I2 r" Z4 w7 R" w
  6. will not explain how this can be done - there are documents out there for the 2 |) b. s+ o. C  y
  7. interested. The requirements include a (empty) database for TeamSpeak to use- D/ w- R" D) t7 f7 V/ @- a1 D0 T4 a
  8. and a user account (username + password) that has the permissions to do stuff! `4 u+ C$ A7 R" n8 X, b! ?# |
  9. with the database. Additionally, you will need a vendor library installed on the4 D, f9 ~5 i  C! _  Y* y( S
  10. local machine, this came with my MySQL install.
    # P, R% }; U1 a8 E2 T( a
  11. These instructions will not tell you how you might transfer your data from the# D8 I9 x8 F6 ~, m5 a
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL, V6 |, Z( T8 v8 T5 w/ q8 F
  13. database.2 \1 |& v8 {7 ~9 C
  14. Some users have reported ways to import a SQLite database into MySQL, but at/ j7 \0 F. U0 E8 L, R
  15. the time of writing, there are still too many issues - check the current status
    5 @$ c6 h2 Q& J& E
  16. in the TeamSpeak forums if you are interested.
    % P5 s" H; Z8 w, S" [2 }
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ) y+ ^6 ?1 A' p1 x2 O" ~& ?. O
  18. Borland was used. This driver can only interface with the client library that , G3 _" Q$ d' z7 n
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
      T. {3 r3 j" ], w
  20. client library - basically all you have to do is to use a 3.x client library as ' W* R) Z& Y2 t
  21. "VendorLib" and a 4.x database to connect to.* B0 y/ R2 i) I# r9 f( y" U8 f' i
  22. If you need more info about dbExpress, you can contact Borland.; G$ ^) a! L$ W( F! T

  23. ( L( z8 p) N) y+ G* T3 F
  24. ### Doing the work ###
    " i/ B$ ~) B/ q- _5 V9 w
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    2 x- n- {$ ^( d* \
  26. the perquisites right, just open your server.ini file, and add this section at# M( G+ A& f) G' l3 ^* R: ^6 k7 o
  27. the end:
    : ~: l! ]0 O6 g" F  U0 d. g
  28. ---cut here---( x# E& `8 K1 h; l: h3 W
  29. [DBEXPRESS]
    1 C6 K7 w% S. O0 u
  30. sqldir=mysql_sql
    ( t7 J! v4 ~4 W: {" g; T
  31. Drivername=mysql+ t- X! M# t" q' W; b" R
  32. Database=Your_Database_Name_Here
    5 L1 B6 r3 V: n+ J# J
  33. Hostname=The_PC_the_MySQL-Server_is_on
    , n; w# H# R1 a5 v& l/ M4 P
  34. User_name=User_name_on_the_MySQL-Server
    ; e5 C3 r- n! e! H: [/ o
  35. Password=Password_to_go_with_above_user_name; ~- |) Y) }8 M
  36. GetDriverFunc=getSQLDriverMYSQL9 h/ @/ d0 G# d. w) Y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib; C" Q( y5 r4 s* x
  38. LibraryName=path_to_libsqlmy_libary
    ) b" |7 S9 X" @
  39. Active=1
    ) x/ _- a7 i3 f! E3 A& g
  40. ---cut here---
    ! H+ _/ G$ l* I5 t; v" P8 q  [  D
  41. In my environment (a linux box with a MySQL server running locally) I have:, o1 u8 o' j: x; ?4 ~: l
  42. ---example---+ Q$ Y( |, j3 i& M
  43. [DBEXPRESS]
    " I# U8 u2 \) [3 E' H
  44. sqldir=mysql_sql& H# v, ]' D9 ?$ E# p+ ?0 z
  45. Drivername=mysql1 \' l$ _- Y2 q% c: H2 W& i$ W
  46. Database=test
    * A+ |2 C/ Q& x' L5 d, ]
  47. Hostname=localhost0 k' Y2 q, _+ \" r1 Z+ r. M' Y, @  P
  48. User_name=testuser* |" i) m5 v9 o0 i/ N
  49. Password=my_password
    . e- o9 D( r, n  f- c' U
  50. GetDriverFunc=getSQLDriverMYSQL
    ) r0 [! g+ f2 N* T1 B! F2 r* q
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.02 }0 m& g! j5 K& v6 o2 ]8 _
  52. LibraryName=./libsqlmy.so: o, R/ ^$ ^$ J* E8 ~
  53. Active=1& N1 `/ Q$ `# w" @  B  z9 n3 v; z5 C1 Y
  54. ---example---
    3 U7 w7 {, D' R1 W2 f; q

  55. 4 V+ D7 P3 [% z4 J( S! g! O: t
  56. On a windows box, also running the MySQL server locally, it would be:
    ) z" b# n* y& p" M
  57. ---example---3 s  y+ r2 E% K" r9 k; J) v0 I. q
  58. [DBEXPRESS]
    - O" o( P3 {" E
  59. sqldir=mysql_sql
    8 I; @1 u& c/ W
  60. Drivername=mysql9 _+ `( M) v" P" D+ w3 b; {7 v- U
  61. Database=test
    & h- X$ y4 \4 B" C9 ]* s3 d
  62. Hostname=127.0.0.1
    5 {, n' s% D% j
  63. User_name=testuser+ w) Q/ H3 c, z3 i
  64. Password=my_password+ F& M! L- R+ ~
  65. GetDriverFunc=getSQLDriverMYSQL
    & ~/ {, p/ u- U0 h
  66. VendorLib=libmysql.dll5 i: x# h1 B( V3 B- E6 A. l  r
  67. LibraryName=dbexpmysql.dll
    ! E2 s2 ~6 l4 N5 H
  68. Active=19 t# P; k) L$ L1 s% e& I
  69. ---example----7 G/ L; z7 q) n9 h# I
  70. - written 02.03.04 by pwk.linuxfan3 ?2 y4 x8 I% D
  71. ( z2 H; ^; P8 C9 J' z' A
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看7 k1 W" B: Q# ^" y
  1. / Q- \' u+ u" \$ N0 [4 ^
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    & b/ m- D8 A. T- e+ o, h1 d
  3. ) W) w4 O: S- o! w( Y" ]
  4. # # #我们所需要# # #
    3 ~1 \! u+ O( o5 V8 k6 @
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件. y- R0 \+ f4 l
  6. 不会解释如何做到这一点-也有文件存在,为- M5 x7 G, S) J. C9 x
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    " F0 K& x6 a4 o# _
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西2 k# e* H0 m# Y8 S. q) b" r
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
      z/ M8 @8 a! Z$ k& P
  10. 本地机器,这是我的MySQL安装。
    . O5 N0 L+ {  o
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从  w: A' \( o5 C  D
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 1 j9 s2 v  U+ [5 {, I3 v' ]
  13. 数据库。   g3 ^) h% v" W* W7 D. m5 {; z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在# ]8 p# ]. q6 h2 X' W
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    4 c* j) A& d# m) B
  16. 在teamspeak论坛,如果你有兴趣。 ) X  R1 E+ K2 R7 m! \& X. N+ N
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# @( q' k$ t+ |6 F& }" O) N. n
  18. Borland公司使用。这个司机只能界面与客户端库3 S; P: l8 d2 P$ c
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    : x: Z4 S" a# q& d2 K% t
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为& k4 R& r( K2 O7 i
  21. " vendorlib " ,并解数据库连接。 4 G5 ?/ l3 I2 v  W) ~. f
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 4 C+ k: _8 l/ _
  23. 0 p2 M3 D: `7 R) _9 T) x8 R
  24. # # #做好工作# # #
    3 Q. K+ o& e! O
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都4 z( j+ c  ?& n
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在, o6 \" _' `9 g/ S
  27. 结束:
    / ?- [/ a( X" \) o. R) [
  28. ---削减这里--- , e" ^6 `' t+ Y& B) T+ [6 L
  29. [ dbexpress ] ! u& \2 [" k$ N) `$ ^( _
  30. sqldir = mysql_sql
    1 t( \5 {( N# e# r
  31. drivername = MySQL中) T3 }. L* k0 |- s3 V0 B/ a  x9 L2 E
  32. 数据库= your_database_name_here
    6 P5 z- @- Z4 b0 \
  33. 主机= the_pc_the_mysql - server_is_on 3 ^3 N0 B5 `9 h( ^( S+ J6 `# t5 k6 N
  34. user_name = user_name_on_the_mysql服务器* p3 Q" q. y% O0 Z8 N# O: i
  35. 密码= password_to_go_with_above_user_name 8 `# A- [5 B1 S3 K/ K" X
  36. getdriverfunc = getsqldrivermysql ( Q' n( ]% j% C3 H3 f6 ]
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    + `4 }8 Q7 V1 S  {
  38. libraryname = path_to_libsqlmy_libary & c# R2 n& y. m1 J# ~) ~
  39. 积极= 1
    ( `, B1 {: I' H- H  d
  40. ---削减这里---
    4 C4 _6 K9 o2 _9 x1 U$ T/ u
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 1 Q) q* q5 ]% G
  42. ---例如---
    / T. ~/ o; Y% S0 K" V3 o
  43. [ dbexpress ] : x$ b2 g, c9 v' g! E9 C
  44. sqldir = mysql_sql & F, k! Q! W9 w' o3 B6 s% x
  45. drivername = MySQL中
    , q/ a+ |+ i# }+ c, m( A. t
  46. 数据库=测试
    6 ?: }  a; m, n) F# Q( c
  47. 主机=本地主机& C; j* z( N7 U8 s2 J3 j
  48. user_name = testuser 9 u4 k7 Q" r! I6 _) F6 X" J
  49. 密码= my_password
    % z5 L1 W' c6 E4 [( X. \0 E
  50. getdriverfunc = getsqldrivermysql
    : [* Y( }9 \+ Q- m7 i/ L* t! u3 U
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 7 T' a3 m- N: Z4 X. T/ u
  52. libraryname =. / libsqlmy.so   P; D6 Z- V5 ^1 J" c3 z! e7 x
  53. 积极= 1 6 c5 ?8 n3 r# J% H
  54. ---例如--- * @% J# m( f/ `, z6 k! J
  55. ; S# C6 t6 ^3 _; m8 ~7 \
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 5 \8 \; S  p, [2 r( H
  57. ---例如---
    3 ~* }- k! b  v3 U+ ~# S
  58. [ dbexpress ] : ^, e; e1 L6 i9 g6 ^1 m( p
  59. sqldir = mysql_sql   A/ c; l, Q3 k3 p! o7 S
  60. drivername = MySQL中8 T' }* a' a4 Q
  61. 数据库=测试
    ; Q+ m8 g& C' w$ P3 h
  62. 主机= 127.0.0.1 3 e/ ?* K) n1 _4 B7 {) p# h! J
  63. user_name = testuser % D- a5 e: s4 `+ E+ a
  64. 密码= my_password ; E1 w0 c/ c4 c0 z' ~6 f* w# v3 `0 |
  65. getdriverfunc = getsqldrivermysql
    2 j* Q1 ]6 I# K9 X
  66. vendorlib = libmysql.dll在
    . B1 i- n) W$ z  M1 m( q
  67. libraryname = dbexpmysql.dll
    , k0 ]" Z& [: T& ?, s$ a5 b; ^; ?
  68. 积极= 1 # E/ }* L' @9 u
  69. ---例如----
    : }6 s: F6 Y+ _* B; {& V; m, a1 G# S
  70. -写在0 2.03.04由p wk.linuxfan
    ; j. V% Y+ n( H$ m  T7 X
复制代码
发表于 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
. s3 H# [+ o" v( T8 C& p' j5 O% L2 H# Z: {; |3 N- ^
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-7 23:41 , Processed in 0.104741 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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