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

3251 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
+ V" T* d$ s: y2 R) R" i! ^- i: D; w2 A: I. u

  1. 6 v$ w, W8 v4 Q* W' O0 n
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######4 o2 U7 h/ Y2 P, p1 B6 d

  3. $ ?  ^9 @( ?' h' o6 t* D2 d, y
  4. ### What we need ###
    ! U! M8 r: V! h9 U, f) A
  5. Naturally, we will need a MySQL server to store the data for us, this document 5 \; G5 r# _* L1 [3 F
  6. will not explain how this can be done - there are documents out there for the
    7 e0 ]+ Z8 ~, A" `# ~5 J
  7. interested. The requirements include a (empty) database for TeamSpeak to use  X# W3 p( k' n  B" y4 {
  8. and a user account (username + password) that has the permissions to do stuff
    ) y' Z( L0 f3 b" z! t
  9. with the database. Additionally, you will need a vendor library installed on the
    9 f& @8 U0 L  c+ `
  10. local machine, this came with my MySQL install.
    ' X) H7 T: Y6 c( j5 ~6 t# j
  11. These instructions will not tell you how you might transfer your data from the
    3 Z$ o" S# m% v3 D& M7 n
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL& J8 y) F1 {6 d) z8 r: J6 T5 F
  13. database.
    ) n; I7 `  A, x
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    : x5 f2 j* B4 G
  15. the time of writing, there are still too many issues - check the current status2 i7 P- B4 C2 g, x2 {: s
  16. in the TeamSpeak forums if you are interested.
    5 k5 R# N, {# M! v0 D6 o/ t- I
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from, R3 _7 a# C' I
  18. Borland was used. This driver can only interface with the client library that
    9 R& Y: M+ r% m- K. r/ o, T# a
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this  t: X6 i' |* Q4 O4 m' n
  20. client library - basically all you have to do is to use a 3.x client library as
    + @# G9 \/ s7 J1 h. [- ]
  21. "VendorLib" and a 4.x database to connect to.
    , K. [  _7 ~0 n2 ?, M
  22. If you need more info about dbExpress, you can contact Borland.1 |) G5 c5 z* N3 O( a
  23. 5 Z- `/ F; V2 O+ M9 `
  24. ### Doing the work ###5 n& i+ d: |4 p9 A8 C1 U
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all: I! R) W' @$ A# H
  26. the perquisites right, just open your server.ini file, and add this section at5 Y/ G7 u3 N0 R: ]# H' U9 B  I! ^
  27. the end:
    0 P, f( M5 r0 X7 p
  28. ---cut here---: N- O$ F+ K; g* `' v
  29. [DBEXPRESS]7 F- k1 a. Y; G6 a
  30. sqldir=mysql_sql. v# P# N) m2 A. w
  31. Drivername=mysql
    % R# S1 R1 y- e9 U, [3 z' k1 |
  32. Database=Your_Database_Name_Here- l2 |3 l/ x% |) s  I: j
  33. Hostname=The_PC_the_MySQL-Server_is_on4 w7 i* N6 Z5 ^
  34. User_name=User_name_on_the_MySQL-Server! \$ [: R8 e% u4 i
  35. Password=Password_to_go_with_above_user_name
    " A# V) A2 X- g3 e
  36. GetDriverFunc=getSQLDriverMYSQL2 ~* ?. Y' i. [
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib9 t& f/ }4 A! t8 I' W3 d2 P
  38. LibraryName=path_to_libsqlmy_libary% T2 ~- R2 j% c; f0 `3 R
  39. Active=1
    / ^: Q' Y' }, [+ J+ W. [: c
  40. ---cut here---
    + U, U. h, N6 Q5 @8 M9 u1 ~& R
  41. In my environment (a linux box with a MySQL server running locally) I have:: [2 ~  M* x. _% l5 T
  42. ---example---' f3 c$ }1 d. p$ p" L% G1 G. O
  43. [DBEXPRESS]% n4 P% D+ |1 ~  T2 k$ f0 n9 X" I0 V
  44. sqldir=mysql_sql
    ) ]1 n% }! o* z* U" C
  45. Drivername=mysql
    0 M$ u, S/ T8 c
  46. Database=test+ M! f3 t% o& ?6 C4 q; h" W2 [9 ?: J
  47. Hostname=localhost
    1 Z/ f9 [5 Z. k$ Y
  48. User_name=testuser
    2 T3 U( e8 l% V
  49. Password=my_password% v/ f2 c; _- i8 G
  50. GetDriverFunc=getSQLDriverMYSQL: x+ D! F" Q7 y
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ( [  M, \: S# A* O' s9 ~) n) c3 ~' l
  52. LibraryName=./libsqlmy.so1 g* h. V1 \" G5 y! c  [
  53. Active=1+ A# z% d' h5 z. K
  54. ---example---
    : K0 G! B+ `& U( E

  55. : D! n. I; Y4 j& ]
  56. On a windows box, also running the MySQL server locally, it would be:. i) o( l% n* F/ l5 B* L7 v: S* X2 A
  57. ---example---
    7 Q4 y% h- G; ^
  58. [DBEXPRESS]! ?8 _$ S0 w# T' |% O; p* I
  59. sqldir=mysql_sql
    1 a8 l) ]6 O* I" Y8 Q0 X
  60. Drivername=mysql* l. v0 R9 V" T" h
  61. Database=test
    / D$ Z6 [( N8 i
  62. Hostname=127.0.0.1) A$ V9 l& |+ [/ Q
  63. User_name=testuser2 T" w' g9 x5 ~
  64. Password=my_password$ T: x/ ~- P) x  I
  65. GetDriverFunc=getSQLDriverMYSQL: M/ X( I% V3 F$ l" Q
  66. VendorLib=libmysql.dll
    6 J& X' b2 R. @/ a/ [: B$ h. {8 ~) b
  67. LibraryName=dbexpmysql.dll' ~% [7 i6 h! r9 n' d
  68. Active=1, f3 F2 E, j) ^8 Q5 N* F
  69. ---example----
    * l5 U8 V$ U& g  O) Q
  70. - written 02.03.04 by pwk.linuxfan
    ; L/ j: P1 y9 r& a7 v
  71. & v; F8 y  V2 H6 q/ L  y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
; ^; T- Y  }7 D& D* {" q
  1. 2 H& l$ u3 ^  s9 A7 n( ]) [
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    $ a$ j9 y7 a% L! X9 o
  3. # Y2 j1 ]  v" E; o
  4. # # #我们所需要# # #
    5 z' |* d+ B% z( I6 g, e* M7 V
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ( A8 c- w) P5 x
  6. 不会解释如何做到这一点-也有文件存在,为' \. a5 j) J% V
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用* _$ Q1 u2 ^" ]8 L7 I# e% O- d
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    - c2 |" G( y+ k$ G' C7 F9 ~0 `
  9. 随着数据库。此外,你需要一个卖方图书馆安装于, \, J' ?% G& R
  10. 本地机器,这是我的MySQL安装。
    + v& w+ y+ k4 P
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    2 y, ?; D" T( N. J: T5 ?+ d- @
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    . ~4 F+ K# Z& ]! Y! N# L
  13. 数据库。
    ' Z9 Q$ \2 N2 F6 V; W9 h
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    0 z8 J, y2 d  V2 x9 a  O  L1 J
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    0 Z: R6 `4 p3 `7 `, q. U! ?: |; z
  16. 在teamspeak论坛,如果你有兴趣。 0 ?3 s+ i4 F0 y/ [+ |
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机- H8 C2 Y0 Q/ E7 w9 H
  18. Borland公司使用。这个司机只能界面与客户端库
    5 h7 n6 a5 d4 F5 R& r# t5 f
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这# C2 k6 v4 m3 B* A6 o
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    3 t6 }: M6 {4 D( R& J$ A) ^
  21. " vendorlib " ,并解数据库连接。 : B! h' u3 O/ W5 S& f
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    , x8 K8 C7 r7 R, p5 ]* D
  23. 7 [1 G' G9 g* B0 \1 t
  24. # # #做好工作# # # ! u+ h8 d. I: j7 \1 Z
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    6 F1 h- w' L& [2 X, I4 ?
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ( z1 p/ ]2 F2 ]' N
  27. 结束:
    / b# b/ I) o6 v/ I
  28. ---削减这里---
    3 F( H& M0 d* h8 C. {
  29. [ dbexpress ] 2 S' C& f: h3 T2 u4 R. ]# v0 L
  30. sqldir = mysql_sql " K7 a" X5 V- Y' K% }# ~3 M
  31. drivername = MySQL中5 y. `6 m5 M, q2 f9 p
  32. 数据库= your_database_name_here 8 A1 O" P3 A" D5 M# e  d
  33. 主机= the_pc_the_mysql - server_is_on
    7 D& G$ b: S: E
  34. user_name = user_name_on_the_mysql服务器
    8 V4 l) ]) U+ Q% @, z' p" @% l+ J
  35. 密码= password_to_go_with_above_user_name   Q% R* [- @) K) k9 n" I
  36. getdriverfunc = getsqldrivermysql
    3 s, p* ^5 l2 L0 j. ^3 C
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib $ Q8 M* @" y% U; Z( ~% W- Y
  38. libraryname = path_to_libsqlmy_libary 9 B, [& g! t+ D4 H" X
  39. 积极= 1
    % B" N7 Q$ g4 c, l( B
  40. ---削减这里---
    # d$ v1 i" c8 G" t. S
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ; @# E8 V# n1 W) R
  42. ---例如---
    . j8 S2 C$ z4 a' {3 K
  43. [ dbexpress ]
    0 R2 ]" t' D) P
  44. sqldir = mysql_sql $ `( R6 o- W! w( q- b  q: J
  45. drivername = MySQL中- h7 Z6 {' d6 O: ^
  46. 数据库=测试8 h* u5 A0 ~1 c% d5 X# J) E
  47. 主机=本地主机
    7 G$ W" j# N( A. M, a
  48. user_name = testuser # O) r) s( n- b
  49. 密码= my_password
    : U' y$ B+ B" R& \  B3 z
  50. getdriverfunc = getsqldrivermysql % j* W2 g# t5 m6 Q5 F
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ( ?0 E0 G& y/ c
  52. libraryname =. / libsqlmy.so
    8 [( o3 k" h2 b; f1 p. s9 b
  53. 积极= 1
    % Y2 m- t5 j6 m. B9 O
  54. ---例如--- * G: L' i2 U) \8 s9 ~  ]
  55. : r: p' m0 p3 ~: A) `+ S) ]9 K/ u* S
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    6 m3 I) w3 o5 C3 t
  57. ---例如---
    1 B; G$ M, b* z& d1 r- f, X
  58. [ dbexpress ] 6 p8 z  E/ }' i" O9 v2 i5 \
  59. sqldir = mysql_sql " Y0 i: m$ Q* f( q$ o9 n
  60. drivername = MySQL中
    , v- f% }. C9 ~5 q- [3 N
  61. 数据库=测试7 ?3 |2 Z( Z& g3 p1 K
  62. 主机= 127.0.0.1
    ) ]* {# u/ R! m( j) S' v& N  I
  63. user_name = testuser
    / r1 a' j) j3 i+ O6 ^
  64. 密码= my_password
    6 Z; X& Y/ s. \
  65. getdriverfunc = getsqldrivermysql 8 p/ F7 `; w3 j/ x
  66. vendorlib = libmysql.dll在' n% D3 V2 x3 o% j# ~1 n. T4 J/ C
  67. libraryname = dbexpmysql.dll & G1 j2 d: E) r1 R: `, P
  68. 积极= 1
    ) I* v/ e0 G: v& b
  69. ---例如---- & r  ]$ V1 `8 a& J' G- L0 C4 f
  70. -写在0 2.03.04由p wk.linuxfan+ i; F, c* [; r! K/ y
复制代码
发表于 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
9 |- _* [4 R  ~) E
  _! C+ j2 L* R6 q+ p( }. U1 nbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-28 21:25 , Processed in 0.086559 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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