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

2724 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan # J& w) s- o5 S0 {" k- x' p! f
1 J3 a8 Q/ A- k8 _5 z. P+ J/ D& ^
  1. ( j" o# \! x9 K( r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######" `7 K6 ~) E2 t- W" O
  3. ) I! G2 s, i2 K$ B- n
  4. ### What we need ###' j0 |/ B5 I% ~8 T/ e: L
  5. Naturally, we will need a MySQL server to store the data for us, this document ' f" Z4 p- L) [. O
  6. will not explain how this can be done - there are documents out there for the
    : w& B' {: d* u- T
  7. interested. The requirements include a (empty) database for TeamSpeak to use5 @! Q* y; L' G2 N0 R
  8. and a user account (username + password) that has the permissions to do stuff
    : v& f) W4 N; v0 J4 h3 `/ ]3 z
  9. with the database. Additionally, you will need a vendor library installed on the
    ! E% Y7 N* `+ w6 k4 k
  10. local machine, this came with my MySQL install.* m% K; @2 |: N1 v! q4 f$ C
  11. These instructions will not tell you how you might transfer your data from the7 ^8 w# |  B0 V  U( [
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL% R' B% R7 M6 t1 {  k
  13. database.
    $ w2 V; S! M3 ]4 S) V  k2 p
  14. Some users have reported ways to import a SQLite database into MySQL, but at. i5 {# L" P6 `* ?
  15. the time of writing, there are still too many issues - check the current status
    " S* u/ J3 E3 l0 Z  o' u" V" g
  16. in the TeamSpeak forums if you are interested.% L7 Q0 f6 k. K! \
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from( |# U! ~3 [" v0 q4 G
  18. Borland was used. This driver can only interface with the client library that
    % W0 J1 k% M+ N7 U/ G. R- N
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this; h3 @4 t0 q- }9 J
  20. client library - basically all you have to do is to use a 3.x client library as ) D! E3 N( Z6 l7 W* F- m  G5 {
  21. "VendorLib" and a 4.x database to connect to.
    # h! M& T' n  J! e
  22. If you need more info about dbExpress, you can contact Borland.
    % \) B0 ^+ F) n' N: z# q; K& ~
  23. ' M6 k  J/ N8 A& x2 Z
  24. ### Doing the work ###
    2 s0 q  E- W  X
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ( N" g$ w9 U/ }3 y: y
  26. the perquisites right, just open your server.ini file, and add this section at
    0 R1 w" M0 s2 D3 v
  27. the end:" z( i' y1 \. O8 x# e6 X0 B
  28. ---cut here---
    0 ~9 h) X3 R5 \$ m# @( @4 c
  29. [DBEXPRESS]
    6 L6 }0 L' Q0 l! A/ x- Q
  30. sqldir=mysql_sql7 k# Z% T# |& d5 a
  31. Drivername=mysql8 l  G  h( _6 N. W6 Y! \
  32. Database=Your_Database_Name_Here
    ) \0 @& ~. ]: f& I2 l
  33. Hostname=The_PC_the_MySQL-Server_is_on, O; I# ~1 |, D5 j- A& i. d
  34. User_name=User_name_on_the_MySQL-Server" |5 E$ y$ z2 }. c
  35. Password=Password_to_go_with_above_user_name- t' E4 I/ P& ~2 o( t
  36. GetDriverFunc=getSQLDriverMYSQL
    & Y+ a9 F: r0 f' B6 ]
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib' j, D- c3 v* n7 {# q8 ]
  38. LibraryName=path_to_libsqlmy_libary
    2 s6 b& c1 [6 l, P- Z8 m' P' Y
  39. Active=1
    5 k: a  I& e9 x+ X
  40. ---cut here---
    + d' d* W  C/ P# A' O
  41. In my environment (a linux box with a MySQL server running locally) I have:
      H  ~" }! d4 j+ S4 e
  42. ---example---
    , c) N1 {- g% k2 v+ R1 @% |6 ?  {
  43. [DBEXPRESS]. G3 }* i. Y  a5 M
  44. sqldir=mysql_sql" f* D6 h: d9 W! Z
  45. Drivername=mysql
    / [' y+ K) l9 v
  46. Database=test
    ( a/ n5 O' C( @( K8 j$ T
  47. Hostname=localhost4 Z: _" ^) J5 `3 F
  48. User_name=testuser
    4 T$ o' [- S/ y! j+ X+ X; M
  49. Password=my_password
    & o; N* [- D6 u7 a
  50. GetDriverFunc=getSQLDriverMYSQL
    8 u" I0 B9 h6 ]0 O$ @) f) L
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    1 \# l2 ~5 l2 b! v5 O$ x
  52. LibraryName=./libsqlmy.so# z1 g+ X) ?5 X3 {- T- Y# l
  53. Active=1
    - P& D( |) a! e3 o' B5 U0 T
  54. ---example---
    . U1 M2 v/ s# D7 z1 Q
  55. ' Z0 Y% b+ m8 B- c
  56. On a windows box, also running the MySQL server locally, it would be:
      @" W7 Z2 L# p1 v4 K4 Z
  57. ---example---2 t: |3 B/ M' o
  58. [DBEXPRESS]
    0 H2 F9 H; q/ D( Y! @$ L
  59. sqldir=mysql_sql! m* c8 I  K* H  ~
  60. Drivername=mysql
    . I: B& ~: z$ |3 R3 u
  61. Database=test9 ?( S5 a* r4 U; Y4 l' j* E
  62. Hostname=127.0.0.1
    & Q- `' h3 _9 H% u& K8 D" i
  63. User_name=testuser
    2 d( g( z1 x# I9 H( Y$ R- a( h  B
  64. Password=my_password+ I0 G' o  J: r. t' t: F
  65. GetDriverFunc=getSQLDriverMYSQL
    ; z, c, V# b+ i7 s
  66. VendorLib=libmysql.dll* p" I9 v: K( H4 K! }! Y( q% J; Y
  67. LibraryName=dbexpmysql.dll" {1 @- e. L* t7 d  ^
  68. Active=1  P2 M# q. V) P' x$ F0 K8 L
  69. ---example----' e6 K8 I6 _- E" F
  70. - written 02.03.04 by pwk.linuxfan
    ! [/ ]* ?0 i' j* ~3 B. U* ~
  71. & Y. d, q2 U0 |" e7 ^+ o( L1 L( X
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看0 w+ E2 I' f, R5 z: J
  1. 8 u9 @1 r& J2 U8 J
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ; V2 F4 q% i. K7 x& X9 ^2 v* j% J
  3. ; v/ O: k+ ?* v) |
  4. # # #我们所需要# # #
    . }  Y; t' f3 Q2 D* D3 X" @; ^3 D
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    & n8 y) f( K) Y% z; j, B4 O7 R8 L
  6. 不会解释如何做到这一点-也有文件存在,为
    , S: ~4 V$ k$ [
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
      y& J8 z9 u7 k$ h9 G5 I
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西; p: }2 k5 P* ]: ~, w' A) {! Y) u+ J
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 k" h! m: h7 c2 `6 o# A; u
  10. 本地机器,这是我的MySQL安装。
    * u) k- K! z% A( e
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从' w$ {5 n$ K+ B1 b+ m
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 5 ]* L$ _' P3 D9 \& s0 U
  13. 数据库。 8 ^! p3 Q0 B" b5 ^$ F
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在" f$ j) `! `% z, u; H+ y" z, G
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    1 L+ A) ~$ Q, V& }) X1 j  {7 J
  16. 在teamspeak论坛,如果你有兴趣。
    % D5 c! C- d* _9 A( o2 i
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机% p- e" C$ _8 t* T* P+ z! Q: F8 m
  18. Borland公司使用。这个司机只能界面与客户端库$ t" a! Q* P4 ?( @! C2 z7 F! [
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    & [3 S6 y! L% F9 A' t# s0 h. J. f
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为5 e* D: I$ F  s! [0 M; |
  21. " vendorlib " ,并解数据库连接。 + l- i, |  f7 L; t2 L9 r
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 * R$ @' I! ~1 A5 h$ U% \7 X4 ^

  23. # E2 ]9 t; k; B6 V7 A& g
  24. # # #做好工作# # # 6 Z. V" @; ]  t, x$ {8 S$ @# G" s$ B
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都/ h( Q& l. n/ n2 C) H
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    . }* R7 Q7 ]" k% o/ `. [1 |
  27. 结束: & F# v# }( e2 a! V) T
  28. ---削减这里--- 2 N/ J6 U5 r; g; g, R# v
  29. [ dbexpress ]
    4 E7 i" n0 i5 v" R+ h' ~' L
  30. sqldir = mysql_sql
    ( A9 D. M0 W6 J  v  b+ Q* `
  31. drivername = MySQL中+ R3 x0 H* w0 j( l
  32. 数据库= your_database_name_here
    ; G  C+ i; M6 X* Z  Q$ i8 {3 N' v# |( B
  33. 主机= the_pc_the_mysql - server_is_on
    # b& Z5 k' l# K5 E
  34. user_name = user_name_on_the_mysql服务器
    1 }" }  s% d9 m* \5 |3 L8 q, L, z) s
  35. 密码= password_to_go_with_above_user_name 2 u1 w0 N2 h1 |% C* T
  36. getdriverfunc = getsqldrivermysql
    / Y! Y' J6 v. h. }
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    - e4 ]- q0 K& c1 I& b8 A
  38. libraryname = path_to_libsqlmy_libary $ D( S3 ^+ y5 W' c8 k
  39. 积极= 1 1 {# b& k2 _8 `. Q
  40. ---削减这里--- ! ~6 I) Z% T5 t: G& w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ; W4 {- J8 r8 R( i' d' {
  42. ---例如---
    & y' b! @2 J( q7 d, ^
  43. [ dbexpress ] 7 N7 L6 I3 w# a  C( ^$ R
  44. sqldir = mysql_sql   a* Y( N8 p  a& A1 I+ i5 [
  45. drivername = MySQL中  l- w2 _' }- `7 }' l+ p
  46. 数据库=测试5 Q: v$ @' q& h
  47. 主机=本地主机
    9 c4 h4 o8 v! b. M
  48. user_name = testuser " t' k/ F* V% I% Y' B5 _, g" I
  49. 密码= my_password
    " n2 s: @+ `4 h+ I
  50. getdriverfunc = getsqldrivermysql ( j# O* ~2 K9 P
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 0 T9 B4 X# p4 T! ~* G# D
  52. libraryname =. / libsqlmy.so
    ! P* Y# i/ t0 u
  53. 积极= 1
    % B, ^8 {) G3 F
  54. ---例如---
    4 [) \9 g1 U+ ?1 {! W9 Z0 v
  55. , Q0 H- p) x2 g# h4 M! l* O# p
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    & {1 T7 [* [4 K8 P) v
  57. ---例如---
    * U: l$ p5 a6 d% g% ?% R' I. v
  58. [ dbexpress ]
      }$ }- F' j5 k0 b2 `
  59. sqldir = mysql_sql # o- G7 @  d! \2 q& q
  60. drivername = MySQL中* t1 G& i7 L; ?" r8 S! {/ _; M* a
  61. 数据库=测试% J3 F: y( h  {( c
  62. 主机= 127.0.0.1
    7 K" Y9 w  X/ R& A5 R% ^
  63. user_name = testuser
    2 w7 f" S9 {+ i! X: U- {) W
  64. 密码= my_password ! e3 V9 a# Z3 U. G# C7 f8 v7 M
  65. getdriverfunc = getsqldrivermysql 3 F* J+ D- ~: M  C& ~
  66. vendorlib = libmysql.dll在
    4 M2 \# [% D; d6 }* x9 K! u
  67. libraryname = dbexpmysql.dll
    . @  G8 A% N4 A" J  F. j6 d3 w
  68. 积极= 1
    3 D' r5 P4 U  H1 d2 w: I
  69. ---例如----
    1 V; J4 K. y) s- d2 X* C
  70. -写在0 2.03.04由p wk.linuxfan
    4 @: ?2 q% e4 e7 E9 N" r9 E
复制代码
发表于 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
$ N0 o3 `. b) ]2 C9 o( T7 X( Y5 E
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-8 07:21 , Processed in 0.110917 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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