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

2607 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
' e5 d* a$ a; \1 [+ L  t
3 Z8 ~, T1 R8 H
  1. ' \$ j0 H! R9 \( w+ y- S- \
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    1 N6 l5 `3 ^2 P
  3. 7 O  I1 U0 G$ s8 Y; V& K3 V& |
  4. ### What we need ###/ ~3 w& B/ D* {
  5. Naturally, we will need a MySQL server to store the data for us, this document 5 V4 Z  O: ^5 U7 l
  6. will not explain how this can be done - there are documents out there for the
    ) w' b9 M2 W8 _: s  Y
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ; a( k; D8 z4 }
  8. and a user account (username + password) that has the permissions to do stuff( W- j- [% G& r# s. a1 T
  9. with the database. Additionally, you will need a vendor library installed on the; U- d3 @& i2 q1 r  }  v
  10. local machine, this came with my MySQL install.+ {9 j( J# T0 o# _, \
  11. These instructions will not tell you how you might transfer your data from the  u$ E" l1 ]3 y5 I* x# J) J
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL* D# g4 N3 t$ q4 s' u
  13. database.+ x- K$ c; }- }: ~
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    1 q" K9 h, M/ [
  15. the time of writing, there are still too many issues - check the current status
    + [* o* N' d, T. \
  16. in the TeamSpeak forums if you are interested.
    9 j5 T) p% i# S) e$ E6 o
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    9 h: z+ T* R0 d4 P; |# d& Y- l9 l
  18. Borland was used. This driver can only interface with the client library that 8 K: m' V9 h* @
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this; ~/ [3 M% p8 u1 `% W
  20. client library - basically all you have to do is to use a 3.x client library as
    2 y7 U; x1 w8 R% J
  21. "VendorLib" and a 4.x database to connect to.
    $ i7 E4 ^- p1 K& w, D( i
  22. If you need more info about dbExpress, you can contact Borland.2 y% I& t1 T' Z( `

  23. 8 O6 Y9 t' y3 R/ a
  24. ### Doing the work ###9 _; I' R# v1 b; [' g
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all5 X7 G! C) I* ~6 k" }0 k# P
  26. the perquisites right, just open your server.ini file, and add this section at: G/ K( C4 @1 V" Q% b5 p
  27. the end:  i6 N2 y- _- U' c- D) \( `4 H
  28. ---cut here---
    ! q% Z9 P2 I& C' l& A1 ?
  29. [DBEXPRESS]2 O# `; c0 X, i# x. j; B+ j
  30. sqldir=mysql_sql
    ; K+ d9 O& D3 p0 g1 a2 n( i
  31. Drivername=mysql
    ' N$ T5 M0 F1 k  k
  32. Database=Your_Database_Name_Here- ^* C5 j* e: _& X9 ~
  33. Hostname=The_PC_the_MySQL-Server_is_on8 q/ D  k8 a1 b5 J  \
  34. User_name=User_name_on_the_MySQL-Server# X1 p3 ^0 W+ b5 j5 p
  35. Password=Password_to_go_with_above_user_name
    4 D2 d6 B! }* s+ F
  36. GetDriverFunc=getSQLDriverMYSQL
    / F! J# M7 G1 a; ~$ _  t
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib+ i* p2 _2 ]$ X& U4 Q% @
  38. LibraryName=path_to_libsqlmy_libary( b: L0 v3 H! m  ]! p% e
  39. Active=15 a+ A& n( o2 J9 M. |: |
  40. ---cut here---1 f9 }8 H9 B) o& w1 [6 e
  41. In my environment (a linux box with a MySQL server running locally) I have:' m# N5 B( {! Z. s  k
  42. ---example---
    5 K, \5 M! l# C7 m
  43. [DBEXPRESS]% p5 b. ^# W( ?: D3 h: P! V, y5 @
  44. sqldir=mysql_sql" @8 V2 y2 Y4 r/ {; ~' w
  45. Drivername=mysql
    - ~* e& b: F1 f: g
  46. Database=test' o% o4 c/ Q5 z  Z
  47. Hostname=localhost
    ! K" w& p# \3 ~2 P$ q: ?, K1 j) k
  48. User_name=testuser
    / \- `! w+ `$ {; k3 d
  49. Password=my_password) C; L7 v+ u! a: g' }+ k, n
  50. GetDriverFunc=getSQLDriverMYSQL8 u- A1 Z8 T1 k% U3 z) c1 P
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0, i) G% ^1 ^! ^5 \" h. \: f" l+ q9 t
  52. LibraryName=./libsqlmy.so  H, l  ~/ D- |' e" o, i! Y
  53. Active=1
    ' K/ U- h+ D9 {6 T% `" ~$ z& R1 ?5 W
  54. ---example---
    ' c& Z% Y4 n. I( _1 k' o' }
  55. " F& g$ X0 n" ?6 o3 K( y
  56. On a windows box, also running the MySQL server locally, it would be:
    # K# u9 ~+ F4 E' v8 ]& o8 t- M
  57. ---example---& O  a4 k# ?. e$ _4 {$ A
  58. [DBEXPRESS]
    / c* ^( x- [/ S6 x
  59. sqldir=mysql_sql7 B; R' ?  V" j
  60. Drivername=mysql
    5 P" I0 Q- ^% @1 a; A/ y
  61. Database=test
    , ~4 x5 v" Z2 [8 k' g
  62. Hostname=127.0.0.1: d4 g5 o& A$ D4 g) M# j. W. [% t# b
  63. User_name=testuser
    3 n% Q  Y, R/ b# A# H
  64. Password=my_password* f  l( w( f- M* X2 r- _! e  E5 V
  65. GetDriverFunc=getSQLDriverMYSQL5 c( m/ C$ |. j
  66. VendorLib=libmysql.dll
    2 R5 ]- u1 h$ f& J$ P. w4 \7 `7 a5 K
  67. LibraryName=dbexpmysql.dll9 U) j# ]3 ^+ W. U3 W
  68. Active=1# V2 }5 o/ V. R5 l
  69. ---example----: z$ f, A% W% X4 I$ i
  70. - written 02.03.04 by pwk.linuxfan
      L/ Q' M/ q$ \4 B9 u) L5 R, r! V& J

  71. : ^( N; i+ {" \. p
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
% |/ O0 A, x) Y1 }
  1. . o1 A- N# b- j( V1 y+ F( `3 W
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    5 H6 \: {2 O0 ?5 x
  3. ) B! L4 P- Y6 b7 v
  4. # # #我们所需要# # # & ~# I- i. Z1 S3 `1 G) i1 a
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件9 v% Z, R3 A7 y+ J
  6. 不会解释如何做到这一点-也有文件存在,为
    8 Z& w: [# p: o5 A) z% B! z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用+ o( `- R: \6 V; }' V+ H
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    6 ?- n% ^$ I1 G% n
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    2 ^  f0 t4 v$ v
  10. 本地机器,这是我的MySQL安装。
    8 ]- c2 B9 U$ h( I+ m
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    8 H4 a; p6 _2 M* U- u6 f
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    - }! Q) ~5 c# ~3 m4 ]* T6 C
  13. 数据库。
    * x! Q5 {  H) ?0 X3 [# Q5 [# d
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在  Z4 Y0 [: ]3 C! I2 A! ~( t4 }: @
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    # H! n" m' {7 Q
  16. 在teamspeak论坛,如果你有兴趣。
    ( S' I0 s  D1 P5 b
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机+ v! W4 I, _$ Q# t& u( x
  18. Borland公司使用。这个司机只能界面与客户端库
    , i; I( [1 ]! W3 Z
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这1 R( ?3 m3 q5 d  R5 Y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为/ I/ k2 W+ C7 ]2 V4 b
  21. " vendorlib " ,并解数据库连接。 2 ^+ ^! E/ O5 q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 # v! r1 ?3 w/ g0 ^; i9 A6 k

  23. ' `; q( G) c: b: R
  24. # # #做好工作# # #
    7 S1 a' p4 Y! l" l0 ?3 j: W' f3 X
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    9 E; ~/ `4 f( a( ~4 A: A3 c
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在: K% r$ B$ K0 E1 Z
  27. 结束: 9 k& T: o0 G+ w/ `: R
  28. ---削减这里---
    ; C* U/ _) r, c5 d' v% [1 W. u4 J
  29. [ dbexpress ]
    ! I7 a' A6 i2 |8 ~: e
  30. sqldir = mysql_sql 2 `* g5 s/ O, I, U4 `- h+ L
  31. drivername = MySQL中
    . |6 {  I: j. r* x
  32. 数据库= your_database_name_here
    : r$ }$ v' \/ J6 b
  33. 主机= the_pc_the_mysql - server_is_on
    * \5 l1 @% b% `3 }6 G" \
  34. user_name = user_name_on_the_mysql服务器; C! Z( l/ M/ t! d6 ]
  35. 密码= password_to_go_with_above_user_name
    * E# h) Y/ z# r  `/ a* v. s
  36. getdriverfunc = getsqldrivermysql
    * P7 B1 j4 j$ q" c' Q* [
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    " m8 ]% j9 a1 Q
  38. libraryname = path_to_libsqlmy_libary
    * B0 p1 l/ {$ C# ~
  39. 积极= 1 ! h  E$ ~* P# j2 L6 a3 H
  40. ---削减这里---
    8 D0 T, h/ z! ~; _" L6 b( A
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
      Z0 T3 V- D/ X  p$ Q
  42. ---例如--- : t1 M! f+ |. A3 j- o, T8 l+ x
  43. [ dbexpress ]
    ; @% Z8 R" o: g
  44. sqldir = mysql_sql
    5 L. W$ I+ |* T, z( U
  45. drivername = MySQL中
    + E- ~7 x6 L6 e/ G. D  \
  46. 数据库=测试
    ; S" @7 v5 X2 A( `. A
  47. 主机=本地主机
    " k3 R8 O6 s1 i4 W
  48. user_name = testuser 5 S$ h; G2 z' M) I/ F- o9 p
  49. 密码= my_password
    ( Y. L% Y* n# z$ ?8 F
  50. getdriverfunc = getsqldrivermysql
    6 X* e( A3 Y5 V' z3 P# x
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 % x7 V+ f/ D9 c  E! L, a
  52. libraryname =. / libsqlmy.so ' C9 Z+ L2 h& h8 ?! L
  53. 积极= 1 2 r# z" l( R/ t( H; r# p! {
  54. ---例如---
    : s3 ~/ e1 J. b9 g7 R- C
  55. 0 `) Y+ J: ?1 }) [3 f( _
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    5 L* D1 }8 D- w* R3 K
  57. ---例如---
    , L3 Z+ b- o0 M  j0 y
  58. [ dbexpress ] * e/ V8 j8 i3 q4 V
  59. sqldir = mysql_sql
      @' r* E/ _6 p6 c9 ~3 s
  60. drivername = MySQL中
    0 N7 j6 x# f6 C6 g
  61. 数据库=测试1 a0 O. ^6 B+ _! G9 ^  {$ B
  62. 主机= 127.0.0.1
    . }1 ~0 y0 {$ J7 v5 A
  63. user_name = testuser ( M$ T4 ]7 G: J; k% x- n, M+ ~+ L
  64. 密码= my_password ! [7 |4 I& y! ]0 k! ^
  65. getdriverfunc = getsqldrivermysql
    ) X9 L3 z9 y  g- ]  l
  66. vendorlib = libmysql.dll在. d( W- R  B4 {+ x  b  ?8 |9 L
  67. libraryname = dbexpmysql.dll 9 [  J2 L% o+ U% |" |
  68. 积极= 1 & R. n3 w- s/ |0 @
  69. ---例如---- # b5 k% u( f/ @' K6 q  N5 g* `
  70. -写在0 2.03.04由p wk.linuxfan
    1 P- ~+ M2 G/ K8 D* G9 e1 ~
复制代码
发表于 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
  q$ O* [! o8 E9 l6 m! `) I# q. Z2 h; U) ?
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-12 05:30 , Processed in 0.273575 second(s), 110 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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