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

3449 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
8 j* ~' v! ^2 ^1 ^
" p  C& J- j# z$ _: L* {

  1. 9 e. f4 f( e' g- s5 X) [
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    2 Y% \" U5 _) n* b" E9 S! S, f

  3.   |. H+ i3 K! u) v
  4. ### What we need ###) a8 G- w3 _. L( T" G6 `
  5. Naturally, we will need a MySQL server to store the data for us, this document + B$ O, a! y& B. f/ i! n, g
  6. will not explain how this can be done - there are documents out there for the " }5 B! R* n+ R# T' {+ W2 n: x8 T
  7. interested. The requirements include a (empty) database for TeamSpeak to use# m+ b" f! s/ v( U  U! Q
  8. and a user account (username + password) that has the permissions to do stuff" _- J0 h2 X" c& m
  9. with the database. Additionally, you will need a vendor library installed on the
    1 h) O7 {# b3 I( p
  10. local machine, this came with my MySQL install.3 k5 |6 d- X# S2 ~8 h: u7 I
  11. These instructions will not tell you how you might transfer your data from the% X( [/ R$ v! z6 _
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    1 p8 Q1 M3 v: D3 K
  13. database.
    , K: T3 n- b' X0 y4 t# M
  14. Some users have reported ways to import a SQLite database into MySQL, but at0 a& t6 `. H' ]9 q& V
  15. the time of writing, there are still too many issues - check the current status1 F- Y) ^4 Q4 N6 H
  16. in the TeamSpeak forums if you are interested.
    3 [" }$ j7 c1 |: p( ]0 g
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    $ D6 y: F9 L3 o. k
  18. Borland was used. This driver can only interface with the client library that 0 r# B# K* |7 ^; Z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this9 q" ?0 S9 v% G; S- Y) [
  20. client library - basically all you have to do is to use a 3.x client library as
    - B6 f: D" O( Z7 R% y
  21. "VendorLib" and a 4.x database to connect to./ `/ w# f* Z% k; q. x! G
  22. If you need more info about dbExpress, you can contact Borland.6 j; K. [7 v6 z; m4 v0 @( n! M6 R7 S

  23. $ c7 K- \# u/ B8 f
  24. ### Doing the work ###
    & u% d3 ^+ W  U5 w( T- ~- q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    / ]/ y- d* i$ V% R  X) M. \
  26. the perquisites right, just open your server.ini file, and add this section at; L* v7 F! h4 i% O
  27. the end:
    + d8 y4 n$ D2 _& o; D: y
  28. ---cut here---
    5 H0 r0 @4 i6 }% ^% R6 Y
  29. [DBEXPRESS]
    0 X4 c9 T5 P2 j# ^! P
  30. sqldir=mysql_sql5 g3 P" Q3 d3 {' [& U, _: B5 ?2 B
  31. Drivername=mysql
    6 U& O* s. W1 @, e2 c
  32. Database=Your_Database_Name_Here4 T  I  P1 {6 |# P* z
  33. Hostname=The_PC_the_MySQL-Server_is_on
    & `6 ^+ @2 Q$ W
  34. User_name=User_name_on_the_MySQL-Server7 U7 f8 f+ T0 R' X5 n' H3 ]
  35. Password=Password_to_go_with_above_user_name
    * I" P2 u; f% j' w2 j4 h9 p6 a! Z' u/ D- j
  36. GetDriverFunc=getSQLDriverMYSQL
    / I6 c% J0 I8 y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib& `/ A6 J+ f' c3 B
  38. LibraryName=path_to_libsqlmy_libary
    1 Q) ~  _8 D6 k: t
  39. Active=1
    ' L6 j- B$ ^: B
  40. ---cut here---1 r9 \- ]7 x: G8 m0 z! t* P
  41. In my environment (a linux box with a MySQL server running locally) I have:2 H  K3 S/ D$ o" ?6 Q/ n
  42. ---example---
    3 t: l6 `4 v- s* F, v
  43. [DBEXPRESS]
    - R  S- g/ N( ^" O% }( m
  44. sqldir=mysql_sql
    / I, A2 |. z2 i0 y
  45. Drivername=mysql, H- c) \" Y6 D0 B& J, r
  46. Database=test; ]4 `; g9 o* @! m% k3 V1 Y4 x' u( ~" e
  47. Hostname=localhost, T( D7 E. k- T3 ], h( v
  48. User_name=testuser
    8 c6 m. u: E8 @7 {8 `
  49. Password=my_password
    / h" }' m% G/ A  s- J5 Y
  50. GetDriverFunc=getSQLDriverMYSQL6 X: e, S3 J  s* @) S* V
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.01 a" ~2 J/ y4 f% ?& d
  52. LibraryName=./libsqlmy.so
    " p) A8 A7 W# T5 g
  53. Active=1. S( U8 k) [5 p  ~5 g' x
  54. ---example---
    % \) k$ {8 ]: X4 T( e, g2 Q  v

  55. ( x; U/ ?9 @9 D/ C* E) c8 O
  56. On a windows box, also running the MySQL server locally, it would be:" \6 {0 R1 A( i
  57. ---example---
    % B9 g+ q  p% J5 Z3 i
  58. [DBEXPRESS]
    ! r/ }! q: A  j( i% p
  59. sqldir=mysql_sql% D4 _6 R0 g* |! U; r3 ~0 i
  60. Drivername=mysql
    & Q4 L4 i! [& C& ~- x- v
  61. Database=test! c0 r! @" Z- g6 `2 F: H( A1 B( ~# K
  62. Hostname=127.0.0.1/ Q% w. {- W  g/ X$ {! s& s  A
  63. User_name=testuser
    # ^/ Z- _, I: u* e0 B4 X& _
  64. Password=my_password
    # k. d4 ?3 h! h& ]0 ^6 s$ g' _; W
  65. GetDriverFunc=getSQLDriverMYSQL
    # o# E5 ^5 q2 j' N
  66. VendorLib=libmysql.dll, z9 B6 j! j* J' R3 B+ s
  67. LibraryName=dbexpmysql.dll& I$ o: `6 y& S; D4 ?# \
  68. Active=1
    , z& n! G5 A4 D1 ?
  69. ---example----
    $ O8 f# D- q; x5 o& ]
  70. - written 02.03.04 by pwk.linuxfan- P: m+ m2 t; p* k# t
  71. 2 w6 w2 F: a+ q! V" L
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
+ ~$ H/ ?# U# r2 J

  1. 0 d+ J8 Z9 a& M9 s/ x
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 2 u1 a' S4 M2 T1 s8 O2 _5 c7 z$ \$ j  K
  3.   j) g+ ?  v# H: u. d/ X
  4. # # #我们所需要# # # 2 a* H0 t* K- j* i4 ?8 V
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件5 m& b+ s' Y% A  n% m$ B7 @
  6. 不会解释如何做到这一点-也有文件存在,为9 g; N6 V3 `% l* p! U3 i. m
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用3 W' K( s" p5 }: j6 G
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西; V2 }& }8 F' a) g
  9. 随着数据库。此外,你需要一个卖方图书馆安装于( A. ~- m' q" a& C% d7 x" w& H
  10. 本地机器,这是我的MySQL安装。
    # S1 Q  ^/ `, N! _6 r
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从# X! _$ D7 O6 R+ E
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 1 M! R) Q4 z, w& b
  13. 数据库。 6 R& o3 [( D: E. R
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    * G. Q0 r7 @; k+ B1 p6 K) B
  15. 编写本报告的时候,仍然有太多的问题-检查现状' p" p! \8 S0 f& l+ D' @
  16. 在teamspeak论坛,如果你有兴趣。 & D) x. a/ j9 r; n
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机+ H( a7 O' D$ }6 [& i7 A' {0 K5 `
  18. Borland公司使用。这个司机只能界面与客户端库
    5 h( z4 E5 a  P9 H7 a7 y- A. e
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这  N% S$ N. F) e, a0 q$ w- l$ M
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ' F1 A% i3 z6 n( k$ ~) t
  21. " vendorlib " ,并解数据库连接。
    # c! o) e. P* [: M8 |* s% d
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ! Q% G  L' s3 g; {5 f# C, v# [
  23. % f7 B8 V+ l- c( k( N, ^
  24. # # #做好工作# # # 2 D& r6 e/ C, A8 f2 U+ i8 u: Y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都9 e2 h" Q2 S/ C5 M% |
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在, U* j9 b$ [" ]. m
  27. 结束:
    ! D. u( r1 N# a# T
  28. ---削减这里--- ) y* ?2 h9 D& w( [% f0 E9 K) w
  29. [ dbexpress ]
    ) \5 u" P7 X1 [6 u; N0 }
  30. sqldir = mysql_sql
    . S( t( z: v0 `, f
  31. drivername = MySQL中# T& ?1 Q8 d5 s) j) J' R2 G
  32. 数据库= your_database_name_here
    1 U5 S6 j- k' W7 R$ Q
  33. 主机= the_pc_the_mysql - server_is_on
    ' M8 w) y/ \: i9 D# o, e
  34. user_name = user_name_on_the_mysql服务器
    $ [. i  T9 [# p7 g2 Z
  35. 密码= password_to_go_with_above_user_name
    ' t/ Q- S: f! d
  36. getdriverfunc = getsqldrivermysql 1 t. P# c8 W& _7 R. y; M# q* `
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 2 s* Y8 ]  K# }0 ~3 n; v
  38. libraryname = path_to_libsqlmy_libary
    ( s" i: I6 w6 m' U5 ^- T* x
  39. 积极= 1 3 ?2 H; t8 {9 c: s. P0 A, R# u8 `
  40. ---削减这里--- 8 M5 w) [0 q- R/ {
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: # F" j. J( t* p! w* D
  42. ---例如--- 6 i. W7 B7 Q3 l0 i" F- |* w
  43. [ dbexpress ] 0 M$ Z8 P/ b! _! ?! a  l
  44. sqldir = mysql_sql 2 y, G& k2 w' ?
  45. drivername = MySQL中
    7 W2 O4 Y! ^6 t1 u% {& O
  46. 数据库=测试; X2 M' `! x) o" [! O
  47. 主机=本地主机
    & y, y' o( B2 D6 `# o
  48. user_name = testuser
    3 n0 o6 X: o, i& Z3 q/ ?! H
  49. 密码= my_password ) w1 i) B" C: D6 b# ]/ ?: d
  50. getdriverfunc = getsqldrivermysql ( a" A; D6 C$ G% E: ]
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ( q; V6 P0 _: c' i$ G2 x5 k' |
  52. libraryname =. / libsqlmy.so * z& @! ~( M: Y  K; ^5 \5 H
  53. 积极= 1 ( D6 S: n% O' m8 o: p( h
  54. ---例如--- / F8 Q7 p6 w+ y$ H" E

  55. * q8 [( x! @' z- M
  56. 对Windows中,也运行MySQL服务器本地的,那就是: : W* g) j8 e4 F9 h" M
  57. ---例如---
    8 v, \9 z0 o* C( w
  58. [ dbexpress ] : [/ T" }+ U% Y& p: u( u6 p2 B
  59. sqldir = mysql_sql & X1 j8 J$ M9 f- d# a* z
  60. drivername = MySQL中4 T5 K- U) L- v* x! F" `
  61. 数据库=测试
      L" B" T6 w+ |$ m& a& H
  62. 主机= 127.0.0.1 , q# P" [' e4 F9 X: p8 ?
  63. user_name = testuser
    / `+ @2 z* c& W0 }
  64. 密码= my_password
    ( y3 c0 a; P0 i7 H/ Y+ }
  65. getdriverfunc = getsqldrivermysql / Y) z2 r6 F: a" f9 U: M4 I9 @
  66. vendorlib = libmysql.dll在
    5 b3 R% v0 t* A  T( B
  67. libraryname = dbexpmysql.dll
    7 b3 ]9 U4 {! |7 l) |; l1 @( `7 f
  68. 积极= 1 " g! c3 C3 e8 E  B) }. I. s
  69. ---例如---- . t# y2 u5 z+ V' U2 C4 B# Y" L1 j
  70. -写在0 2.03.04由p wk.linuxfan
    3 k! N/ ^7 F& a
复制代码
发表于 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
+ x' A: Q9 r' z$ ^3 r3 s0 S: J2 w. p# V0 _/ Z; t7 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-10-30 03:11 , Processed in 0.066998 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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