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

2372 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
$ x3 S) @  W: L& b8 Z- C. y5 Z2 m* C/ I' u, P* Z
  1. 4 l# I) b: k( T% b: g+ G
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    0 n- G9 ?/ K1 Q
  3. ; D. N" G+ ^. Q. w
  4. ### What we need ###( |! F+ K  b( Q: \5 I( g/ \
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ; `/ z$ Q* c/ E$ s6 n5 e' F' W9 n4 R/ T
  6. will not explain how this can be done - there are documents out there for the
    ' r3 i5 s+ Q) B' \- s
  7. interested. The requirements include a (empty) database for TeamSpeak to use& Y- w; a  m- m! V! i. L
  8. and a user account (username + password) that has the permissions to do stuff% }9 Y  ?; @& }
  9. with the database. Additionally, you will need a vendor library installed on the8 i  Z: s* p; W% ~' J( p
  10. local machine, this came with my MySQL install.
    3 o, [6 ]0 j+ S5 m6 ~6 d
  11. These instructions will not tell you how you might transfer your data from the
    % S3 |# b; D9 J/ `- x, U
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    4 X" A5 y0 e7 j$ e9 K+ Y# o9 W. e7 n# A
  13. database.# M: y3 a6 e6 @% D! k& K$ M
  14. Some users have reported ways to import a SQLite database into MySQL, but at* O& B6 W6 W( _
  15. the time of writing, there are still too many issues - check the current status: O& m  R2 H$ z: G5 z2 p
  16. in the TeamSpeak forums if you are interested.. N) ^  k, M0 p" j
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from  V  A/ }1 j) y3 i" l2 F& x# u
  18. Borland was used. This driver can only interface with the client library that 7 f' w$ F5 F7 H7 p
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    4 t' s8 D3 {8 r6 K  ~
  20. client library - basically all you have to do is to use a 3.x client library as
    % X- s  z/ d5 j0 m, X' n$ P2 k
  21. "VendorLib" and a 4.x database to connect to.9 b- E8 y3 H5 v
  22. If you need more info about dbExpress, you can contact Borland.
    / C5 k9 R; s2 F; v" W, [8 Z2 n* O
  23. * _2 ]: {5 U7 [1 t. ?
  24. ### Doing the work ###
    , }6 S2 f6 k' Y; `# d9 e7 H
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    " P, f5 z& Q. h4 Q. U) B$ x9 E
  26. the perquisites right, just open your server.ini file, and add this section at
    2 l( T+ [+ D* h( ]9 T
  27. the end:' ]8 Y6 c3 U. j3 t
  28. ---cut here---7 S* o0 |: ]5 }  e( u
  29. [DBEXPRESS]
    6 L6 k# k2 U" N5 L2 x
  30. sqldir=mysql_sql
    9 ?# o7 Y; w% O4 w
  31. Drivername=mysql3 k0 o2 J7 a4 Q1 y" T
  32. Database=Your_Database_Name_Here7 D1 X* P0 L$ d0 s5 f# ]
  33. Hostname=The_PC_the_MySQL-Server_is_on
    8 |8 s; |5 m- K* G
  34. User_name=User_name_on_the_MySQL-Server
    2 x, j7 ~( F) w
  35. Password=Password_to_go_with_above_user_name
    8 |; z$ B1 E3 {5 b9 \) u
  36. GetDriverFunc=getSQLDriverMYSQL
    $ s8 F3 q  L$ [& [( \( }
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib0 U& |7 k' P) r/ }: E2 R- \- @$ r
  38. LibraryName=path_to_libsqlmy_libary% H5 q2 U9 T  g. S1 Z' B+ c
  39. Active=1+ @2 ^  o* g+ [% S: N% t: S
  40. ---cut here---! y$ r  ~# y+ k' J" T& G
  41. In my environment (a linux box with a MySQL server running locally) I have:
    3 t. D: a$ Z, ]. x
  42. ---example---) W4 H3 D, M! O; E5 Y/ d
  43. [DBEXPRESS]
    5 p# E( N. U$ R! N- r
  44. sqldir=mysql_sql0 Y9 n% j7 R1 J4 [( k
  45. Drivername=mysql
    , V. ?  u, f/ \" G3 K  B( d, k# Q" o. w
  46. Database=test% Y$ N& u- m, f7 M
  47. Hostname=localhost
    ; ?. B7 [. V4 ?. Y
  48. User_name=testuser* {; O, f5 K3 {5 A
  49. Password=my_password
    ( I$ o! ^+ i; |+ c6 G
  50. GetDriverFunc=getSQLDriverMYSQL8 F% u# \' F/ H
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    & [$ S! p1 p5 o+ @' t
  52. LibraryName=./libsqlmy.so
    , G/ n' C5 w0 X. Y
  53. Active=1
    " Y/ }  t' M; f0 O
  54. ---example---  H( _3 S3 p, ~) {# F- z

  55. 4 K8 O, c, s  {$ g
  56. On a windows box, also running the MySQL server locally, it would be:
    2 }& ^. q* J9 o3 B2 X
  57. ---example---
    0 ~2 x0 N9 Z% f- x7 F
  58. [DBEXPRESS]% n9 E# s! r5 h" \# S
  59. sqldir=mysql_sql
    + u( D) F" c- X$ X' _/ C
  60. Drivername=mysql2 C  a/ A/ z9 ?" ^( p
  61. Database=test
    ; L7 G+ `3 @+ i/ o/ h- W
  62. Hostname=127.0.0.1
    ! ?4 R5 {3 w$ |: T
  63. User_name=testuser
    - ]2 W8 M/ {: `# Y" F2 e
  64. Password=my_password
    ' d% a4 l' @4 O+ ?' @% K4 H7 |
  65. GetDriverFunc=getSQLDriverMYSQL3 @; ]* A2 o% U7 s
  66. VendorLib=libmysql.dll# B: r1 U" v* C; `7 D+ N
  67. LibraryName=dbexpmysql.dll! C' p, [& |% C4 _
  68. Active=1  l0 W: T5 \6 j; R* {& g" ~: f  e
  69. ---example----
    & s7 J, {7 H9 @+ o) q7 G1 q
  70. - written 02.03.04 by pwk.linuxfan5 U9 B. G, x& R9 x+ Q( O

  71. 6 w8 v$ b6 G- y8 Y* s' u: x
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
' m! d5 H( k+ h  L) I* J1 u

  1. , B: z# x+ x+ y. i4 n3 a9 C
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### $ u3 [5 O/ ~& L  `
  3. 2 v5 S0 N/ @9 T
  4. # # #我们所需要# # #
    0 z! z) h, c( l# g
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    2 ]! R9 J6 z8 ?- Q
  6. 不会解释如何做到这一点-也有文件存在,为! U) [8 f" x9 x' N  a0 P2 t# n
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    8 K3 Y$ B) T; E& Q, U8 l  X
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西. v# t3 ?" M! V7 x2 d% l
  9. 随着数据库。此外,你需要一个卖方图书馆安装于5 R) S0 l8 H4 I. U& l; p$ P' e
  10. 本地机器,这是我的MySQL安装。
    ( e. r" s0 _4 Y4 C( Q7 H
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    0 ?; u5 O$ [- N9 j; ~5 d; u. h8 g
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    $ h* g4 t5 s; u' a! E
  13. 数据库。 * v- W  }: Z' D9 f3 i7 _, @
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在+ s% q4 Y9 ]% p
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ; K5 W; z, r" a1 S1 ?
  16. 在teamspeak论坛,如果你有兴趣。
    ( C7 G/ r# P$ s. \: e
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    6 H/ G* C$ g1 i  E0 Q% ~; W
  18. Borland公司使用。这个司机只能界面与客户端库
    ' v& Z* F/ m( }$ k" e
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    9 u: Z1 \# K& K" A' W
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    7 ]7 R# R) x) X, c( V1 o
  21. " vendorlib " ,并解数据库连接。
    / q" b$ ^0 \2 M  S8 M% V7 ~: C
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    3 D/ }- M7 g0 q4 x' h( L& L

  23. 1 e) y3 [3 X. I3 j* N
  24. # # #做好工作# # # % }% ]" G! G$ E$ P, f
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都+ b# _) X5 B' {4 t% z3 |" n
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    9 _* T+ u: f$ t7 c# I! M5 ~
  27. 结束:
    % K, q! G) w2 a
  28. ---削减这里--- % Q* z7 _) a' s
  29. [ dbexpress ]
    : Y6 `7 D: Q; E1 n8 N
  30. sqldir = mysql_sql
    : \0 R* h! N5 Y# E: p3 p, }9 h
  31. drivername = MySQL中
    , N! S2 P- s3 E+ |
  32. 数据库= your_database_name_here ) j( L3 S/ J6 [- o3 D# D* I& {/ E
  33. 主机= the_pc_the_mysql - server_is_on
    & C; N  F+ ^7 @4 L- C8 v! O' _3 W
  34. user_name = user_name_on_the_mysql服务器
    1 F, }( c6 n" {: n% z
  35. 密码= password_to_go_with_above_user_name
    7 ]) N' a. T9 M( Y* I
  36. getdriverfunc = getsqldrivermysql
    , X8 M' V3 H3 E, ?4 C7 C/ C% a
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib - u, E# L- U& _4 z: F& m7 f2 z
  38. libraryname = path_to_libsqlmy_libary - C. z. H  L7 D1 B( r1 f3 I$ `
  39. 积极= 1 8 Q: ]1 O" m  ^2 |( A
  40. ---削减这里---
    6 g9 p8 |" E2 W- K/ l- N5 R) ?- R
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    + Z2 U/ e& q* T3 I
  42. ---例如---
    3 j; L5 h! ^2 J4 `# ?) p4 L0 v
  43. [ dbexpress ]
    / `0 C9 h$ S" U3 M
  44. sqldir = mysql_sql / T, f# A3 R  T# P
  45. drivername = MySQL中
    / r: R; |* b( s5 m' ]1 u/ a' q% B
  46. 数据库=测试
    : y' @  ]. Y/ X4 C
  47. 主机=本地主机5 V- p5 c4 O4 G2 t$ a% S# R
  48. user_name = testuser
    7 a( a: D, q' j' y8 a
  49. 密码= my_password / q! E# B0 P8 e8 ]4 ^, p
  50. getdriverfunc = getsqldrivermysql
    " m7 C. ~, I1 o/ u0 X
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 - t3 a; u& j5 r" J8 h
  52. libraryname =. / libsqlmy.so
    # F  t  A: N. i: M1 V
  53. 积极= 1
      l6 a' P2 p) f1 _
  54. ---例如---
    ! u; @1 W' f( _- l* r6 F& I5 T

  55. + r- K" o! D, T3 `3 L
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    % h2 e: `( l7 b# ?' u
  57. ---例如---   e8 {$ M' s( J3 T1 t
  58. [ dbexpress ] & P! i# D3 N& S% X: j5 Z; p7 E- x
  59. sqldir = mysql_sql # {; N0 l5 V$ d
  60. drivername = MySQL中
    / m: Y  w* ^& k$ h* A/ K
  61. 数据库=测试
    ! P; }) k9 t! P; h9 ^. I
  62. 主机= 127.0.0.1 1 Y. _0 \* o9 Y
  63. user_name = testuser
    0 }: H9 y4 g/ e
  64. 密码= my_password 8 G4 \8 @4 E3 v$ P! o
  65. getdriverfunc = getsqldrivermysql
    6 Z) a7 k, B4 ]/ b6 L4 h4 l% O
  66. vendorlib = libmysql.dll在
    . Q, M/ I( T) u' K
  67. libraryname = dbexpmysql.dll
    + J8 z( l- e% E+ G1 a' o8 j/ v
  68. 积极= 1 * R) G: K7 t/ i8 n
  69. ---例如----
    1 _2 K* O% X- I: _6 ]+ o  i
  70. -写在0 2.03.04由p wk.linuxfan
    . _% h& W8 T8 y+ n' T
复制代码
发表于 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
+ u) J. G  R& P% ]& O
( z8 ~6 A( g) E& k) Ybut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-10 06:23 , Processed in 0.092224 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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