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

2629 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
0 Q. s* S5 O5 R7 _8 D% I' [2 F% z- b3 I# x2 x+ c  K& L% q% Q
  1. , F" x" V# N, Y' Q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( N4 n$ V9 p! v/ H; @8 H* x2 I
  3. 1 O, D& V, L" F, `, y& s: b7 j4 W
  4. ### What we need ###' w* m0 b6 m; [
  5. Naturally, we will need a MySQL server to store the data for us, this document
    6 b5 g* G7 u2 `, F
  6. will not explain how this can be done - there are documents out there for the
    1 s' E0 I0 t6 j  H) J/ r) N
  7. interested. The requirements include a (empty) database for TeamSpeak to use0 X) a9 F) e; c1 P* |: ~
  8. and a user account (username + password) that has the permissions to do stuff, j- a: P1 m. d
  9. with the database. Additionally, you will need a vendor library installed on the
    + k) L; k! H6 a9 Z
  10. local machine, this came with my MySQL install.
    0 d" I6 m9 j% Z6 }& U5 f
  11. These instructions will not tell you how you might transfer your data from the* I; Q2 p! |% L* F' ~' q; r
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL% e0 U, y1 `6 U
  13. database., {# q0 Y6 d# q4 @& _; G4 x8 }
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    # x+ T0 l9 s1 o: T4 ?
  15. the time of writing, there are still too many issues - check the current status
    9 W% Y- b2 b# n# V
  16. in the TeamSpeak forums if you are interested.
    ' n' n  D3 ~5 c/ u9 r, G
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from) s, K. T+ I5 j
  18. Borland was used. This driver can only interface with the client library that
    , g0 _! j) ]& V& v
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this- j7 q7 v% a6 r$ c# j4 v: w! j6 `. V
  20. client library - basically all you have to do is to use a 3.x client library as ; v" G) m9 ?" U3 H
  21. "VendorLib" and a 4.x database to connect to.
    & y& Z. K8 o+ b, ~! `- p
  22. If you need more info about dbExpress, you can contact Borland.! F1 O! G8 F2 K+ F3 f- w" H

  23. $ X2 G4 i2 F" e+ E4 S) J% Y
  24. ### Doing the work ###9 y5 \4 L& {, U0 I+ |9 D( h
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    8 x2 W/ [1 p$ D  c3 m# [
  26. the perquisites right, just open your server.ini file, and add this section at6 Q8 w+ g: o% s# w2 u
  27. the end:
    7 \! x- m. o% R/ Y' h5 G8 V* K
  28. ---cut here---
    4 s$ S1 ~! b% o+ R
  29. [DBEXPRESS]- H  f! D; s1 q# ]1 O5 {
  30. sqldir=mysql_sql
    3 @2 M9 l( x5 r9 e7 }0 B
  31. Drivername=mysql
    : v4 l3 R/ _6 ~0 l% i1 S, J* W; x
  32. Database=Your_Database_Name_Here# [7 H% d1 P/ {; Y  G+ F
  33. Hostname=The_PC_the_MySQL-Server_is_on( B6 S- t; h3 i+ b/ v8 s$ r% E- L
  34. User_name=User_name_on_the_MySQL-Server
    4 b0 Y; v& h  V1 ^
  35. Password=Password_to_go_with_above_user_name
    2 y) U- }) A8 i7 C! j
  36. GetDriverFunc=getSQLDriverMYSQL- o- V! V4 e4 o3 d
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib  G- i6 |1 x" W7 n
  38. LibraryName=path_to_libsqlmy_libary
    * T2 f" \( h! c
  39. Active=15 y6 E+ c& C5 Q! f
  40. ---cut here---, H, c7 `% s; V+ E# g- y
  41. In my environment (a linux box with a MySQL server running locally) I have:1 Z% z6 c+ L; C! w& {2 a
  42. ---example---9 S; a7 B" b0 x; Q
  43. [DBEXPRESS]- F5 \  L, M! W9 L9 o
  44. sqldir=mysql_sql
    - a0 I7 v- B7 O* I% _, O
  45. Drivername=mysql
    * Y) j& s6 M' l
  46. Database=test& i$ q2 |, G( {# T2 C" u- ^
  47. Hostname=localhost
    5 Q: f% h9 o- f& a/ O. R3 @
  48. User_name=testuser8 E- ]/ z7 @# m7 U' P5 V' X; A
  49. Password=my_password
    . j3 M, e. S9 t$ a/ j
  50. GetDriverFunc=getSQLDriverMYSQL
    ! O1 b1 G# p& m4 v, X2 d
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.09 T" |- ~) O5 y* h! p8 m2 k
  52. LibraryName=./libsqlmy.so0 K9 l, D; ^, {  A. `
  53. Active=1
    & {3 T, m9 O& {$ s3 J
  54. ---example---
    " h" f% X4 n& H5 I  a( g
  55. % r2 M: G) M1 Y$ T0 G
  56. On a windows box, also running the MySQL server locally, it would be:/ o7 g. I% Q  S! J3 W) S3 b
  57. ---example---
    + D' j$ y4 P7 q# c* X( i# S* b, n
  58. [DBEXPRESS]: S0 `3 S2 i0 U- c( f
  59. sqldir=mysql_sql3 k4 s2 p5 ^) p
  60. Drivername=mysql% T) X% r, |0 M7 U; v. S, t% @
  61. Database=test
    7 H/ Y. I. W8 m7 c. K, r
  62. Hostname=127.0.0.19 G0 _; ^; A% U) e, O( n
  63. User_name=testuser
    % f6 Z4 ?& x. @% d1 F+ u1 A! |. J
  64. Password=my_password6 g1 n- z2 u' b  {1 q0 H. r
  65. GetDriverFunc=getSQLDriverMYSQL+ m* b( U$ M" d  ~3 {$ A& \; a* p
  66. VendorLib=libmysql.dll* y. w. }7 @# G& J
  67. LibraryName=dbexpmysql.dll
    $ m, z; q9 C: v) X
  68. Active=1% W( t, n2 V; m) v, j  b
  69. ---example----
    ( s: b, i' p0 g2 \8 a# I: H5 @6 g
  70. - written 02.03.04 by pwk.linuxfan
    ' c1 {& C. ^" R( i( K6 ?, x
  71. 7 `0 f/ D. [$ o- }
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
8 c* S, e7 M: N: s5 {

  1. " @6 G2 u6 _# d) t4 J
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 1 Q0 a+ z* q7 K

  3. ( d" z) U# x! @) Q
  4. # # #我们所需要# # #
    ) b3 h" f+ b  A; k
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ) A2 [3 a! [" J) T
  6. 不会解释如何做到这一点-也有文件存在,为4 k, C# J7 R, \$ ^4 u9 @
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. ^5 T: v: |6 _/ n
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    2 \( c& r1 D+ C1 H; x8 h
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    2 ?& C1 z- k& y/ O# r! Q  o
  10. 本地机器,这是我的MySQL安装。
    . x( U9 e/ @6 F6 U) M8 Y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从5 s, r! u$ r3 ~3 S4 @$ E/ T
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    * U$ H) v! _  p4 z8 e% V% p  _
  13. 数据库。 # f  J8 A: H/ n' ]8 ]+ M
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在, e7 S6 @! g; o# U8 f$ I: N: u
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    5 s, `7 p1 j# U3 m7 O: r. J
  16. 在teamspeak论坛,如果你有兴趣。 1 ]$ N; u6 N  o9 D7 L
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机1 e, y0 t" @8 D: f1 n# z
  18. Borland公司使用。这个司机只能界面与客户端库* T' a, M8 ~% G" b( y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这! t/ r: W; {% ^. `0 _/ L
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    6 t* [( A. C. {6 t/ l& @# F9 X' M
  21. " vendorlib " ,并解数据库连接。
    * f/ G. H$ X' T9 G" k5 Q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ! R4 j, ?8 @# Y4 ~
  23. - H; f3 p$ g) w$ V* Y
  24. # # #做好工作# # # , K& a7 U( n# S
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都  X0 Z7 f/ L1 h& k9 j
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    1 b8 j7 K$ w7 O
  27. 结束:
    * O; x3 c8 F1 _& M
  28. ---削减这里--- 0 ?2 g! k; s4 q" M2 E
  29. [ dbexpress ] ! b6 `3 _$ b# y4 I' |6 w6 o0 B0 R/ j
  30. sqldir = mysql_sql
    2 K; Y% ]% `% T! r& u
  31. drivername = MySQL中
    ( C$ L/ R8 v+ L) [. A; }2 B, X
  32. 数据库= your_database_name_here ( d+ f" }. W5 B  B; w, K! l5 s; |
  33. 主机= the_pc_the_mysql - server_is_on
    8 y3 N3 {' R7 ^9 |6 q
  34. user_name = user_name_on_the_mysql服务器
    7 t) }& A. x; j1 Z+ L) q( f
  35. 密码= password_to_go_with_above_user_name   k: y2 _3 O8 T3 h
  36. getdriverfunc = getsqldrivermysql   K% W$ N$ _/ |. S* `; b% |
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    / p# |- g2 V! ], }/ x; _
  38. libraryname = path_to_libsqlmy_libary
    / x1 O/ Z: H; e  t+ s% S8 C
  39. 积极= 1 7 R8 M) Q- @: R5 k* x( E
  40. ---削减这里---
    % I2 ^7 ?; Z9 w/ y
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    0 K$ O8 Z' }5 n- d. y$ O' }
  42. ---例如---
    # g9 [' T8 ]% V& E. h9 Q+ m+ I
  43. [ dbexpress ] 5 _% F( C- x2 ?- N3 N" n
  44. sqldir = mysql_sql # z+ e7 R% H3 k' |9 y) B! |  q% w
  45. drivername = MySQL中
    , r. ^3 a8 e- Y" s4 s) }
  46. 数据库=测试
    ) t( W( a6 G! z
  47. 主机=本地主机
    - s0 x( `: f6 m% K+ y9 d
  48. user_name = testuser # b+ a5 n$ y$ r) p
  49. 密码= my_password
    0 i* ]+ v' U4 Q  Y7 C  d
  50. getdriverfunc = getsqldrivermysql
    4 o  L/ p. b5 B' k) g. I0 z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 / f- ]8 Z' |1 ]' `( Z! ^
  52. libraryname =. / libsqlmy.so 4 Y6 ?: j0 V; ~
  53. 积极= 1 3 t3 _8 b) I% I: g
  54. ---例如--- ( H5 V& ?7 l9 p. `# @  d' q) W" C

  55. ) I+ z+ x& L+ B* Y. ]* Z& q, Z
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    , F  Y8 a! R. [' f" E4 n
  57. ---例如--- 9 g  z* ^) C& M1 }. {. H7 h3 _
  58. [ dbexpress ] : S0 i0 t# w6 ~7 N- _
  59. sqldir = mysql_sql
    % ?' p0 H7 [# v2 X7 f/ g5 m% z
  60. drivername = MySQL中
    ; n/ F1 q/ @. C. [
  61. 数据库=测试- R1 c( q+ W  u6 A  ?# u; b4 v
  62. 主机= 127.0.0.1
    3 D7 d) l0 D& l0 ^0 e( p
  63. user_name = testuser * d, m" p0 d5 ~1 J2 f3 W
  64. 密码= my_password
    " Z* T0 L6 c6 i  d+ D
  65. getdriverfunc = getsqldrivermysql 1 }) @' Y8 X, F
  66. vendorlib = libmysql.dll在0 K) Q4 i( A. k$ R! P3 z1 n
  67. libraryname = dbexpmysql.dll $ v. Y7 O# x6 D( X
  68. 积极= 1 / |/ J* V/ q7 G! F* B! n6 V
  69. ---例如---- " K! o7 m' E& X+ U% Y( l6 u/ t
  70. -写在0 2.03.04由p wk.linuxfan
    ; _' a* D1 o+ m1 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
: ~1 d) g% ^2 @: q9 I) v; [7 d. g+ z
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-17 02:23 , Processed in 0.114316 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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