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

3070 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ) s, j7 }! Z7 s" v0 T

- a  P2 U' e# z+ v4 r% s1 N
  1. % S1 s0 V8 R8 j' }  G
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######+ n4 ?7 |, w3 G  E8 g

  3. & G7 `2 f; M/ {! Y( Z. N1 ?
  4. ### What we need ###5 O. o4 u1 {' }% z, H
  5. Naturally, we will need a MySQL server to store the data for us, this document
    " [6 b: y) s) B( H7 v( D! \
  6. will not explain how this can be done - there are documents out there for the . Z0 ~! r, V+ x$ [  v& P; I
  7. interested. The requirements include a (empty) database for TeamSpeak to use7 ~3 S5 P  K* O; U( V3 S, R& w
  8. and a user account (username + password) that has the permissions to do stuff" u& l" y6 I7 U+ p1 D) o! ~$ z
  9. with the database. Additionally, you will need a vendor library installed on the/ g; o8 A, F! e
  10. local machine, this came with my MySQL install.7 {% Z9 z) j$ Z3 p
  11. These instructions will not tell you how you might transfer your data from the# ^8 \$ y/ l; R/ Y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    9 g- I' v" M# ?) Z) a6 S+ ?
  13. database.' Z# s, m+ C+ |% O
  14. Some users have reported ways to import a SQLite database into MySQL, but at. b: I/ n1 S- Q* {
  15. the time of writing, there are still too many issues - check the current status
    . Z* M/ o& F: o; @' c2 m7 s! B
  16. in the TeamSpeak forums if you are interested.
    2 T9 e) z* L" M/ r( t$ m
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from2 B$ V# T  q& k( O0 P. [
  18. Borland was used. This driver can only interface with the client library that ( B/ k9 x' L( G; O1 s
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this# }  }7 A  p5 [
  20. client library - basically all you have to do is to use a 3.x client library as ! n8 Q8 D+ \( Q6 d9 q
  21. "VendorLib" and a 4.x database to connect to.; h0 c( E: h: e
  22. If you need more info about dbExpress, you can contact Borland.3 F% S) c% J) m; J" }; ^* h/ {

  23.   }7 j3 [* f0 n6 l6 X0 U7 q
  24. ### Doing the work ###
    * l1 F, w5 p; ?. d* [
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all$ C: C* D6 a9 R  p
  26. the perquisites right, just open your server.ini file, and add this section at" U3 q' l9 a* G/ O: Z3 @
  27. the end:
    / o8 z2 }6 P+ i' h
  28. ---cut here---
    + |0 ]8 T, W. V0 p4 y# W
  29. [DBEXPRESS]8 b; y1 ~' x+ M5 y- Q4 O
  30. sqldir=mysql_sql
    & c" T! a( o; ^6 O2 q+ M
  31. Drivername=mysql
    7 F- S* g6 T( l, ]& Z8 v  v( ?. `
  32. Database=Your_Database_Name_Here3 C4 r  R% a! l% G5 ^+ n% t" ^
  33. Hostname=The_PC_the_MySQL-Server_is_on. z8 S9 b+ K2 ~- f' @, s
  34. User_name=User_name_on_the_MySQL-Server( M! e5 \8 f9 ?) h8 p( [/ ~
  35. Password=Password_to_go_with_above_user_name$ q- [4 {1 o4 U0 P. o+ Y  ^
  36. GetDriverFunc=getSQLDriverMYSQL
    / {9 K6 X6 o7 a
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib, e9 U+ S* ~* D+ c4 d, o
  38. LibraryName=path_to_libsqlmy_libary3 o. _; Z1 y8 M, W; U
  39. Active=1
    / ?* X2 u3 y0 D* r& c% b' B
  40. ---cut here---# q* Y3 }8 ]9 r
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ' i. ?- U: t0 y  S7 }4 @* Y; k
  42. ---example---' j3 ^' Z( R. r4 _
  43. [DBEXPRESS]
    7 x  @. m' [: I) y3 P- ]1 y* c4 s
  44. sqldir=mysql_sql
    $ ^' r" |: c# H8 P) i
  45. Drivername=mysql
    ) k9 a" V) p! N8 E+ U* E0 y4 J
  46. Database=test
    : L9 r: B9 H/ D1 I! l
  47. Hostname=localhost! w- f+ N  p% f: G: q  Y2 ~4 R
  48. User_name=testuser
    . d5 a& S0 M0 D3 t, b$ V
  49. Password=my_password, L6 Q2 W7 m% o: J8 }- j+ D
  50. GetDriverFunc=getSQLDriverMYSQL
    % i& q& j/ o/ K; i
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    1 V0 I( M+ T* y& x  L6 E. L
  52. LibraryName=./libsqlmy.so9 }% i) S! U# M) v5 ?% ~+ E9 F
  53. Active=14 G( A. o; d  D- m% D# T
  54. ---example---
    ! }9 `) B  ^1 R2 H& S& B* b
  55. 3 K3 `6 W9 E6 _; |3 ]) ~
  56. On a windows box, also running the MySQL server locally, it would be:
    5 O8 m, Z5 T' Q1 r
  57. ---example---
    5 v, V7 J& w9 ^9 b7 F5 ^# l  d
  58. [DBEXPRESS]& ^" |4 b1 A9 l9 n
  59. sqldir=mysql_sql7 z- l$ H1 w8 {
  60. Drivername=mysql
    # v, s6 H7 z/ r8 U3 T1 Y$ H5 }
  61. Database=test  G( x4 _& T( f# [0 _9 R# b! Q- R
  62. Hostname=127.0.0.13 P# Z! Q1 ~2 C% X
  63. User_name=testuser
    # e- V; j& M6 @. A( m* G
  64. Password=my_password6 F" Y! o6 ?7 |# }8 h8 l& z2 g/ ^
  65. GetDriverFunc=getSQLDriverMYSQL
    7 b5 }6 Y8 K/ o: c' c
  66. VendorLib=libmysql.dll3 [/ [0 u& r* t& w
  67. LibraryName=dbexpmysql.dll5 R' k8 L4 D/ ?* ?: b
  68. Active=19 f7 l0 l4 p. }" V
  69. ---example----
    : l% D& Q" E) s+ U5 S$ s; F
  70. - written 02.03.04 by pwk.linuxfan, A( d1 X( N8 x6 q
  71. + K% d0 J' b# Y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
5 J+ @" D; _' y

  1. 0 ]; f" L' L) j: l' J1 {8 F
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### # |9 g. C- n7 D

  3. $ O  L, K+ H( j- C
  4. # # #我们所需要# # # 3 ?# `  D+ r/ i3 H1 A7 y( {6 S
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件$ `& k  O" `5 Z+ n( t( U8 W
  6. 不会解释如何做到这一点-也有文件存在,为
    # k3 D3 j& M( Z, X! j3 y7 [' \) X
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ; s$ c) s1 |* r$ k
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    $ P) v5 h, u$ Z; }! K, m! p5 Z
  9. 随着数据库。此外,你需要一个卖方图书馆安装于, a7 L5 X9 L/ v+ D; I& z8 Q+ S
  10. 本地机器,这是我的MySQL安装。 $ d$ N8 \* `/ U# u4 N, K7 P4 ]
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从/ A7 g0 ?3 a* `, F
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL : `  C2 M4 C1 k/ q' s
  13. 数据库。
    0 F9 m# m, Z2 o) n' [
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在# w0 f# L2 a4 l/ R2 i4 I" `) ?  E
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . Y8 \6 X6 U$ U7 ^! u0 b4 f7 d* T
  16. 在teamspeak论坛,如果你有兴趣。
    * l. Q6 W' N1 ~$ B( h0 N# y: ?7 |
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ! N' M; o+ t! D$ D( j% A0 k# d
  18. Borland公司使用。这个司机只能界面与客户端库
    . g3 b1 ]" ^3 y/ p- r
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    - s% N$ H$ N3 T
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为/ J% D) e7 d% z
  21. " vendorlib " ,并解数据库连接。 8 L0 U% W" D* C0 v; T) l
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。   a7 P  o: x' z% `& J

  23. % M& e% P' h6 z$ z
  24. # # #做好工作# # # 7 z7 y- f% G) _7 c
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都5 U" s/ A6 s; `$ q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    0 R9 K) v& w' w  }
  27. 结束:
    2 Q% f" g; U# @! e) P" ?4 H
  28. ---削减这里---
    % G( \: q1 Q" [) H5 }# D& g
  29. [ dbexpress ]
    7 m; `4 h& [) f
  30. sqldir = mysql_sql ' g% `- s: v( G8 n( M
  31. drivername = MySQL中) V( T* Q8 ~: H( D; o" q# E
  32. 数据库= your_database_name_here
    9 ^5 p1 y! X1 m3 P
  33. 主机= the_pc_the_mysql - server_is_on - e7 q& F( |2 F1 Y
  34. user_name = user_name_on_the_mysql服务器
    . A3 Q+ A/ ]1 I7 {: Y6 [
  35. 密码= password_to_go_with_above_user_name   F. w# @; g: C& h6 ^+ ^( B" ~3 b
  36. getdriverfunc = getsqldrivermysql 8 Z4 Q5 y6 z* u/ ^5 x
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib + R2 c, _: d3 V
  38. libraryname = path_to_libsqlmy_libary / z& F+ Z% k$ i9 `; F
  39. 积极= 1
    6 Q: _. O$ C" X
  40. ---削减这里---
    ' l. ]3 W" O: j9 Q5 ^* ]- s7 M
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: % \8 m; t. c7 F
  42. ---例如--- ' V  d9 m$ _- G. F3 v1 V7 X3 `, i
  43. [ dbexpress ] 1 }  z4 Q  v- S# T9 G7 S( D$ K
  44. sqldir = mysql_sql ' K, V6 _' {4 u8 s' H1 \
  45. drivername = MySQL中
    8 G! P! {! P( y8 Q9 _
  46. 数据库=测试0 b' D- ^: P! q
  47. 主机=本地主机" O+ N* j; M6 H, X4 N, a
  48. user_name = testuser / p. N$ t/ u# {2 _+ f5 ]
  49. 密码= my_password
    + z% x# {9 g5 R) M! W+ d! V
  50. getdriverfunc = getsqldrivermysql
    ; A3 T- A& K/ j& P/ M
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ; l4 T' t/ }' V8 K3 P! K
  52. libraryname =. / libsqlmy.so
    " D1 W' H3 @$ y( v; X
  53. 积极= 1 3 I& E# m% t1 b3 f
  54. ---例如---
    . y" M: r5 \) ~( \
  55. ' q- X7 m# _7 ?- t! \2 k
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 0 ^: t* {; F# n* m- j
  57. ---例如--- - o! }3 _3 |3 o1 ~( x" g- ~
  58. [ dbexpress ] 4 W" c; X+ n: ?
  59. sqldir = mysql_sql # I. r; l7 V; n) {
  60. drivername = MySQL中. E% n) N. p( N; W. z/ a6 V6 Q& e
  61. 数据库=测试1 X1 I! Y  l+ q5 y' O
  62. 主机= 127.0.0.1 $ `! t8 J3 ?1 o1 {, L* v! y
  63. user_name = testuser
    2 Z9 \0 g# [; [0 w' e$ |
  64. 密码= my_password * k0 f( Z5 o$ U0 m4 y& I
  65. getdriverfunc = getsqldrivermysql
    , E: x6 H* y7 U1 F( b' I8 Z: d
  66. vendorlib = libmysql.dll在; Z+ s9 S& u* `
  67. libraryname = dbexpmysql.dll
    % W, z7 A' Y9 ?! x8 H
  68. 积极= 1 # @4 o5 p$ z/ t$ _, v
  69. ---例如----
      m7 A; L7 l! J" N; e$ e
  70. -写在0 2.03.04由p wk.linuxfan' W' \; ]6 U& b) G
复制代码
发表于 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
% W. ?( T/ m0 e; l
* h& p$ t6 P" {6 gbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-26 01:18 , Processed in 0.084468 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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