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

2817 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
/ K" K$ _' @) Q6 ~6 h8 w+ z6 y) T0 C

  1. . W' S$ @7 [5 X: d4 m
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ' J4 v# v; q! |# D! k8 I
  3. 3 G5 j. ~* l3 X- R
  4. ### What we need ###3 H1 }7 f, F, M. t. T" \* y
  5. Naturally, we will need a MySQL server to store the data for us, this document * v1 r3 N# d1 q' u
  6. will not explain how this can be done - there are documents out there for the
    2 L0 Q6 Z0 x, `; x4 c/ ?
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    " o4 b. r* H& D
  8. and a user account (username + password) that has the permissions to do stuff
    & _' P/ K5 J, x  @/ r
  9. with the database. Additionally, you will need a vendor library installed on the& d, h4 X" x2 Q' R0 P  Q% z
  10. local machine, this came with my MySQL install.6 a9 @7 t, L) `3 v* d, \% i
  11. These instructions will not tell you how you might transfer your data from the" U, G( ~" o% n! D
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    # l. [& O: s- y' X8 n( X  K
  13. database.$ a* n+ K" u0 E* Y$ W& o5 y5 [' ~$ G
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    4 Z% {' [: m4 @
  15. the time of writing, there are still too many issues - check the current status' Z$ i3 V; T9 K8 t( R
  16. in the TeamSpeak forums if you are interested.- f. Y- d, \# j* L
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    6 E+ \/ }6 l) q8 ~& E* K
  18. Borland was used. This driver can only interface with the client library that
    ; w! I! o; p& B: e7 V% U: ]( }
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this! Y" E0 j. ]) z2 ~3 H' U
  20. client library - basically all you have to do is to use a 3.x client library as 0 V! Z; [# j( \/ b3 B8 I
  21. "VendorLib" and a 4.x database to connect to.: h" y3 }- a. o, x, Q, z
  22. If you need more info about dbExpress, you can contact Borland., V4 Z1 l8 `2 p+ }4 x1 b; K
  23. + M* B4 v3 ^4 P$ |/ P( r- Q# |' I$ k
  24. ### Doing the work ###- v2 [' ^4 X' c, N' \
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    . P5 l) B8 d1 f8 }$ K
  26. the perquisites right, just open your server.ini file, and add this section at
    3 b6 i2 b) r( X* |2 i! n+ Z
  27. the end:
    3 D5 r& ^7 T$ P4 _3 f) H
  28. ---cut here---, T1 L" |. L! T" d& {
  29. [DBEXPRESS]
    3 a/ J) m7 o. |: P
  30. sqldir=mysql_sql6 ]2 ]$ I: L, Y9 r" `* g
  31. Drivername=mysql
    $ E: \" y, z2 M; B9 D: n3 Q1 M
  32. Database=Your_Database_Name_Here
    - I' q7 `5 N: Q
  33. Hostname=The_PC_the_MySQL-Server_is_on+ @9 v; x# b1 p! D' F$ U
  34. User_name=User_name_on_the_MySQL-Server
    * x- @. Q. |& m8 w- h
  35. Password=Password_to_go_with_above_user_name
    6 {# B0 T. j5 g6 I- i
  36. GetDriverFunc=getSQLDriverMYSQL1 I- p6 w/ |  V! S: ~' N( l, S- w
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib; q" S* w5 A8 S; R1 I5 j  S
  38. LibraryName=path_to_libsqlmy_libary
    + P  X- |: E( q3 R2 U
  39. Active=1
    5 p' y. d. X$ F
  40. ---cut here---
    2 g6 x/ _( ~) u8 R# W, C
  41. In my environment (a linux box with a MySQL server running locally) I have:" v6 P) Q: _' A4 X2 F% Q
  42. ---example---# V) Z  }1 z3 ]- l
  43. [DBEXPRESS]) K8 S  v/ z8 R1 p
  44. sqldir=mysql_sql; x+ e. H7 X5 _
  45. Drivername=mysql
    ' t' b8 s3 P+ _
  46. Database=test8 J8 {/ A9 p  S& g5 l- ?  h3 {. \7 U
  47. Hostname=localhost+ V( U  W, T$ q2 P. A* U
  48. User_name=testuser
    5 y1 ?# z! Z. m
  49. Password=my_password; E" }, H0 K+ }
  50. GetDriverFunc=getSQLDriverMYSQL
    ; S7 K" P2 ^+ p8 d
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0/ k2 t* q. R9 t% c1 C" H; V
  52. LibraryName=./libsqlmy.so
    6 h% J" Z) b6 c- [
  53. Active=1
    6 a3 `" z7 S; S2 o- z9 ~/ x$ ?
  54. ---example---
    , W/ l3 J' s, }, x( A
  55. ( P2 n$ I: ~8 d" T! Y/ ^5 g
  56. On a windows box, also running the MySQL server locally, it would be:$ k: W$ u. T5 R. ^
  57. ---example---
    - D" v# N3 X& K0 [6 L) {
  58. [DBEXPRESS]* Q) |" c9 y' M4 B
  59. sqldir=mysql_sql
    $ M& b6 I' d: I6 T) n# ]. V
  60. Drivername=mysql
    $ G7 n# H2 A1 ?6 v- s! [2 w* C
  61. Database=test
    , y1 D. a* u0 p" B+ n
  62. Hostname=127.0.0.1% ~8 f8 G: \- `+ b- _% O
  63. User_name=testuser5 ?- t/ e8 Y- E( Q+ y2 e8 \
  64. Password=my_password' i: ]& C/ L) G. p3 J; X+ p% c, W
  65. GetDriverFunc=getSQLDriverMYSQL
    8 j% v" a. C! k$ C4 W( l
  66. VendorLib=libmysql.dll  d% [" Z  U( U0 M
  67. LibraryName=dbexpmysql.dll8 B. \3 e+ C. P8 j  ^4 l' }5 N" T
  68. Active=1
    # d8 `3 a. p& \) F
  69. ---example----
    / [4 V) d3 x8 W+ r0 r1 q
  70. - written 02.03.04 by pwk.linuxfan
    3 [! s5 ~4 I# q. a# f
  71. ( j0 t( m7 l3 j$ D
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
! m5 H# P9 Z' H; L7 V& p
  1. 7 j7 n7 J4 A2 o* B& n5 X
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ( `3 Z6 s4 W8 U! n

  3. ( O9 [! d, V- }" P; E
  4. # # #我们所需要# # #
    / Z, O8 L/ p3 ^' p4 h0 R
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    5 h$ u* {7 Q3 C, v- y; c( m
  6. 不会解释如何做到这一点-也有文件存在,为# K$ {: [* f" g; ~$ x
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用# a9 x& q4 t; g# t, ?7 h$ |
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西3 ]$ i* X* U, V0 g  t
  9. 随着数据库。此外,你需要一个卖方图书馆安装于' f. L: e; Q, r1 y# V
  10. 本地机器,这是我的MySQL安装。
    - H* y% ?3 Q+ `, M/ K4 P
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从! g' U1 E- e1 ~% g
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    0 u4 l1 C: c1 i# s
  13. 数据库。
    7 p( _- i2 \9 z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在: k$ J/ m; |" S* m( W3 q
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . }5 j3 D3 D; c( ]) i. p4 [# H
  16. 在teamspeak论坛,如果你有兴趣。 ) b2 Q$ T5 \% ]" u0 C. f
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    4 z$ K* x, v; [
  18. Borland公司使用。这个司机只能界面与客户端库
    - Q( l' ?) h& \9 d. j
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这' U" `; T/ d1 j: @% d
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为' f% {# V) k; P* D& v
  21. " vendorlib " ,并解数据库连接。 / _5 j6 V- S) J( _# |8 R
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。   r0 X7 R9 P5 J* N7 }2 F

  23. , r' \% C5 T0 K4 I& k. V4 _
  24. # # #做好工作# # #
    % y1 A) K9 U; ]
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    & y! `4 V/ O) ^6 `
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在, {% K) z4 C1 M3 X, r9 D
  27. 结束: 1 s% @, l5 g- ~8 @& O1 W- z/ w
  28. ---削减这里---
    9 @) S$ a  S  ~+ S& [# M
  29. [ dbexpress ] & t/ z1 X, x* x
  30. sqldir = mysql_sql " }2 ^* T, m% m! P
  31. drivername = MySQL中6 o0 @7 _+ x6 d, u9 Y. E/ l
  32. 数据库= your_database_name_here
    & S- i# ^2 A/ I) c0 ?5 V0 ?4 L
  33. 主机= the_pc_the_mysql - server_is_on
    " m& T/ ?) O4 P
  34. user_name = user_name_on_the_mysql服务器  J4 l. l  m/ [* @( p
  35. 密码= password_to_go_with_above_user_name & E! ~: F* a8 z! K0 |9 D' D  N; C
  36. getdriverfunc = getsqldrivermysql   T- i7 r$ D4 v  B
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 1 K3 m3 g6 }% b/ ?5 J6 I
  38. libraryname = path_to_libsqlmy_libary # ]; p# o, J- u
  39. 积极= 1 ) p& O# C. M2 k
  40. ---削减这里--- 7 f; `0 I' [+ a7 ~6 c" R: X
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    & G7 W* @8 S8 N% M5 x* e
  42. ---例如--- - ~  L+ g; d( ~& Y& M+ i8 s: V; i
  43. [ dbexpress ]
    2 E: R* ?, x/ W9 S, Q3 ?+ \8 `
  44. sqldir = mysql_sql ( |$ N0 }0 q: B- O+ q% w
  45. drivername = MySQL中
    ) O& |" R( L* a* C. F
  46. 数据库=测试; }. A6 K7 @% l9 K* D
  47. 主机=本地主机
    2 ^! j! D* R: u) U& b
  48. user_name = testuser ) s1 Q* x; i& A8 [+ B, O: @
  49. 密码= my_password + `2 y; \$ d, ?& O" A* v+ p  {# ]
  50. getdriverfunc = getsqldrivermysql   |$ X$ L- V" H' l% T. ]( A
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    $ s5 ~: ]' [9 I
  52. libraryname =. / libsqlmy.so 7 {4 w8 A( \7 n' H% Q/ }
  53. 积极= 1 ) J/ W( [4 ^4 E% X. l6 |4 E- V8 L9 C
  54. ---例如--- 5 d8 r( o" X5 q0 _
  55. ' J- L: o% U0 ]  b, W1 y4 M3 l
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    " \5 P) F7 S! |, {' a6 b) q/ Y, X, L4 p" _
  57. ---例如---
    ) w7 I5 Y4 N8 p& F, B0 D3 O
  58. [ dbexpress ] 1 M8 Z3 W1 p, r# |( a# V
  59. sqldir = mysql_sql
    0 {( ^/ D6 {# @+ L& y0 A  y
  60. drivername = MySQL中' W4 h; N6 n; w" h
  61. 数据库=测试
    , R! A" Z% j6 |* K5 `
  62. 主机= 127.0.0.1 8 i) E3 D6 ]- _0 `( Y. |
  63. user_name = testuser , S1 U6 ^4 d8 i; I
  64. 密码= my_password & p, ^) l; w4 V! I( j: S% y+ ^
  65. getdriverfunc = getsqldrivermysql
    $ M. E2 b; Q5 V/ F, b7 G, b
  66. vendorlib = libmysql.dll在. o- {: s" H6 F1 o6 ]
  67. libraryname = dbexpmysql.dll 8 A% D: |- q& d0 e% @
  68. 积极= 1
      F9 W$ d# w& N' W
  69. ---例如----
    % V8 g( d% h: [: T  W- }5 ]3 B
  70. -写在0 2.03.04由p wk.linuxfan
    9 i. K$ D) n. @- }& t9 N
复制代码
发表于 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
; N8 R, S5 S, }/ C1 M% d, l: {
3 I0 x% \, [  ]) b; \2 kbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-28 21:39 , Processed in 0.098418 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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