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

3046 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
2 Y4 T' I* N* v; J9 A% n% L; x1 r4 U% @5 a1 H3 l3 M

  1. 2 e. E0 J2 Q2 M" X
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    8 f6 ~- O4 ^+ P9 d9 x

  3. , P" l! j8 W; X0 v' t, f1 O
  4. ### What we need ###% d% g1 H( |6 E% `, N+ B
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ' f9 x* b& Q0 l8 ?! f
  6. will not explain how this can be done - there are documents out there for the
    - k8 k' ?, a+ s
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ( I3 h3 l1 ]6 w
  8. and a user account (username + password) that has the permissions to do stuff1 d/ B7 z0 x* E" s' j. ?. c
  9. with the database. Additionally, you will need a vendor library installed on the0 |% |, G' e# x2 w& c: [& D
  10. local machine, this came with my MySQL install.9 Z# T( n( W. p5 m
  11. These instructions will not tell you how you might transfer your data from the* x9 T; i( A( o# @$ o
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    6 R/ Y8 v3 ?( w& V3 y* A
  13. database.
    2 B/ S) p/ T" O8 u. N; F  L9 d
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ) \5 Y4 B+ [1 r) Y4 h0 A: K* O  V! A
  15. the time of writing, there are still too many issues - check the current status4 B% u- e" f& ]7 b: a
  16. in the TeamSpeak forums if you are interested.
    4 R# R) Y9 M; b+ l
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    - g0 L" Y) Q# Q' ]- u
  18. Borland was used. This driver can only interface with the client library that % q+ }5 T$ ]# d! r' O  A
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this+ L4 ~: O: ~8 W' [+ x
  20. client library - basically all you have to do is to use a 3.x client library as
    4 l4 _( ?$ \7 w0 b' a  ]6 A
  21. "VendorLib" and a 4.x database to connect to.- h* f5 k2 J* [) C. S7 Z: `: K
  22. If you need more info about dbExpress, you can contact Borland.
    2 n7 V! V4 i( W3 }

  23.   w: w" h' u  `0 ^) [
  24. ### Doing the work ###
    - I0 }  ?+ ?# W6 M8 `# s$ V; k7 e
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all9 g  Q% g- a( N( [2 G) _
  26. the perquisites right, just open your server.ini file, and add this section at
    8 c7 T; j% L$ ^2 Z$ `
  27. the end:
    0 ^+ h3 @! v# N3 ~4 ~! k
  28. ---cut here---
    + s9 b. H, [  l3 j
  29. [DBEXPRESS]
      q- D* k0 W8 o1 |$ }# q
  30. sqldir=mysql_sql3 e5 P. _% M" m/ E( ~# U+ d
  31. Drivername=mysql4 |5 z0 `+ \) G! i- V* I
  32. Database=Your_Database_Name_Here
    1 T* m. e& y8 [6 Q. h
  33. Hostname=The_PC_the_MySQL-Server_is_on
    $ r6 E. e: u/ B9 L
  34. User_name=User_name_on_the_MySQL-Server
    4 @2 b, z% g1 @, a+ f  s
  35. Password=Password_to_go_with_above_user_name& W1 e; n. o3 v( S  R
  36. GetDriverFunc=getSQLDriverMYSQL
    8 a+ H$ T" p. S/ {
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib. V/ n/ D3 E5 }4 v  t3 f
  38. LibraryName=path_to_libsqlmy_libary
    2 G! v% }. I# i$ u0 U$ q
  39. Active=1; c3 G: D1 d2 N7 w# F- L  L
  40. ---cut here---2 M4 k2 b  r5 |; R$ C5 f8 E
  41. In my environment (a linux box with a MySQL server running locally) I have:
    . J% c2 x. \; d; q& V
  42. ---example---( b, U4 w/ \* I# `9 G9 T) ^, L
  43. [DBEXPRESS]9 D  q; m/ H8 u' x
  44. sqldir=mysql_sql! U6 J6 |' b( V6 |  P5 }, P
  45. Drivername=mysql
    8 G: `8 J; p. v! p( I
  46. Database=test
    : X+ Y0 H; E, q* {2 ~1 o! B/ ]0 l
  47. Hostname=localhost
    1 B$ s3 n0 k' N/ X: G
  48. User_name=testuser
    , B" g  d% s# d# A' p
  49. Password=my_password6 P6 K- k5 r+ E
  50. GetDriverFunc=getSQLDriverMYSQL
    3 R* a. z7 v( |$ O: Y
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0' Z% ^! n' Z8 T4 L( M; f
  52. LibraryName=./libsqlmy.so: H7 ]: ~; p/ J( |5 P  U
  53. Active=1
    - h0 e5 }; \1 u; R+ W
  54. ---example---! c( |0 E0 Z/ X: o
  55. " x, c3 s) C/ k+ d
  56. On a windows box, also running the MySQL server locally, it would be:
    5 O. u" m- q! O( I* K4 G# N/ T, u
  57. ---example---
    " u9 D' o& p! H) D; I
  58. [DBEXPRESS]
    7 c7 j7 q* M8 h  n2 S% H9 ~
  59. sqldir=mysql_sql: T- J( A5 ?* W
  60. Drivername=mysql8 h" @* I; J1 }) g2 ^
  61. Database=test/ I6 Q7 b( ?, X0 o. F2 h
  62. Hostname=127.0.0.10 l/ U/ E0 y! Q
  63. User_name=testuser! c. q) {% c! v) N; y
  64. Password=my_password  h" T( D% c" `% I5 }5 e& d6 M
  65. GetDriverFunc=getSQLDriverMYSQL) S0 c6 m% W1 f2 U
  66. VendorLib=libmysql.dll
    " Y5 B+ F3 \6 x9 T
  67. LibraryName=dbexpmysql.dll
    ! P/ ~# n" W; C3 W, q- U. s1 a
  68. Active=1
    ; s/ p( ?# a/ y- U
  69. ---example----
    ; `: S, {) e8 R0 ~
  70. - written 02.03.04 by pwk.linuxfan; A) q, @! h+ D

  71. . P+ _3 F( r' ?2 ]$ D
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看* U( G. I: Y9 w8 \

  1. & e2 P; e/ j2 C; G
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 2 Y2 D9 M; R  b3 W# ]. x

  3.   k% s2 n- V/ p  _
  4. # # #我们所需要# # # 3 S3 u$ _3 W( I. H8 ~6 u# f$ m
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    # u: ?! \$ o, ?' [1 }
  6. 不会解释如何做到这一点-也有文件存在,为
    , E5 r; B. N7 E" m, H' P, [' a, u
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    8 Z3 `7 S# ]" p' W4 d
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    4 a* v% Q& `1 O
  9. 随着数据库。此外,你需要一个卖方图书馆安装于/ }5 M/ a4 i. {! V" G
  10. 本地机器,这是我的MySQL安装。
    5 U- f% u7 ]; ~  S. r$ x
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从- j6 ^5 `- t! x. O
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 4 m+ M& Q2 F" A: F$ i
  13. 数据库。
    5 J% F* b; U; \6 ^1 J; Q) z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    : a+ i) V+ |- D. c' ~0 \" f3 b
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    / c) F8 r- ?# `/ L% R; ~) b, D
  16. 在teamspeak论坛,如果你有兴趣。
    7 M  ]' t$ E# E- i" E
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ! [4 {$ K7 h" w% ~8 R  v  m2 z
  18. Borland公司使用。这个司机只能界面与客户端库7 ?/ `( I8 {, T- F6 T
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    3 o+ E% o6 f& j( K3 I
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    , t9 U6 o) B2 y( \
  21. " vendorlib " ,并解数据库连接。
    - a$ y& O" Q  T3 i
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    7 V$ g. z+ \1 ?/ q
  23. & Y0 Q" S3 @! o7 q4 s
  24. # # #做好工作# # #
    & i3 M$ M& m( q. n1 O; ]7 c2 _0 N
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    + q0 u! r' C- J- O, T
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在" P8 g1 K7 t9 b2 W! v' F
  27. 结束: & g& v% {% O5 ~) R4 Z
  28. ---削减这里--- 8 Q* D* K3 m$ m, _  u2 e& y
  29. [ dbexpress ]
    5 _3 d) A: W/ W/ ]% e
  30. sqldir = mysql_sql + V/ Q! j$ @9 G6 t1 w
  31. drivername = MySQL中" H5 y: i4 J! y" {: L) s
  32. 数据库= your_database_name_here 7 ^8 j* e# k& l4 @
  33. 主机= the_pc_the_mysql - server_is_on
      a. U* D6 o. i8 b4 G1 ?
  34. user_name = user_name_on_the_mysql服务器
    % N$ I4 v4 s7 D
  35. 密码= password_to_go_with_above_user_name
    6 I# t& U: w& D# [& H. v
  36. getdriverfunc = getsqldrivermysql
    ! j) t; V* I5 G1 b
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 7 P2 @' _$ j" e
  38. libraryname = path_to_libsqlmy_libary
    / l- q( d1 k! y1 K, Q& J
  39. 积极= 1
    7 F2 ]# Y; h) I7 M& Q3 [9 W0 r
  40. ---削减这里---
    . X' f/ \# E. E9 Y  B" `2 u7 T
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 9 h0 i5 ~) C4 T3 h2 o8 j) b
  42. ---例如---
    ' \1 s8 W4 f8 q2 x) f' K
  43. [ dbexpress ] , J! @4 C5 @3 h  M8 `
  44. sqldir = mysql_sql $ J% _( X- i+ Z5 s; `
  45. drivername = MySQL中
    ) C0 i+ _3 l0 a4 {" E
  46. 数据库=测试% q; F, K2 P. x/ K, U3 l! z
  47. 主机=本地主机* A, M- Z' q* n2 U# ?5 J, g
  48. user_name = testuser
    - O7 C8 m6 ^* W( j5 x1 U, E
  49. 密码= my_password ! x2 S: D* r  L3 @3 h) b& J& N6 F% _. J: k
  50. getdriverfunc = getsqldrivermysql
    3 J; _: l: A  o$ P3 B4 L$ d
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    , S, g: D4 v2 U6 a9 P
  52. libraryname =. / libsqlmy.so
    2 Q5 \5 F; F7 `
  53. 积极= 1
    / }% t) o5 X. }
  54. ---例如---
    4 }& q9 p3 g" u! a: `& X
  55. ; U& s3 P$ |* x6 l: g/ X
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ) B5 U% ~; \1 e0 J" O( G& s
  57. ---例如--- + y0 o' h1 ~1 V. b7 ^
  58. [ dbexpress ] - I$ Z1 U7 e/ U  r9 U; J6 T
  59. sqldir = mysql_sql $ W) g0 }. [" Z0 l/ A6 b9 O, ]
  60. drivername = MySQL中2 x2 A# q/ \" m
  61. 数据库=测试
    " e+ _% `  J" k+ l( V
  62. 主机= 127.0.0.1
    6 y% h8 Z# e0 B( _) ~
  63. user_name = testuser : {! ^, |) x2 |
  64. 密码= my_password
    + d5 ]0 N1 ~9 d1 i8 y# A
  65. getdriverfunc = getsqldrivermysql
    % s  E8 z% T$ H& m. j1 w) Y
  66. vendorlib = libmysql.dll在
    + ?8 J  p% e" }( I1 Z( T3 U' z. W3 n
  67. libraryname = dbexpmysql.dll
      K- w3 v' }# K
  68. 积极= 1 ; d( ?3 X6 R0 e* R5 T
  69. ---例如----   o+ T. v% s9 L
  70. -写在0 2.03.04由p wk.linuxfan- Y* s3 a5 S8 n8 a3 {$ m
复制代码
发表于 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 words5 U0 J5 ?6 Y0 |5 O  m

- p0 u: q3 q: P* abut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-20 13:47 , Processed in 0.104499 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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