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

3041 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
/ c! O# C7 ~  r2 m7 {: M# c/ ^$ t2 U
' z1 x/ E5 [3 Q9 Y

  1. 2 I: F7 \- P" O. i
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    1 H- N6 X; `2 Q. A0 ~' `# S

  3. , }, u- l9 T: i4 ^8 f' D( k
  4. ### What we need ###
    1 h2 e) z# N% L' F7 `
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ' ]- j4 g8 A7 W' X; ?. P1 ]5 d9 x; Z
  6. will not explain how this can be done - there are documents out there for the
    2 Z& s+ X: A, k8 l* G
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    . l% h1 R0 M; q6 g% d( C
  8. and a user account (username + password) that has the permissions to do stuff
    ' n: ~5 M4 j1 ]
  9. with the database. Additionally, you will need a vendor library installed on the
    9 X, O, f8 G# M" u1 ]: Q8 v& ~! U
  10. local machine, this came with my MySQL install.* g4 g& b# O, h1 A+ v! o4 T
  11. These instructions will not tell you how you might transfer your data from the7 q# d3 M( B  t2 u% j2 S, G
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL4 ?( W% M! j- U  F/ |, a
  13. database.
    1 G$ }% S; z! H/ S
  14. Some users have reported ways to import a SQLite database into MySQL, but at( n8 c0 Q) Q# D" L5 P3 R
  15. the time of writing, there are still too many issues - check the current status
    ' O$ y, r( h3 @6 l  o6 p
  16. in the TeamSpeak forums if you are interested./ R4 w0 N+ j* @. w
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from( Q' ~" o& B' d7 }/ v
  18. Borland was used. This driver can only interface with the client library that ( y; y8 ]% A+ u2 g' r5 Y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this& w, S: @7 H9 p' q
  20. client library - basically all you have to do is to use a 3.x client library as
    - r3 i6 ]" J# w$ k/ @7 Z% e
  21. "VendorLib" and a 4.x database to connect to.( W' u; r8 I. k& Z  D
  22. If you need more info about dbExpress, you can contact Borland.* i. }- ~2 |$ d6 o8 ~7 E! H8 u& c

  23. * `2 A, H3 I& W& h) C$ f
  24. ### Doing the work ###5 R1 A* E2 D, a4 T- Y$ @
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    5 G* P4 d1 y8 _) Z# \3 c
  26. the perquisites right, just open your server.ini file, and add this section at- i& ?4 m1 l" m; t
  27. the end:+ W+ e0 G' u# x$ P- T6 ^
  28. ---cut here---* I$ g9 I7 l  K$ `. {# B
  29. [DBEXPRESS]; j/ i+ V" r1 t$ d1 k- X
  30. sqldir=mysql_sql
    1 N  C3 O, Q8 {! |
  31. Drivername=mysql
    $ _# Y; x/ M' G0 S3 M
  32. Database=Your_Database_Name_Here
    4 `* r  }6 c0 m0 F7 G3 E  f
  33. Hostname=The_PC_the_MySQL-Server_is_on. f# X0 E7 m4 D* R
  34. User_name=User_name_on_the_MySQL-Server
    6 F" ?& J) C, e9 ~9 _  F
  35. Password=Password_to_go_with_above_user_name
    ) X' e0 ]/ X- ?$ d( M
  36. GetDriverFunc=getSQLDriverMYSQL
    0 \3 n! D$ H9 w( ?
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    & l) i$ p, K9 g! T; h; h8 ^$ P. F. {
  38. LibraryName=path_to_libsqlmy_libary7 C3 F6 ]/ w8 b% P- p/ i
  39. Active=1
    / {+ }' G' f4 a6 e# v
  40. ---cut here---
    6 {$ g. Q5 L' d  A
  41. In my environment (a linux box with a MySQL server running locally) I have:- z  S1 H- f' f3 V
  42. ---example---
    & D9 f1 u+ [) K# z, A. F
  43. [DBEXPRESS]0 N5 A- Z+ H& X  d+ [
  44. sqldir=mysql_sql, E* b4 u$ {* k+ I
  45. Drivername=mysql
    : s  O5 p* n) E8 [, `
  46. Database=test$ v7 h, W- P8 c# {  G0 R
  47. Hostname=localhost. D! d& T0 h) v0 ~  ^
  48. User_name=testuser: `/ E& s; k5 U9 l! v
  49. Password=my_password$ x  a6 ]1 O+ J) n8 [
  50. GetDriverFunc=getSQLDriverMYSQL
    1 x# H% q4 o; i5 q+ A( [2 |
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0. C" U4 N& I' l$ J
  52. LibraryName=./libsqlmy.so4 G* _& ]7 F  F/ ]2 b. p& |
  53. Active=1
    0 S; |8 {& I' W# C' U
  54. ---example---
    # `0 s  ^9 ~4 \/ e# E
  55. * \5 q8 w. y+ E7 C4 y" ?
  56. On a windows box, also running the MySQL server locally, it would be:
    3 Y5 E8 J( O% A. W0 E% o
  57. ---example---5 {% @, B* O' N6 G  d
  58. [DBEXPRESS]
    ' j% F) @' r1 R/ v
  59. sqldir=mysql_sql
    * k5 A1 M" h. l$ ?2 L
  60. Drivername=mysql: \* ^4 n4 n! T7 C/ `
  61. Database=test( p) r, L' L: `1 k$ W0 f5 O# `% ?* ~
  62. Hostname=127.0.0.1
    % Y  K. m; B7 U1 }5 a
  63. User_name=testuser& B: o4 `( r* A$ Z3 ~  N
  64. Password=my_password0 e# p7 C+ o6 z
  65. GetDriverFunc=getSQLDriverMYSQL* \0 O! Q  l4 z6 ~6 ~/ c, O
  66. VendorLib=libmysql.dll1 f8 D  Y6 y% J: `* \
  67. LibraryName=dbexpmysql.dll
    $ H3 P7 h7 h1 v% V# m
  68. Active=1/ C, H; e1 \5 \+ e3 u6 v- D
  69. ---example----
    $ s3 W' j3 w- _- X, M0 f
  70. - written 02.03.04 by pwk.linuxfan/ E( V8 n' N4 M4 s. k, ]$ A
  71. - \7 H% Z4 B" f: d8 f* I0 t$ x
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
% o2 N, K" K0 A( H

  1. 2 l' a  E  |( I  c4 l
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ' O( m! o8 |: V7 L" K4 Q
  3. ) S# h0 z0 _# P+ |( }1 C
  4. # # #我们所需要# # #
    " `4 j" y3 x; D5 h' o% |- I
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件: w& Q5 t3 d% I# B- Z
  6. 不会解释如何做到这一点-也有文件存在,为
    ; G7 |4 ^' Q' J9 w6 a$ X: s9 {# I
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    " X$ ~* ?% j; R1 c8 @- A
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西3 w8 _6 j9 k6 U2 ?+ X
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    , z9 l' n3 k6 j% e' r; X& S  p, F0 X% g
  10. 本地机器,这是我的MySQL安装。 1 J) e+ z% m2 O4 d" J& }! B
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    - R; N0 _0 l6 b% c* m
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 8 z4 m# Y4 b% j
  13. 数据库。 ! l9 E, y0 @+ m1 B8 d
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    1 i8 O8 p- Y2 K9 F
  15. 编写本报告的时候,仍然有太多的问题-检查现状4 g2 }- i; }+ O
  16. 在teamspeak论坛,如果你有兴趣。 , K) G8 d7 J% I' N7 [" y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机% p; n; Y- G! `/ t& H' g0 Z
  18. Borland公司使用。这个司机只能界面与客户端库  j- Q% P0 ?* f& U
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    2 Z* w' o! X' D( m1 P9 r
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    - z/ K" n1 Q1 p5 U8 ]
  21. " vendorlib " ,并解数据库连接。
    ! k: ]2 q' B+ ?/ s$ |: M, M) r
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ; R( D7 r, I: w" g0 \$ w/ O$ t

  23.   z2 D# }7 t9 d' [
  24. # # #做好工作# # # 7 W) y4 q. v: F, K& X2 }0 A
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都9 B0 q* U+ l; \! i
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在  a. v) I' q: {* Q. Q. l
  27. 结束: 3 P2 ]3 P; T% V# w& ~8 e0 p8 `0 ?
  28. ---削减这里---
      I. T8 J  j" p* Z
  29. [ dbexpress ]
    3 o! l# a" ~  B7 q" _+ T) k% }. T
  30. sqldir = mysql_sql 3 Y' J/ I1 ?' M  y  p: o, j: x
  31. drivername = MySQL中/ {% C# p% G% D3 ?0 c3 K) V
  32. 数据库= your_database_name_here
    ) v1 X( p& m3 _
  33. 主机= the_pc_the_mysql - server_is_on
    . {5 I! |( d. Q' }9 C# F
  34. user_name = user_name_on_the_mysql服务器
    4 I; @: P( }+ }- D3 i1 F' I
  35. 密码= password_to_go_with_above_user_name " e# d, D% O1 j1 a# y' W
  36. getdriverfunc = getsqldrivermysql
    : j0 V, h: P0 \, \2 P! @; l/ J
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib : Z4 W$ {. Q& X; k; b8 L
  38. libraryname = path_to_libsqlmy_libary , K8 ]% o: S# G& c9 C7 ^; u4 X: e
  39. 积极= 1
    1 L1 b, Y: _, F& T4 c0 F7 I
  40. ---削减这里---
    8 i9 `5 f: n' A8 g
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ' Y! S, T9 @% F; p, t, p9 _3 K, \
  42. ---例如---
    . A6 {/ y/ S* h; G1 K' k
  43. [ dbexpress ] 9 `/ I' |' [; u$ b% g
  44. sqldir = mysql_sql
    ' P! y! A% U: V
  45. drivername = MySQL中
    0 R2 i7 P# m% T# d: e
  46. 数据库=测试4 i# {- v% {8 d; w+ h: g
  47. 主机=本地主机
    ; J. }' t# Q* ?4 O: n
  48. user_name = testuser ) y" Z( u+ n* n- O( B, {" q
  49. 密码= my_password * u. T3 {9 W$ b* V$ B0 W
  50. getdriverfunc = getsqldrivermysql
    + F* j% f- W& P* R( m; T7 w
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ! W, n) L. i4 Z, g4 x: N8 R- a
  52. libraryname =. / libsqlmy.so 2 D1 O6 K0 {) L. c
  53. 积极= 1
    . t6 k; |. y/ i
  54. ---例如---
    ( W$ r1 }7 K% |7 H6 R' E9 d5 w

  55. 8 ]3 J' i% ]2 K! U0 }; U' A& o
  56. 对Windows中,也运行MySQL服务器本地的,那就是: $ T/ T. M' P& ~) ]* R3 C
  57. ---例如--- 9 n, w( m2 K/ b: M/ V* \" _: P1 O% f+ S
  58. [ dbexpress ] 5 k+ U+ L% H$ O* R8 A3 y
  59. sqldir = mysql_sql
    . D- N6 O5 \8 ~' C+ e, L
  60. drivername = MySQL中
    $ s2 b! v! q  G- A( o* b! N
  61. 数据库=测试
    5 h7 D+ s( T4 _' Z6 f# [. \# v$ S
  62. 主机= 127.0.0.1 2 w4 n$ x" L' [' k% j. F8 X) o# a
  63. user_name = testuser
    6 \2 W( e9 v0 E; p
  64. 密码= my_password
    7 C1 ]+ X. t7 j; ]
  65. getdriverfunc = getsqldrivermysql
    9 x3 b* R" M* u/ K, _) L
  66. vendorlib = libmysql.dll在
    9 J) {0 N6 x* x' t
  67. libraryname = dbexpmysql.dll
    9 I0 m6 y$ @' }$ X& z- T
  68. 积极= 1 ( V* G3 S+ t# o3 S0 e
  69. ---例如----
    4 O7 c: \( k! P
  70. -写在0 2.03.04由p wk.linuxfan
    * P, _* b1 g: r: b& \8 H
复制代码
发表于 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 words4 ^9 ]  _9 W& _6 t( Y1 a8 D2 Y
1 D- g7 {/ B8 p
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-19 09:47 , Processed in 0.103419 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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