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

2446 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ! o. @& W( n) g0 N
, ?; ~# T+ g) \! H( M$ X
  1. 7 l2 h& _  h  E  [4 f
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    1 \0 q' y+ N9 \) `8 ~
  3. 3 ^% \0 L+ `% v$ U7 C( ~, R; f6 S
  4. ### What we need ###+ a# k/ h4 Y* _: R$ D0 l
  5. Naturally, we will need a MySQL server to store the data for us, this document
    8 h( k8 V0 a% R$ L% K* q& `! j8 E
  6. will not explain how this can be done - there are documents out there for the
    4 x* {# j4 M0 W
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    + c& ]! f5 u+ U
  8. and a user account (username + password) that has the permissions to do stuff8 T/ S) G) T7 L  ?' P
  9. with the database. Additionally, you will need a vendor library installed on the' s( W6 h3 D9 Y* k" O! L/ d; ~
  10. local machine, this came with my MySQL install.# U! }% c6 W3 x9 u5 w1 J
  11. These instructions will not tell you how you might transfer your data from the
    3 j9 W+ N4 j3 O! t0 [1 G( d! L
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL- C4 g# p, v/ n/ U" f% H
  13. database.
    / u. j' i2 m5 @* F# `
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    - s% _2 i0 \* p
  15. the time of writing, there are still too many issues - check the current status/ }: H$ q* w) E1 y
  16. in the TeamSpeak forums if you are interested.
    $ t5 M: ?) X" R/ q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from6 g( v' J$ p. Y, D+ }
  18. Borland was used. This driver can only interface with the client library that - U3 J. M# T% N4 y, n, }, H
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    7 \1 }: ]! j2 X- y
  20. client library - basically all you have to do is to use a 3.x client library as
    ) |! U: T1 X+ p. C7 k3 ~
  21. "VendorLib" and a 4.x database to connect to.
    ; a8 i8 n/ K' a& u/ V
  22. If you need more info about dbExpress, you can contact Borland.
    8 Z6 Z  k9 l  l0 S  E

  23. 0 O# ?. V3 J+ z: D
  24. ### Doing the work ###7 D6 p3 z' Z5 B8 r
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
      x0 `5 a2 V( f8 y" V9 \" W
  26. the perquisites right, just open your server.ini file, and add this section at" a% K2 a4 {8 M" n$ q  V
  27. the end:: F3 O4 p! p3 D! l, f1 ]9 _6 l/ d
  28. ---cut here---7 R4 J" c  \4 P+ K+ k+ G# q
  29. [DBEXPRESS]
    " p! k6 `/ X. o* l
  30. sqldir=mysql_sql
    5 \3 `2 Q* Q7 [" p+ l4 ^3 W' |, [
  31. Drivername=mysql" ^: S# X" w9 F& o9 B  ?: |
  32. Database=Your_Database_Name_Here
    1 u3 x7 {& X  I" P. d: v' w
  33. Hostname=The_PC_the_MySQL-Server_is_on
    & W/ [% q0 }# ]
  34. User_name=User_name_on_the_MySQL-Server
    : \+ \/ Q% s; W+ q& f1 J
  35. Password=Password_to_go_with_above_user_name
    : N* Z  d3 I: J3 }3 \
  36. GetDriverFunc=getSQLDriverMYSQL
    % A: [0 A0 e9 _; q
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    0 Q0 @! l+ R# W/ d( W# ^
  38. LibraryName=path_to_libsqlmy_libary! U  o! z) h. K5 M2 Z' P
  39. Active=17 L3 }4 s0 _' c& Z* [" K
  40. ---cut here---
    / Z* C9 e. o8 ^. Z
  41. In my environment (a linux box with a MySQL server running locally) I have:3 \: U8 S& f' I- u$ B
  42. ---example---% M( o- e6 n; o
  43. [DBEXPRESS]9 U; Y" r% A3 p; ^1 R. t
  44. sqldir=mysql_sql" M" N6 y2 I4 V7 s$ o4 p! b
  45. Drivername=mysql
    % q/ a' p6 R# I3 v# ~: d
  46. Database=test( x1 Q* Q% A) O& P
  47. Hostname=localhost
    : x& p6 Z2 d9 D% O8 a" G3 [# a, J4 F1 \
  48. User_name=testuser
    % Z' b' {: G, ~6 f1 Q9 X# H
  49. Password=my_password
    # D" p9 q5 S' I" {4 w  d! @
  50. GetDriverFunc=getSQLDriverMYSQL
    ) [; v# N( x* l8 M4 y- K( y, d9 x
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    , B& \  A( O% k) ^. l2 v8 R
  52. LibraryName=./libsqlmy.so) a* |1 y5 o' f. h6 g
  53. Active=1
    # o# L$ j: l: U: p
  54. ---example---% t, T0 V- s% {7 R

  55. 3 c& m5 J; J5 O/ K( @% N
  56. On a windows box, also running the MySQL server locally, it would be:
    4 u5 U' K6 m: H/ J+ Y! T
  57. ---example---
    7 [$ @* @, L3 r' C: Q) \9 F0 P
  58. [DBEXPRESS]
    3 D: o2 X8 _1 F! }. T
  59. sqldir=mysql_sql
    / l+ H; R' d% l0 U- u, P
  60. Drivername=mysql
    % s) b/ z' W0 H# j; G% y7 }
  61. Database=test
    2 \& u$ t* m! M- x- R
  62. Hostname=127.0.0.14 c. D5 M+ D" F( F
  63. User_name=testuser
    ) C" m# K% B- u1 D
  64. Password=my_password: i- _- Z$ N8 g' ~
  65. GetDriverFunc=getSQLDriverMYSQL1 K7 C* C$ {3 e! s6 c
  66. VendorLib=libmysql.dll
    4 g. [1 K+ I. Y) r6 J3 R
  67. LibraryName=dbexpmysql.dll
      Y% ]" e: ^5 Y1 D1 K. }
  68. Active=19 g/ v' l9 \% s: S0 _
  69. ---example----
    3 B$ T+ u  V) u- d+ z
  70. - written 02.03.04 by pwk.linuxfan
    1 E6 d  S/ F1 \
  71. 8 I" v% ]# f) H# @
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
: H% f1 f& q8 S/ n% @4 M$ h

  1. 0 Z) z) b, |7 `1 m
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ) t2 j) s4 T' k9 U# ^
  3. 5 X+ _. I5 v6 r( R3 U1 m
  4. # # #我们所需要# # #
    ; H8 X" r- C( `4 u' w# k* f
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件! Y& S3 c% F% \' F( e9 d/ {
  6. 不会解释如何做到这一点-也有文件存在,为
    ' A9 d# t- H0 [/ @
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用: g9 i; Y0 |6 z) X
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西8 v' R9 c0 k- l4 R5 F" q7 o
  9. 随着数据库。此外,你需要一个卖方图书馆安装于0 }: {! O/ @* P3 p
  10. 本地机器,这是我的MySQL安装。 ; `% c7 g+ S7 {! @( Q7 G% Z- h( x4 Y( I1 V7 n
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
      W6 H; j$ H2 B) g
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 9 c  P" {6 O2 q
  13. 数据库。 * w) s9 O% I2 `# x7 K9 m" Q2 Q1 r
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在8 y7 c0 P+ ~+ D# D; ~. X' ]
  15. 编写本报告的时候,仍然有太多的问题-检查现状) V" H; r8 k' G6 x0 k0 U0 v
  16. 在teamspeak论坛,如果你有兴趣。
    4 k3 H8 _( O/ n/ b+ r
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    * k) T/ o) N; t1 ^0 ^
  18. Borland公司使用。这个司机只能界面与客户端库
    % F- V. f6 Z0 w- h2 U! u
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    5 m& J5 i# x4 f5 C! [
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    4 x! l: z/ B5 S, R- r8 O
  21. " vendorlib " ,并解数据库连接。 3 \6 C6 k6 D+ p& l
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ) R& p8 _, S+ R' s. y( w% F. P

  23.   Y5 G7 W/ F) K. v
  24. # # #做好工作# # #
    ; j. C! Q( o* y& k8 D
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    , T/ B, B% z0 Q  s$ G
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在6 x" j6 c  a/ k4 z/ b- q' l
  27. 结束:
    ( i! L+ b. v  R7 {
  28. ---削减这里--- ( p1 R" N9 Z7 D3 f1 g0 A: u/ g
  29. [ dbexpress ] / s: B) ~. ]# t. A
  30. sqldir = mysql_sql
    * y3 E8 i" U* m6 k# s2 a: y' }
  31. drivername = MySQL中
    & E# N& |' r1 U+ a9 ^/ x( a, s
  32. 数据库= your_database_name_here - c1 H/ C" S+ \2 E. }* ^: i5 ?% D
  33. 主机= the_pc_the_mysql - server_is_on   L/ O- ^* t; B/ U& m  D/ R3 ^
  34. user_name = user_name_on_the_mysql服务器* L8 s1 y; \/ o8 A! }5 T7 n9 u
  35. 密码= password_to_go_with_above_user_name 2 K: i" N  o; P* S7 z/ `6 d
  36. getdriverfunc = getsqldrivermysql
    ' {5 {$ G% |  I& y& t
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    9 {8 g" D! |5 o5 s( I6 G  T
  38. libraryname = path_to_libsqlmy_libary ) o% I8 T9 X5 {+ Y( `8 b
  39. 积极= 1
    # p' u, F8 r9 A
  40. ---削减这里---
    4 P3 @: F0 k  g  V% X# O, q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ( ]8 K$ j  B$ q' ?) F
  42. ---例如---
    : ~2 ?, T. J% |) {
  43. [ dbexpress ] 3 I6 G2 B5 s& c  h' p
  44. sqldir = mysql_sql
    + ]: u. u* q1 C. W
  45. drivername = MySQL中( ?0 b& l* @; V: k4 Q
  46. 数据库=测试
    $ x7 R1 Q/ @9 n+ ~
  47. 主机=本地主机
    ! Q' u& [  P' ~+ u
  48. user_name = testuser   T* A$ s; r% v9 Q2 \
  49. 密码= my_password 6 x6 |: ~3 s# h2 P
  50. getdriverfunc = getsqldrivermysql ! g' p1 N4 I, T
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 2 d9 I9 E+ H$ _0 w) D4 d
  52. libraryname =. / libsqlmy.so
    3 B# R1 `$ Q* w# z1 r: ^4 v7 h
  53. 积极= 1
    & q. p) F: _7 @
  54. ---例如---
    . A: d! t4 T% W+ W# |. @
  55. & G: o$ U5 T/ T4 ?+ c
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 3 c/ |: R, X" E  D' C
  57. ---例如---
    & x" n' K/ Y  l) h% Z+ ?
  58. [ dbexpress ] $ A- m2 B9 ]/ j
  59. sqldir = mysql_sql
    3 Y& K3 ]* G& r
  60. drivername = MySQL中
    9 i5 C2 |, \* P7 b% G+ f/ q
  61. 数据库=测试' N) f1 H0 q# w& a( X$ t* [( u
  62. 主机= 127.0.0.1 8 ]$ E; z' D: {& `
  63. user_name = testuser
    ( ^; M, x3 |' u, v5 Z
  64. 密码= my_password
      U  m( g( F" @' D! M+ M
  65. getdriverfunc = getsqldrivermysql . C! G5 `) M; f( N5 j
  66. vendorlib = libmysql.dll在2 z# g/ c+ R7 j0 r7 o  ^
  67. libraryname = dbexpmysql.dll
    3 m; F/ @4 K' ^4 c# h
  68. 积极= 1 " k# R7 T) M  Z" w  M* v1 }' Q8 g
  69. ---例如----
    7 L- V  {& a5 t
  70. -写在0 2.03.04由p wk.linuxfan
    # f9 O% x, C; L" B9 b6 E3 Q6 _
复制代码
发表于 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 r3 f7 \/ ~+ F% D4 p3 x% r; H
0 f2 c7 k4 m' ~. S2 Q" R4 p3 bbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-5 17:11 , Processed in 0.109934 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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