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

2850 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 4 |  D7 A: N: h; K
0 S+ P" n6 z& \+ f
  1. ; U7 [4 V  u$ l* r) m, b/ H+ M/ a3 W6 b
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######6 }; q5 |) w+ I% o% [
  3. # Z; Z/ @$ v9 C. U. _* m: r
  4. ### What we need ###
    , D# Z2 Y$ |  q- N
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ) p9 E3 y4 c! U; M  T7 A
  6. will not explain how this can be done - there are documents out there for the
    ! M* d  _3 b2 v1 O/ R
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    8 @/ t1 }: m4 G, B
  8. and a user account (username + password) that has the permissions to do stuff; H! V5 ?9 x3 x- r( {1 i
  9. with the database. Additionally, you will need a vendor library installed on the5 q( l2 m2 D0 w, f% F+ G+ f
  10. local machine, this came with my MySQL install.
    8 B: T  z6 ^# I% h) p1 z6 u/ a& H
  11. These instructions will not tell you how you might transfer your data from the
    $ m: b9 S, c, [+ s! N4 U
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL) j* I- ^) c7 d. ]) S) x6 G
  13. database.
    ( ]6 c6 I+ V0 {. w1 F
  14. Some users have reported ways to import a SQLite database into MySQL, but at0 T; k0 G% i6 z; X3 J; B, S
  15. the time of writing, there are still too many issues - check the current status7 l3 b0 l3 s3 `  L0 U5 K
  16. in the TeamSpeak forums if you are interested.
    + t* [) E2 x+ D" l' x
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from  P; D+ |6 `! R0 {1 A5 _; a& u) o
  18. Borland was used. This driver can only interface with the client library that 7 w1 c. {6 s0 e6 E
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    0 @0 c7 F+ l4 v% [
  20. client library - basically all you have to do is to use a 3.x client library as
    - ?. F' X) V: c. G
  21. "VendorLib" and a 4.x database to connect to.4 W# v: P, l! w2 Y6 `
  22. If you need more info about dbExpress, you can contact Borland.! l7 ^7 u4 m# S  U) k$ p

  23.   T" w: N/ |/ D- |
  24. ### Doing the work ###+ U8 ?8 q( N8 w6 t' E' {' I
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    1 r5 C' [' I) B8 K& w/ D) P
  26. the perquisites right, just open your server.ini file, and add this section at
    5 ^6 B2 [$ Y/ W0 {
  27. the end:5 g8 Y6 T: _% E
  28. ---cut here---
    ! {. e  ^# n* h# R) h& D( S
  29. [DBEXPRESS]
    ' T. Y" \. i7 B3 {
  30. sqldir=mysql_sql/ w  O- |4 D7 J2 b
  31. Drivername=mysql
    " Z7 `+ w5 Y4 v7 U
  32. Database=Your_Database_Name_Here! U8 M/ o& ~+ [/ @4 E3 r! Q; ]
  33. Hostname=The_PC_the_MySQL-Server_is_on
    6 P. w* Y. K: d- B' p
  34. User_name=User_name_on_the_MySQL-Server
    $ b$ A+ l' U6 u$ w4 M2 L; L
  35. Password=Password_to_go_with_above_user_name, P( }  q: |( E* T- u$ h* x
  36. GetDriverFunc=getSQLDriverMYSQL2 V! E8 X7 g: K. B3 N/ v) q3 L
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    , K$ a. w" }% ?+ P  M0 i
  38. LibraryName=path_to_libsqlmy_libary3 {' B/ l6 R% Z* G: A; i9 N
  39. Active=1( J) Z3 }' Y4 h9 I5 N
  40. ---cut here---% F8 j9 U% z2 z4 s& t
  41. In my environment (a linux box with a MySQL server running locally) I have:
    6 A5 Z: P$ w1 |; x4 p
  42. ---example---
    0 X" B5 K1 \- k" N  t8 F: S, j
  43. [DBEXPRESS]
    - W$ e5 T% S5 h8 i5 I
  44. sqldir=mysql_sql/ Z% p* @- ?+ D
  45. Drivername=mysql
    * |7 G% v. d" x7 ^9 N* q( H0 y
  46. Database=test
    % |3 T9 U+ z) P( f/ i& s6 ]* I* J8 F
  47. Hostname=localhost
    / e4 d0 D, W1 i2 P) U3 _# n( z
  48. User_name=testuser+ v9 N6 i4 h# i, Z$ |/ z, J: P
  49. Password=my_password
    * ^- E. a2 k! s/ l+ l
  50. GetDriverFunc=getSQLDriverMYSQL! W( f& R/ ]  ]  S$ q: _, D1 `
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    0 E7 V1 A. k7 }7 T( J
  52. LibraryName=./libsqlmy.so' [/ r. g8 z$ e; s! k
  53. Active=1+ ?) k. q7 U$ r6 |
  54. ---example---" w8 c' E3 j! {( L; u) a- u5 I

  55. 2 [' t4 J' v) D- ~6 N, v5 F
  56. On a windows box, also running the MySQL server locally, it would be:
    + y3 g: X/ \8 R% M
  57. ---example---: r: b7 c+ }4 s/ c
  58. [DBEXPRESS]: i; q  A; Z. S  s
  59. sqldir=mysql_sql) X. c/ s! G. S* b
  60. Drivername=mysql' D8 S+ D; n( c' |2 {8 B! O1 `
  61. Database=test
    ! ~( p6 R+ n( _
  62. Hostname=127.0.0.1. n  x' h2 F2 E5 C$ R6 x1 f7 M0 J8 |
  63. User_name=testuser* [) H1 [+ ~" [/ V6 c
  64. Password=my_password3 @* {7 K9 J8 `) z. H
  65. GetDriverFunc=getSQLDriverMYSQL
    % y' I. ~" i5 G7 C
  66. VendorLib=libmysql.dll+ v' O. Z  w5 X9 F2 M. V
  67. LibraryName=dbexpmysql.dll
    % ~2 h; G; j7 L* A8 ~
  68. Active=1
    $ L- m( X6 u: o% H
  69. ---example----7 {" ]6 D4 e' Y( S
  70. - written 02.03.04 by pwk.linuxfan
    + I/ N# n' a0 a

  71. . r* b; h/ a" `2 J' g% t; S" J
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看( v& v, y, M! Y
  1. $ L  K3 o# p: T8 h; f& K1 k
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### * s6 S2 p5 M2 s( q

  3. % {9 W( J9 L; g" [! p
  4. # # #我们所需要# # # 5 H5 i3 ?. }" w: N: _( Y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件9 j* c4 B& s5 m/ O' J
  6. 不会解释如何做到这一点-也有文件存在,为4 M# |- }1 ]+ j3 @; y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    3 s$ g6 G1 q9 j! E2 z$ J0 U# P- p
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西5 k: _7 R9 Z) p/ g0 w
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    8 X, [% s. m3 o
  10. 本地机器,这是我的MySQL安装。
    5 j, b; \6 @5 z0 v5 k& s" \3 E( [
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从2 i# _7 Q% v. x( F- `, T
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL / O9 |8 H, u8 O
  13. 数据库。
    8 R2 l: O& U" L  D" m+ Q+ U5 d0 `
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在& l9 g# A' v% Q9 x
  15. 编写本报告的时候,仍然有太多的问题-检查现状  Y6 B( W, R' E# s
  16. 在teamspeak论坛,如果你有兴趣。
    % }. N; [# d) [' h/ z  l1 r" N* B
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机+ o! T4 R, b% `$ O
  18. Borland公司使用。这个司机只能界面与客户端库
    2 c1 _/ S# S) c2 e
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ! V1 j0 Y! h. ]" e' V) x
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为+ b- d) A0 Q- k* p* a$ E
  21. " vendorlib " ,并解数据库连接。
    3 e: W: u" U  _, V' s: q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 + D6 _/ ~: ]- q7 U* w! H

  23. + C- m  b+ L9 S7 Y. w7 l
  24. # # #做好工作# # # ( ]: `0 o* `* L" v4 n
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都8 W4 Z4 D7 _2 ?1 s
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在" s2 X" L- M# C& u" S& u+ B. C
  27. 结束: / V: x$ q6 Y; d, n
  28. ---削减这里---
    " a7 Y$ z1 V# A: Q' m- W; q
  29. [ dbexpress ]
    8 B! k  `7 z  ?0 A6 d% \3 D7 h( b
  30. sqldir = mysql_sql
    ( T8 o* V5 p, j9 ~' H, \+ F+ O8 t9 ]
  31. drivername = MySQL中! y8 |! }$ k" |5 ~" T# b) g; c7 l" [
  32. 数据库= your_database_name_here , b, o' F' P' p( D5 w' y
  33. 主机= the_pc_the_mysql - server_is_on
    ) t4 b/ y* z1 N
  34. user_name = user_name_on_the_mysql服务器1 t9 B5 ^8 Y1 p$ V( c9 n9 Y
  35. 密码= password_to_go_with_above_user_name   l, J. B- p; Z& ?
  36. getdriverfunc = getsqldrivermysql
    * n: M8 `9 ?8 e( Q  e& Z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 6 ~& W6 I, @# B
  38. libraryname = path_to_libsqlmy_libary 3 Y4 g$ \0 M, E# l  z; O
  39. 积极= 1 ) B, \- ?# a! ]: F
  40. ---削减这里--- . T* B- Q4 _$ J) G, m$ Z4 ?% N
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 9 v* `6 T0 T6 L6 G3 t
  42. ---例如--- 1 j" w# f" K2 I3 C0 y5 t
  43. [ dbexpress ]
    1 P8 q/ {5 F4 {% c  H$ E
  44. sqldir = mysql_sql
    ' q% S% Q6 R: a5 P5 h5 v" {# K
  45. drivername = MySQL中
    # e* K6 C9 Y. T8 _  f$ G" R3 a
  46. 数据库=测试
    8 X4 F$ {- J* o, x3 }/ z; b
  47. 主机=本地主机
    $ S2 x, s1 W/ J9 h. @/ h+ v3 }* P
  48. user_name = testuser / _- i# ]" K; r% Z
  49. 密码= my_password 1 S2 s8 S. B9 m! r
  50. getdriverfunc = getsqldrivermysql ( O3 a( T; d: P. r, R* m9 F
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    " E$ W: p( i8 U9 _9 v
  52. libraryname =. / libsqlmy.so ( z. Y# z/ ]% j3 ~: q" T' M) G( q
  53. 积极= 1
    / j+ m/ l4 q2 G- h( x2 Q
  54. ---例如---
    / t$ N4 i& m' n6 e
  55. 9 T6 ]; ?+ T0 e; ^1 m" m
  56. 对Windows中,也运行MySQL服务器本地的,那就是: * x) ^% o) I# ^+ m0 ]  X4 e+ D, ]
  57. ---例如--- 3 z6 o. C/ J8 l
  58. [ dbexpress ] . _" C$ V: R! F8 N
  59. sqldir = mysql_sql
    - k# K) u. m- W, J
  60. drivername = MySQL中  u8 T( Y8 i/ {1 N7 i
  61. 数据库=测试
    : f6 f' `: {" C* N6 A% [
  62. 主机= 127.0.0.1 # V% X$ [; H2 [. `; ^7 r- m: d
  63. user_name = testuser ! c5 @, z( k8 D; C8 [1 \" n
  64. 密码= my_password & N- e: F1 P7 o- F( u2 p
  65. getdriverfunc = getsqldrivermysql 2 d- N( E# y4 G6 ]0 X- l0 H
  66. vendorlib = libmysql.dll在% a0 R3 R, g$ Y5 F* }
  67. libraryname = dbexpmysql.dll
    ; _6 A$ T" \. u* [. F3 I
  68. 积极= 1 / K: x) h' R5 L9 |$ z
  69. ---例如---- 7 L6 m1 {: L2 N) V. D
  70. -写在0 2.03.04由p wk.linuxfan1 @2 v# V7 ^: S
复制代码
发表于 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  g# f  g, ]: [% z
) q. k* U- z- y4 _" }
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-6 16:04 , Processed in 0.115018 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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