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

3293 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 8 e& s9 F/ q+ g6 n. P0 ]

" M+ |; C% z. |9 q" c
  1. 6 @5 Y$ a( `# ]2 l5 b' y
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( _3 Y& P6 }1 b8 m6 S, E# U  A

  3. ' r; a( ?5 G' k/ `6 k
  4. ### What we need ###  X# D! F$ E8 u; Q. _0 V6 J5 J
  5. Naturally, we will need a MySQL server to store the data for us, this document 9 T: c  o6 S# w% {
  6. will not explain how this can be done - there are documents out there for the
    $ g7 S+ ~' k# d* m3 X
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ( U" W' n* q" Q# G1 R
  8. and a user account (username + password) that has the permissions to do stuff
    - a; Y" `* V) b3 m( ]9 L/ F; n+ ?
  9. with the database. Additionally, you will need a vendor library installed on the) h+ m5 |$ T, r4 ?' u9 X
  10. local machine, this came with my MySQL install.! j$ l& H! r$ Y8 U" w& z/ |
  11. These instructions will not tell you how you might transfer your data from the* {+ c2 p' {2 H
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    3 E1 j9 N+ c/ I
  13. database.
    1 u3 A8 q' @2 V0 `1 {% q0 c
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ) d9 p% j! c) W2 V
  15. the time of writing, there are still too many issues - check the current status
    1 L2 Z# W$ u: U! K3 x' S: i
  16. in the TeamSpeak forums if you are interested.. Y# A/ |' h6 Y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from' d6 |, }# L  q2 a  j
  18. Borland was used. This driver can only interface with the client library that
    " R: Y* ^  {9 _- Z; v
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    5 G. V! @: O' e
  20. client library - basically all you have to do is to use a 3.x client library as : f2 I% a" A: `0 ^* G
  21. "VendorLib" and a 4.x database to connect to.
    8 A- W! |% i+ a$ I( I$ f7 P
  22. If you need more info about dbExpress, you can contact Borland.8 o) d- X* Q7 _* p) I
  23. 6 v  ?9 o6 J& y0 \: y! q
  24. ### Doing the work ###& H8 ~" [3 M; s) @+ f
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    7 B$ @5 t9 I: Q6 l% o! F7 v+ ?
  26. the perquisites right, just open your server.ini file, and add this section at+ C% b( P, ~  H2 Z( d) x- w$ u& f
  27. the end:
    ( P+ f# @/ R0 r+ q9 {/ a  S1 q
  28. ---cut here---% l7 L. J, y  h2 O9 x
  29. [DBEXPRESS]
    & a0 Q0 w- V: j
  30. sqldir=mysql_sql
    2 \! R. j3 X$ W5 {9 C3 _3 Q/ F
  31. Drivername=mysql
    + z# g1 S  V! l1 n/ _  B
  32. Database=Your_Database_Name_Here
    $ X* `7 K8 `; I' [
  33. Hostname=The_PC_the_MySQL-Server_is_on
    # ~* b$ b" W/ S* r' Z$ U# c- A& j( z
  34. User_name=User_name_on_the_MySQL-Server% t( ?/ h! Z& F0 R
  35. Password=Password_to_go_with_above_user_name5 X: X8 `% v6 N
  36. GetDriverFunc=getSQLDriverMYSQL
      i5 C: |% [+ f2 J
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib4 V9 [3 o6 w- ~, w
  38. LibraryName=path_to_libsqlmy_libary& }& W8 b5 t9 h% s
  39. Active=1! _5 t  G( O: T" U
  40. ---cut here---
    8 W9 G. J# C2 T) a
  41. In my environment (a linux box with a MySQL server running locally) I have:
    6 `  N& b" K1 [/ a. l
  42. ---example---
    / z6 N5 F) l, r8 \$ X, o' I1 c
  43. [DBEXPRESS]) q0 \6 m7 ~4 n( I0 M" s
  44. sqldir=mysql_sql
    , M2 o' w3 W; X  A3 f2 ~
  45. Drivername=mysql7 g2 q# q9 K! \* Z# P# G
  46. Database=test$ t& E  [1 m3 o$ z+ ^
  47. Hostname=localhost6 e8 f- Y- Z2 o* f4 v
  48. User_name=testuser& a) Q! ?. G/ I
  49. Password=my_password
    3 g' ^. X* m5 Z. J. s1 @
  50. GetDriverFunc=getSQLDriverMYSQL8 }4 m7 {+ o6 c0 p3 Y
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    + \+ }4 Q' a, J8 s8 y0 f& S
  52. LibraryName=./libsqlmy.so. G. ^& V2 P& {8 [" m" }: y4 x. E
  53. Active=1
    " b- O2 h/ g2 g9 p
  54. ---example---
    " A4 o) a0 a# M7 w. T! O. }
  55. 3 V% I: z$ b7 h  D* ]
  56. On a windows box, also running the MySQL server locally, it would be:
    : v' F7 [* ~8 [9 y) o" D) e
  57. ---example---
    ; Y: G. f6 {- S- S. y$ _0 A
  58. [DBEXPRESS]
    5 \* M6 z; m0 j6 g6 U- S6 ]. b
  59. sqldir=mysql_sql
    ) s6 ?- |* q$ z
  60. Drivername=mysql# U" L0 Q! l9 b+ M8 K
  61. Database=test
    6 c/ u) H' N4 I' z6 Q
  62. Hostname=127.0.0.1
    + {7 J9 k5 h' f( l
  63. User_name=testuser
    . t0 h6 Z2 H) B* K3 m5 C
  64. Password=my_password
    4 [% M  w1 }2 O0 n7 u& G
  65. GetDriverFunc=getSQLDriverMYSQL7 O) I; X" X) U" g
  66. VendorLib=libmysql.dll! J8 ~- ?! Y0 B  o
  67. LibraryName=dbexpmysql.dll% r+ @, K$ r; \, ^) ]7 r$ t
  68. Active=1
    1 l, d, b! X! N9 _2 |" {
  69. ---example----; ~5 S8 A7 s# p/ m5 Q# S
  70. - written 02.03.04 by pwk.linuxfan
    7 C& z* L' B, S6 X8 a

  71. * s. u' Z. k4 W
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
4 s) p6 {9 m6 L8 i1 g, ]+ M
  1. 5 [+ w3 v. k/ B, I5 z
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### & h% \' \; I; ?' B" w6 d
  3. 5 f+ g8 [# N0 Y7 e# w/ d  J
  4. # # #我们所需要# # # , U2 E2 U; `$ B
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ' r' _" G8 V6 t# I
  6. 不会解释如何做到这一点-也有文件存在,为
    1 |1 J2 _3 _' `  f6 M0 r! M
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用6 z9 m% |8 a/ l: K
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西# a9 U4 r" j3 |( l# A
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    9 B# Q; {" @2 X/ j
  10. 本地机器,这是我的MySQL安装。
    ( q) e8 ]' }. U& b& W9 S
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从* X/ g  o9 U$ s+ W
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 1 f. o) z9 h! o- d6 d; U
  13. 数据库。 ( ~" I6 y# A; M* _' w, p1 x) N
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在% [* a: U: Z& c# x/ j
  15. 编写本报告的时候,仍然有太多的问题-检查现状9 G; l4 G* V- v9 G, l1 K) M/ e
  16. 在teamspeak论坛,如果你有兴趣。 - g# }* p% a$ |' ^! B  s5 Y, n
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    2 F' ^8 D* y7 H& U
  18. Borland公司使用。这个司机只能界面与客户端库
    4 i' z& q; w0 r* X' k
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这. U( f" p! {$ j4 w- R* o* d
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为, a7 f- s& _# j: j
  21. " vendorlib " ,并解数据库连接。
    ( F# {6 N8 {# v7 f% W- G6 U
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 4 Z3 Q! J; l  d; P, i% x) f
  23. 3 ?- A8 H% T% w: c7 n
  24. # # #做好工作# # # ' p+ ?4 @7 s5 F, D. ?& W
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ! Q9 P  ?( M7 U
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    8 `) g  U) }2 f' ^
  27. 结束:
      Q3 R6 J5 I5 ]$ B0 K) X2 m
  28. ---削减这里---
    $ q! l8 j5 g; }
  29. [ dbexpress ]
    , n% b1 |2 x) {
  30. sqldir = mysql_sql 9 `8 O' Q; L. ~4 a4 T) V9 S
  31. drivername = MySQL中$ k$ V3 t& e$ c' A% T
  32. 数据库= your_database_name_here
    8 G9 {% q% x: b/ m( P2 r0 z9 l& @
  33. 主机= the_pc_the_mysql - server_is_on # h3 B$ L* _2 O" T; e
  34. user_name = user_name_on_the_mysql服务器
    ' [( K7 c2 k; Y1 i# C
  35. 密码= password_to_go_with_above_user_name 6 n' g$ k" ?% b% L- [9 x" [
  36. getdriverfunc = getsqldrivermysql
    % n$ K$ R3 ?6 B* K
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib " {* ~! z$ L; J) F& h
  38. libraryname = path_to_libsqlmy_libary
    7 F0 A* n5 Q; q# F+ Z+ o
  39. 积极= 1
    & ^9 K# Y2 r, N- `6 P
  40. ---削减这里---
    7 @. e* W  _# J2 b$ g
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: % ^' H$ w$ s. N: C/ ^2 M" X( n
  42. ---例如--- 1 d3 R6 D  e# I4 Z! ]% v8 y
  43. [ dbexpress ] ( C3 v6 U" ~$ ^; ~# e- L) S% d
  44. sqldir = mysql_sql
    4 m" ]( J0 T  B; R" X
  45. drivername = MySQL中/ f1 w5 k$ ]) i% \" O8 {8 A1 j* O
  46. 数据库=测试5 o- o- L( a# E5 c  @% W
  47. 主机=本地主机
    0 V4 E9 y/ J8 o0 ]" G; k
  48. user_name = testuser
    2 ?$ D7 E1 T: l  ~9 e
  49. 密码= my_password
    ; n: F) y2 D" b5 o, C+ H8 Q
  50. getdriverfunc = getsqldrivermysql
    5 L; V0 Z2 D+ s) w- h
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0   W7 i+ V" t2 I  T7 ]: Y
  52. libraryname =. / libsqlmy.so " o* ]% h. a# P
  53. 积极= 1 1 Q/ J  s: V2 O% Q
  54. ---例如---
    & n7 X+ J8 r. p4 L

  55. 0 f$ ^: W, N  h& c4 d- j  |
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    8 L3 B  K( f% S1 L- w* w- h3 Z  W
  57. ---例如---
    3 z( O  O, z' x) A2 D6 O  m
  58. [ dbexpress ] 9 B: O9 L. {* |. p) K7 \* F/ E
  59. sqldir = mysql_sql 4 J" E& P5 \$ T, p2 U( _* a
  60. drivername = MySQL中/ W2 u" s6 }$ g* T
  61. 数据库=测试' ?9 s4 u5 b. u; \
  62. 主机= 127.0.0.1
    5 y1 \- ~& ?- \: B+ K
  63. user_name = testuser
    & u" v) e5 l2 `9 _
  64. 密码= my_password ; C  w7 U1 f' d2 A" B- z
  65. getdriverfunc = getsqldrivermysql
    6 W) E, @: C; U& o
  66. vendorlib = libmysql.dll在4 f, X3 n: ~$ j; c* N+ S7 T( W
  67. libraryname = dbexpmysql.dll
    , Q( R0 Y0 u6 x3 H9 Y5 z
  68. 积极= 1 7 G. r: V/ n+ J) ~; i. u
  69. ---例如---- 3 }" P/ \. y: H, L
  70. -写在0 2.03.04由p wk.linuxfan
    7 Y( M4 B) b( l' z; D# 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 words
0 e9 B" k% J8 ?) e7 V/ s" w3 y2 }# R. r3 G9 P" t
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-5 23:18 , Processed in 0.086901 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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