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

3138 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan " h8 X$ f) T  u7 O$ Z/ t
5 @: ~& l' ?3 ?' q: Z9 Z
  1. 8 d6 Z4 k3 r- A) C, ~' s, u
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    + b# T. d7 h+ }0 W* P
  3.   G5 e( l; A8 Q0 m4 U0 q7 _
  4. ### What we need ###0 q& s3 E; _& @9 @
  5. Naturally, we will need a MySQL server to store the data for us, this document
    + a% `8 Z! e6 i1 t
  6. will not explain how this can be done - there are documents out there for the
    , m+ O1 Q" s3 {! _2 f8 k  |
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ! W0 m8 I2 Z, R- [( |
  8. and a user account (username + password) that has the permissions to do stuff
    & r. f; N& M) N2 g+ m9 ?
  9. with the database. Additionally, you will need a vendor library installed on the
    " M! u7 |1 B9 D" }# G. u: K
  10. local machine, this came with my MySQL install.
    - ^  C# |6 z0 A
  11. These instructions will not tell you how you might transfer your data from the
    ) L2 F1 b" D1 L- Q: R* |
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL9 G3 m, y1 k; d: }4 y. J
  13. database.
    1 X4 D: L8 F5 p
  14. Some users have reported ways to import a SQLite database into MySQL, but at9 R+ R% [3 d* |8 _% d6 Z0 b0 N: V
  15. the time of writing, there are still too many issues - check the current status, a$ C: m2 j0 J8 ^* G! N
  16. in the TeamSpeak forums if you are interested.! V4 d0 P# H/ h9 @
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from, l# [. l( m, H1 E8 a
  18. Borland was used. This driver can only interface with the client library that % V7 W2 {7 w) T6 R+ O. m
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this1 G6 Z1 W1 U2 g
  20. client library - basically all you have to do is to use a 3.x client library as : @1 J( L$ ~5 @' q9 ^
  21. "VendorLib" and a 4.x database to connect to.
    : D' H4 C( n3 k! @( o
  22. If you need more info about dbExpress, you can contact Borland.2 h7 s! a% d0 S9 B3 a
  23. 8 F& F! ~: k' C. l' K+ X' Q/ J* G
  24. ### Doing the work ###
    + w0 ]6 I4 d# i- \; j
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    7 O# @% g( }8 j" q4 M4 r$ a
  26. the perquisites right, just open your server.ini file, and add this section at
    ' b& o/ d& m" B1 d% e7 [
  27. the end:; b0 A; Y9 j  @6 E1 N" I8 S
  28. ---cut here---
    * F) H, Z" a: a6 r+ o
  29. [DBEXPRESS]
    + V) `3 w" T8 K( r
  30. sqldir=mysql_sql
    9 \+ Y  V, {8 h+ g2 o0 Q% s% `
  31. Drivername=mysql
    0 W3 x; Q1 U" S4 E  D! y7 _: L+ U
  32. Database=Your_Database_Name_Here8 `5 S3 h- d2 `& M2 Y# p2 m
  33. Hostname=The_PC_the_MySQL-Server_is_on$ y: l) ~2 J+ O6 i; E+ X" N
  34. User_name=User_name_on_the_MySQL-Server- {5 G! J& o( Z  Y) I8 G" B2 M
  35. Password=Password_to_go_with_above_user_name
    9 l9 n2 S1 C/ J. j
  36. GetDriverFunc=getSQLDriverMYSQL) ~  G" j- y( U! m
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    $ ]- C' E) ?0 l: D  X
  38. LibraryName=path_to_libsqlmy_libary, G, U7 a7 B  ]
  39. Active=1
    " J" L* n4 Z8 s' F4 m
  40. ---cut here---
    % R' c& v0 Y5 q, R' x- F
  41. In my environment (a linux box with a MySQL server running locally) I have:
    2 N6 V1 o" [) e# \7 a8 |
  42. ---example---" W! r. ]" H5 ]- Q
  43. [DBEXPRESS]+ w' l& \* e% G, A* O6 G/ V; N
  44. sqldir=mysql_sql( p3 U# M7 Y0 Z! c% ^; G3 m1 k, V' p0 t
  45. Drivername=mysql
    * f- X& j- w2 Y" Z/ C! p) g
  46. Database=test9 ^: z, V/ U8 n! U7 X
  47. Hostname=localhost- g, Y" b1 h) }
  48. User_name=testuser) i, `2 |7 M; T  s: \0 |) L
  49. Password=my_password
      S& ^7 G" q5 M: c4 q2 G$ d
  50. GetDriverFunc=getSQLDriverMYSQL
    & P& q4 B- [  u# S8 o( w
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0. S- m$ J2 Z5 D# n" u" |/ l' x# g
  52. LibraryName=./libsqlmy.so
    ; O% G. x' ?3 B" t0 @! z9 k
  53. Active=1
      h1 _4 C+ S, W0 Z/ [) N
  54. ---example---
    7 v; I9 @# F9 B$ @
  55. , v7 @  R  i3 V/ B0 g4 B
  56. On a windows box, also running the MySQL server locally, it would be:
    3 T( J  Z+ O6 `# Y. i; [4 k" j
  57. ---example---5 ]/ a1 F  \/ I! \( ?. h7 i: j/ D
  58. [DBEXPRESS]5 K1 y' {6 ?# M& b9 v: L
  59. sqldir=mysql_sql3 m/ R1 W; M6 K
  60. Drivername=mysql3 F/ u$ a; r, t. V) a
  61. Database=test+ e3 H6 o  ~/ a4 j, n9 ^0 @8 ~% |3 h
  62. Hostname=127.0.0.15 ?- G7 e- d8 K  u+ w) f" a+ ^
  63. User_name=testuser1 d0 Q3 d! |" y6 Y4 ^+ U- V
  64. Password=my_password
    2 P8 X( I7 @" S! B" C
  65. GetDriverFunc=getSQLDriverMYSQL
    * x; ^0 t0 |; K/ T: k; e
  66. VendorLib=libmysql.dll* _  K9 m5 K! Q: v' W4 O
  67. LibraryName=dbexpmysql.dll
    4 l/ n8 Z; r3 A& F, S  E' g
  68. Active=1
    ' R) L3 z" D9 r8 Q/ v& Q
  69. ---example----. c( j% }( x* v$ v' \- A" g
  70. - written 02.03.04 by pwk.linuxfan4 Z7 G+ S, V+ ~  @
  71.   v: a- Z) t! L
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
3 s. S: @6 E& W

  1. ; H1 k3 W& K! n+ R( x6 M
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ( I; L, O6 _! Z3 l
  3. , f  B5 G* F. d! G) M
  4. # # #我们所需要# # # 8 L+ Q( v9 V6 G! F% S% M0 l
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件  \# U$ ]# V9 s" l+ X6 a- ^
  6. 不会解释如何做到这一点-也有文件存在,为1 @! m+ k" \8 ^8 T. K9 M
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    & d0 M0 G7 N. g- q( n8 z) l6 {& p
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    7 D) L( L3 v  r0 p* o: ]' t
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    % M2 Z4 H7 U" U+ _6 S1 |5 B
  10. 本地机器,这是我的MySQL安装。
    ( }6 h2 C6 C3 S& c) H
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从$ }. b2 X* l/ k9 A- c) W
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
      N3 Q3 N" \9 U: S; p" W
  13. 数据库。
    & {: o3 k# }. j& K* X8 E
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在8 a' W& y7 j# p9 e& ]
  15. 编写本报告的时候,仍然有太多的问题-检查现状/ [9 i8 I) h/ I8 r' O
  16. 在teamspeak论坛,如果你有兴趣。
    9 T* l. s7 }* |  g/ \
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    3 ^- E- I# {, ]
  18. Borland公司使用。这个司机只能界面与客户端库. ~8 Y9 ^+ ?! A6 X5 Z/ |" H5 O
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这7 h) z8 Z$ D5 D, T$ H) q/ P( S2 Z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    . u+ A( N' @( o9 q9 _
  21. " vendorlib " ,并解数据库连接。 6 f* }0 @, o* A1 @5 r
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 4 F5 \5 L. N* W1 ~

  23. + K( B4 u) p8 {3 B% T( F
  24. # # #做好工作# # # $ v8 K/ ?3 ^8 P; R* I; a" \
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ) @6 U$ W4 S! d
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    7 R# v+ X$ W! f# E
  27. 结束:
    0 w, x3 m' M, i3 i( ~
  28. ---削减这里--- / M# B, x' i9 _
  29. [ dbexpress ]
    ( b# `' n: L" h% m' Z3 j$ A4 H
  30. sqldir = mysql_sql $ p4 f! _9 f+ D) x9 e0 ~1 G$ I6 s
  31. drivername = MySQL中, W0 I: d- y- `* A2 H& v6 K
  32. 数据库= your_database_name_here
    ) J) D, S8 t& l- J2 L4 y; X% ]
  33. 主机= the_pc_the_mysql - server_is_on   n- ]  q/ N! d6 B- O
  34. user_name = user_name_on_the_mysql服务器
    " L3 c% f% A; i$ d
  35. 密码= password_to_go_with_above_user_name 1 I$ \& _) Y% C" L# p% N
  36. getdriverfunc = getsqldrivermysql 3 E" n2 G' a2 t3 e( K# {) y/ U
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    : I+ v: Q( @+ c$ f5 e6 ?( Y- @
  38. libraryname = path_to_libsqlmy_libary   Z. a" }8 ~: @7 O
  39. 积极= 1
    , {9 B" M1 U2 ~0 X
  40. ---削减这里--- % l0 ~  z7 X8 O1 {7 n1 G
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    $ S" f8 c3 @2 r/ ^9 J+ u
  42. ---例如---
    2 k% O' s0 ~6 ^. g& y
  43. [ dbexpress ] 8 y9 ^' Y/ L- k0 s2 @6 ?* w. {
  44. sqldir = mysql_sql
    " z2 I/ T0 ~2 _
  45. drivername = MySQL中3 n% `  \) V  V
  46. 数据库=测试- Q: d- C5 @# W0 r; p: t  w& `
  47. 主机=本地主机
    / r' p, T, F' J% g
  48. user_name = testuser 2 h: p) `5 F: b) @( V
  49. 密码= my_password
    ) r! ~7 y8 X! @
  50. getdriverfunc = getsqldrivermysql 0 ^; E3 {3 S6 J
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    8 k2 `1 `3 y, t7 o
  52. libraryname =. / libsqlmy.so . ^6 [: P2 r! f8 R$ g
  53. 积极= 1
    . Z! m. N3 G9 L, f
  54. ---例如---
    : P( M- m; l$ \; C, Z( V. s7 W
  55. ! D) V5 ?2 a8 x1 `' j- W7 d3 ?
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ) M4 X% v# L3 j) e6 W+ ~
  57. ---例如---
    ; o8 g8 q# [8 {) `. B  d3 m
  58. [ dbexpress ] " S: S2 F: @+ L) j& i
  59. sqldir = mysql_sql
    5 \" f1 m2 [/ n! G
  60. drivername = MySQL中
    $ P) o& }; S5 Q% r' y. _
  61. 数据库=测试
    . U: X8 {+ S  l5 J7 t
  62. 主机= 127.0.0.1   `/ |; {1 c) D! n6 p3 k; `
  63. user_name = testuser
    ; R! j5 k' ^3 r6 }
  64. 密码= my_password
    $ ]2 c1 ~; ~& i
  65. getdriverfunc = getsqldrivermysql " H* T$ I; w$ {1 @2 \! u# n: q' U
  66. vendorlib = libmysql.dll在! X' N& x. n! w. C$ P
  67. libraryname = dbexpmysql.dll
    7 E& ]. e* F) R- X: t& }4 [) t# f
  68. 积极= 1
    . Q; J+ |' D+ K' H% o
  69. ---例如---- 0 b- S/ R2 ?0 B8 }+ k
  70. -写在0 2.03.04由p wk.linuxfan
    " P+ v0 F8 Z. R# a& |" F3 n/ P
复制代码
发表于 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 ~6 h( `& Y+ {$ Q1 ~7 o1 Q; a

3 R) W8 ~; B; H! W( B1 t7 }but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-9 09:56 , Processed in 0.097487 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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