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

3604 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
1 w$ ~2 a0 @2 O& P9 n
; H8 U1 F1 `5 p" a
  1. 4 x" k- j; z7 T7 I! l, U7 |
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    . Q4 o) C+ V. y. U- w/ x, h

  3. 8 H1 q, r: Z: F8 i+ \
  4. ### What we need ###
    4 m7 H( \& \2 `( _6 U
  5. Naturally, we will need a MySQL server to store the data for us, this document ( {5 }% ]/ D0 ~0 p; w, {
  6. will not explain how this can be done - there are documents out there for the
    : i* I! I* ^7 m: t
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    . j$ `4 S4 r$ f1 f3 U. w5 S, e. q
  8. and a user account (username + password) that has the permissions to do stuff9 x; r( U) X: S) v, e2 ^# \: l
  9. with the database. Additionally, you will need a vendor library installed on the( `6 p8 ~* }* q
  10. local machine, this came with my MySQL install.) e8 z6 Y% m9 t& d. ^& B
  11. These instructions will not tell you how you might transfer your data from the8 u) k2 T& E6 |$ @
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    8 [& S. u4 i" ?8 A0 [' G1 w
  13. database.
    ; B! j/ [9 W( p: D
  14. Some users have reported ways to import a SQLite database into MySQL, but at5 k' E( v+ v: v
  15. the time of writing, there are still too many issues - check the current status
    " Q9 o) F" Y# h, m4 }
  16. in the TeamSpeak forums if you are interested.( j  D! x! _7 k
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    9 c2 b. |9 j+ C/ ?3 \
  18. Borland was used. This driver can only interface with the client library that
    + Y$ ~3 l% j& {: S
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    1 C9 y' _' M: {
  20. client library - basically all you have to do is to use a 3.x client library as 6 s9 {+ W1 k6 W/ k
  21. "VendorLib" and a 4.x database to connect to.
    7 j1 U+ f8 b- u: C8 g- u
  22. If you need more info about dbExpress, you can contact Borland., F4 n6 U1 L; c3 X" P+ {$ x

  23. : X6 _. z  h# i  d( s- J
  24. ### Doing the work ###/ Q( O" e* [; T
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all' P3 w1 O' p: J$ E; H" _
  26. the perquisites right, just open your server.ini file, and add this section at- b  d) A! U+ c
  27. the end:5 x/ D' f) Q& s' \
  28. ---cut here---5 Y0 a! V) C6 h# m
  29. [DBEXPRESS], D# ], T% U$ C1 E
  30. sqldir=mysql_sql
    . D5 t# z0 I7 q, [# t
  31. Drivername=mysql
    - {- _; w4 i6 w9 L" [' |) C
  32. Database=Your_Database_Name_Here# {# g1 T7 a  F: i/ ^# W/ B; p/ Y
  33. Hostname=The_PC_the_MySQL-Server_is_on9 S% `: I# L# q) o
  34. User_name=User_name_on_the_MySQL-Server4 Z& z7 ^& T8 \* d/ X( H  p: G# g
  35. Password=Password_to_go_with_above_user_name
    ) a4 q' W+ d& d  Q' O4 X8 f
  36. GetDriverFunc=getSQLDriverMYSQL
    6 ]6 x4 i3 m( W( M3 a
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    4 d7 q# N% B; i: e; Y
  38. LibraryName=path_to_libsqlmy_libary& A& ?7 i# u7 X! }- n. J
  39. Active=1+ X# K! V0 R* J0 [% K- m
  40. ---cut here---% \( v' C/ v# o; J/ D+ K2 K
  41. In my environment (a linux box with a MySQL server running locally) I have:
    7 {: v# w4 o# `0 }  M% H: w! W
  42. ---example---- B: q7 ~6 C! ?' @# F# z
  43. [DBEXPRESS]
    ; i7 ]2 U& v  Y( c9 v3 n
  44. sqldir=mysql_sql
    1 @; W5 l7 I! N) I* b
  45. Drivername=mysql8 H$ _# V) }: w6 w
  46. Database=test6 x, [3 }2 n2 x# q" F
  47. Hostname=localhost5 v  n, K5 m  h  ?1 f
  48. User_name=testuser3 U6 Y* Y# D! C$ ?2 |: C1 d
  49. Password=my_password
    & J; b: Z$ m; M, H4 _' O
  50. GetDriverFunc=getSQLDriverMYSQL) a9 B) B4 O/ p9 L
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.05 X6 f" }3 O" X/ B% o$ j+ U
  52. LibraryName=./libsqlmy.so5 S; c: y; t! [7 ?8 r
  53. Active=1
    4 y: K% O; X0 T9 S
  54. ---example---
    * J; u/ i+ ^+ L0 `" u# p8 X$ P1 n

  55. ! c: z# j" N3 A
  56. On a windows box, also running the MySQL server locally, it would be:
    + \% L0 ?- |4 k" {
  57. ---example---! }1 j3 G4 X8 m5 T
  58. [DBEXPRESS]
    9 y. x: k! }' q/ [; x( y
  59. sqldir=mysql_sql4 _9 Z; C5 U" N  k- o1 [4 x! i1 X
  60. Drivername=mysql
    9 p3 }9 Z* T4 T0 H/ V, U. }
  61. Database=test
    ' D9 N2 ]" O0 ~- S
  62. Hostname=127.0.0.1
    8 |% P& t/ Q1 T8 C0 |7 s' M5 a
  63. User_name=testuser
    + `2 v% b0 C7 v' R; }! L$ {
  64. Password=my_password' `0 D* R; j  K2 N  ^
  65. GetDriverFunc=getSQLDriverMYSQL
    3 b% R# L( E! f* b. |; h$ M
  66. VendorLib=libmysql.dll
    0 W" S; v4 a( r8 o( L$ `" ^
  67. LibraryName=dbexpmysql.dll0 [$ ?( O6 p0 e
  68. Active=1
    5 f3 \1 ^9 F  f& c: W1 J
  69. ---example----
      e0 k4 Z% y* q+ n. z3 ?
  70. - written 02.03.04 by pwk.linuxfan0 q+ ]5 ^/ P6 B

  71. % A; i  K9 y0 Y  m. q; v- ]  A
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
$ \: E0 T* P( |' [  K5 X

  1. 0 M1 l" V# X, n
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    & S2 p3 P8 i+ ]" @6 f0 o" d

  3. 9 r) F5 a) R' j+ ~, Y& [
  4. # # #我们所需要# # #
    4 _* j: @0 X# B$ Q- i# }
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! _! w# H) Z$ k5 e
  6. 不会解释如何做到这一点-也有文件存在,为5 k: t2 S( f0 N+ I* S$ a( E  Q
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    & w& `" g9 c5 Y; Q
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西- Z% D  r" u, k- {3 }* q( ?& r
  9. 随着数据库。此外,你需要一个卖方图书馆安装于1 o5 Q9 N' g+ J4 p  o+ }
  10. 本地机器,这是我的MySQL安装。
    ) ]; ?) s3 B: v7 p+ A
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    + d) [2 C/ x, V4 ]. H- ]
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    * _$ ?+ E, d5 @3 [* o
  13. 数据库。 ' O) {6 G9 b" r+ \$ M* H, I
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    / e3 [+ G6 l5 ~9 [: w# l
  15. 编写本报告的时候,仍然有太多的问题-检查现状4 h0 S+ M- R* S- x+ F* t: R# y
  16. 在teamspeak论坛,如果你有兴趣。
    " R- e/ i  [. n; b& U1 h% M+ q+ T, U
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    6 N% t# F+ G, m/ Q9 [, s) S* R- R
  18. Borland公司使用。这个司机只能界面与客户端库
    ; V) v  @; m! c& m+ [5 d
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    1 q9 Y. }5 f4 m1 ^
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为# m- v1 L; [# E6 \) O2 ^% F
  21. " vendorlib " ,并解数据库连接。
    - y" L- m0 G: t- {; d- R. |' \
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ! U6 r: C1 j' k" c% X6 b4 }4 \2 p) H

  23. 0 x4 U0 P& Z" d& H
  24. # # #做好工作# # #
    / ]$ m+ V" Q/ ]/ q/ r9 Q  b
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都: Z+ z. U( K0 A% j$ V
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在, Z* X* A0 q) C2 {+ x/ @+ x! z
  27. 结束: % w/ n  a( c8 U4 |! V1 ]
  28. ---削减这里--- 5 a* N1 v. e2 W5 ]) {; X
  29. [ dbexpress ] * ?  v9 I) m. r" P! n5 p* P+ E
  30. sqldir = mysql_sql
    0 I/ f3 U. j  x* F$ R* k
  31. drivername = MySQL中: P2 @7 N) O' Q# {
  32. 数据库= your_database_name_here   }+ d: e! A" s! i8 p0 \
  33. 主机= the_pc_the_mysql - server_is_on 9 S. v! D8 N4 X/ Z9 `4 w
  34. user_name = user_name_on_the_mysql服务器
    ' q0 b) u( G, Q% k" j
  35. 密码= password_to_go_with_above_user_name ) m( @9 ^+ L5 ~/ W+ `0 T% x
  36. getdriverfunc = getsqldrivermysql
    " U/ s0 {6 g% A. ?, C
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ; ?. j! H0 C( k# q/ F% M# L
  38. libraryname = path_to_libsqlmy_libary
    # ?2 v5 ~2 W: y& I2 v3 H& i3 U. Z
  39. 积极= 1
    % }- ~  i  d8 D' e" r/ n4 z
  40. ---削减这里--- 1 A: |% J  A* q  M; u
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ' J8 v. r2 [4 R
  42. ---例如--- & Y. k* y6 S  e. k
  43. [ dbexpress ]
    ) x8 L& t& ~" m% ?( Q, k7 B( W- W0 X
  44. sqldir = mysql_sql
    $ n$ V8 `; C0 w4 t, l  e
  45. drivername = MySQL中
    9 T4 o4 g& H; G( \8 ^6 G& e
  46. 数据库=测试  E# T" C% v- p% [8 |; M; l2 M, s
  47. 主机=本地主机$ E& ~* G0 {' k* Y2 I5 b' L0 F
  48. user_name = testuser
    ) F# m) t+ A. U3 D- v! g0 `
  49. 密码= my_password 1 s- T. \  H  t. Q" u
  50. getdriverfunc = getsqldrivermysql & d6 ]" U: o: ]3 E6 [0 c
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 9 ], w7 e6 i- v9 I+ T
  52. libraryname =. / libsqlmy.so
    4 f2 n4 y) a) A7 S
  53. 积极= 1 4 \; w  j$ w  k& W" S0 I1 q) A
  54. ---例如--- ( d; f3 ?# s6 c4 ^  c  U: J1 c

  55. ) F" }) s- t3 v4 Y8 _
  56. 对Windows中,也运行MySQL服务器本地的,那就是: + H& O: z$ G2 Y9 Z; f
  57. ---例如---
    - T: r5 P* v' }8 ~3 w  l1 r. w' u
  58. [ dbexpress ] 7 W, l+ s$ T7 ~' M% K
  59. sqldir = mysql_sql 5 K  w' W  a9 _
  60. drivername = MySQL中
    - \8 t; x! R5 [- b
  61. 数据库=测试
    " q6 C1 K) [4 S
  62. 主机= 127.0.0.1
    % G1 X$ d" w- `
  63. user_name = testuser # _% P4 G% \; o- K* V7 d- T5 x
  64. 密码= my_password 6 r/ v( y4 h* t/ Z2 Q2 {
  65. getdriverfunc = getsqldrivermysql
    " s, x' D( z7 [8 r' S
  66. vendorlib = libmysql.dll在' d+ \( a$ b% p) J1 S7 Y# D* p
  67. libraryname = dbexpmysql.dll
    # `7 S( z$ }5 @
  68. 积极= 1
    . d5 D' {$ ]: J7 A% r
  69. ---例如----
    + I* j# ~1 T9 E* i
  70. -写在0 2.03.04由p wk.linuxfan
    - x' A0 W4 ~1 n2 U7 `
复制代码
发表于 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 words7 t, C- ~  Z+ b5 q% U: t; ~% D, h

3 ?; ^. S% s  f1 Q0 B7 y; ^& Ybut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-12-2 15:00 , Processed in 0.059493 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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