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

3618 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan / A& ^9 ], B& R

0 [( S: \8 s" l2 H+ R) S
  1. , ]7 D% D( z  _& O- s  k9 e- \8 e
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######8 Y, N7 S; ~+ m* E$ P

  3. 3 A  b# A' Q. U) H: H, D
  4. ### What we need ###
    . G6 w8 ^: E' G5 h7 F
  5. Naturally, we will need a MySQL server to store the data for us, this document
    . d$ q$ N" L0 c" J
  6. will not explain how this can be done - there are documents out there for the 0 b* U  z6 K1 E, s$ x/ ]
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    2 q- P( U; x1 A6 C4 d5 R$ C
  8. and a user account (username + password) that has the permissions to do stuff
    4 f3 o& G' e  Z1 G% w( n
  9. with the database. Additionally, you will need a vendor library installed on the% v' G) v" @0 S4 x: t9 L
  10. local machine, this came with my MySQL install.( t' q/ x1 j2 p0 P4 G: ]
  11. These instructions will not tell you how you might transfer your data from the3 Q# C& Y  S6 c8 u) Q9 A
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL  u- x# i# G* R
  13. database.
    ; |; x9 s! b9 A  i
  14. Some users have reported ways to import a SQLite database into MySQL, but at. k( S8 I$ N: N& ~6 b
  15. the time of writing, there are still too many issues - check the current status
      T$ ]4 g4 d7 ^- g5 {9 F
  16. in the TeamSpeak forums if you are interested.8 q5 D. Z0 [$ z5 s, E; A
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    $ z1 g6 J+ g3 a! P. b7 i
  18. Borland was used. This driver can only interface with the client library that ' U0 k" s+ z1 R
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this; y" d+ v0 A; u4 a& i5 w
  20. client library - basically all you have to do is to use a 3.x client library as ' v9 i# H2 A; \# W: n( x
  21. "VendorLib" and a 4.x database to connect to.
    " u- @+ j* v! u
  22. If you need more info about dbExpress, you can contact Borland.
    $ _0 t# j; N- t1 }+ P1 I! r0 x! h

  23. 4 g+ [/ H% B/ e6 Z
  24. ### Doing the work ###- j- }0 g3 r2 B6 X0 n
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all$ n, X/ Y1 j+ {* x4 M
  26. the perquisites right, just open your server.ini file, and add this section at
    " X  s2 m. ^* y
  27. the end:0 S6 k4 X, @+ G
  28. ---cut here---
    7 z5 S" p+ B9 W5 L2 C
  29. [DBEXPRESS]( W1 [, z' ~/ E3 b6 O
  30. sqldir=mysql_sql
    7 \; j$ V# V+ [2 r" @8 Z8 |+ _
  31. Drivername=mysql
    - o1 X* R, f& c1 l
  32. Database=Your_Database_Name_Here6 ~6 v) N& `7 k) ]1 t$ Y
  33. Hostname=The_PC_the_MySQL-Server_is_on$ V2 H$ X* w$ L* u0 ~
  34. User_name=User_name_on_the_MySQL-Server5 |" t9 T3 K  Y! ^
  35. Password=Password_to_go_with_above_user_name+ R7 @6 s6 v1 Q
  36. GetDriverFunc=getSQLDriverMYSQL
    ' d  Y" f9 H! p  O) g
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    * n8 _0 [, b, y3 b& g
  38. LibraryName=path_to_libsqlmy_libary3 C; i/ p8 N4 E3 }/ W. c9 G
  39. Active=1
    ; r; h% Y  X! [  P' ~: Z  F  a
  40. ---cut here---
    6 k6 J2 J% h- ~  @
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / R6 {/ x7 Y3 e, X4 M, t
  42. ---example---
    " x2 B* h- A& v  v! j( R
  43. [DBEXPRESS]
    2 I$ ?% [; k% T9 o7 i
  44. sqldir=mysql_sql
    ' r8 Y3 m0 x2 D: L( o) o
  45. Drivername=mysql
      @. [( n' j6 A/ Y
  46. Database=test
    ( y4 q3 I& Y3 H3 @) _+ s* M1 K" s
  47. Hostname=localhost
    9 R  Y( G( b; t$ v5 v
  48. User_name=testuser( ]% K3 H, @5 f* K% ]* y+ f
  49. Password=my_password# E3 b! t1 X: I& x
  50. GetDriverFunc=getSQLDriverMYSQL' e7 q4 x  @# u! b! E/ N" a' @" J
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0& W, W0 }4 J$ p) h7 r0 ^
  52. LibraryName=./libsqlmy.so" f8 e; z2 z' w0 C
  53. Active=1- G1 E% x# @; D, p6 R- I, s: I
  54. ---example---
    " }, _% F- d' o5 R* O0 G# m' @

  55. & Q1 [- ~4 j$ a& M. I* v. B
  56. On a windows box, also running the MySQL server locally, it would be:
    : d! b$ @+ f" F( T+ L- X
  57. ---example---" z, K4 @1 C  t
  58. [DBEXPRESS]
    $ _; m+ S. |5 u! A
  59. sqldir=mysql_sql
    ! o. y3 l, k( m) A. o+ V$ R2 Q
  60. Drivername=mysql
    6 l$ {& Z' x6 k% M  m; |$ z
  61. Database=test
      K. ^: I+ i) ]: e' R
  62. Hostname=127.0.0.1
    ' G9 t) o& S# _
  63. User_name=testuser
    % C0 \0 G- t, \5 w
  64. Password=my_password3 s7 |, L1 R, M
  65. GetDriverFunc=getSQLDriverMYSQL* Z- g: }( {8 @! L
  66. VendorLib=libmysql.dll
    4 i) I' Q$ H& `8 a
  67. LibraryName=dbexpmysql.dll! [3 ?5 [4 H5 m& }. o% m- d
  68. Active=1& Y( I) Q2 K0 M% ^7 U; z
  69. ---example----/ s2 a$ w9 O5 Q" S9 v
  70. - written 02.03.04 by pwk.linuxfan
    + ^+ ^: ^; s, r) u
  71. - q* x: M) z; d# ?/ v: E. F
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
1 t# Y/ v) N/ @" j: X

  1. 4 |. l* L. c2 S* S5 K
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    8 B: c2 U, C4 j# a3 h$ }9 i2 x8 o2 x

  3. 2 D% ^* d5 J6 C
  4. # # #我们所需要# # # , b, l8 T9 r' S  n% C" [4 v
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件: q# _' D# w! S# s5 @, k' u
  6. 不会解释如何做到这一点-也有文件存在,为- S" K0 o% z; t" D& ^- S4 W- Z5 r
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用0 f4 B) Z- t5 ^( F
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西4 ~0 N# X4 ^; z2 f5 ]/ I
  9. 随着数据库。此外,你需要一个卖方图书馆安装于, T# L- Y) {% P' H. _
  10. 本地机器,这是我的MySQL安装。 : g/ S, u& A* i) t
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    8 m0 ~  {) G' X. K0 U) i5 h. H. W- n2 ?
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 1 Y9 a) W9 c, u+ s" @
  13. 数据库。
      ^9 a( C  N7 @/ E4 Q1 E
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在; Y, [: l5 _9 U1 y5 ?
  15. 编写本报告的时候,仍然有太多的问题-检查现状4 [$ A6 V2 L$ j
  16. 在teamspeak论坛,如果你有兴趣。 . f) z- h# u1 |; k% n9 ?
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    8 G! l4 J" M  j4 w
  18. Borland公司使用。这个司机只能界面与客户端库1 }4 y3 x! ~3 M" g7 g
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这/ Q0 c" s3 q* g& z9 `5 N' S
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    9 K  L, p% C* g% h6 m, k+ U
  21. " vendorlib " ,并解数据库连接。 - `9 I: v5 a& M) v! `9 y5 d, H0 v
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 1 }/ Y$ g4 Q# [! @# r
  23. 6 F' `  L7 y$ ]' m+ i4 t' d
  24. # # #做好工作# # # 1 E* A9 x3 N6 D% o- r
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都8 w! Q! E( V3 b+ n, _
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    3 I9 ?, |/ U7 Y0 N
  27. 结束: . i3 l1 {) S+ y* m
  28. ---削减这里--- + \3 o% A# t: t! ?2 a
  29. [ dbexpress ] ! |7 R2 p  ?: w+ E1 X+ c1 w% s
  30. sqldir = mysql_sql
    & U/ T  p7 |7 u" c, t6 u
  31. drivername = MySQL中8 f! X- t: @3 T* f9 M
  32. 数据库= your_database_name_here
    $ V, `( \) i( [! T
  33. 主机= the_pc_the_mysql - server_is_on
    4 e3 x! R7 A, J; A! A
  34. user_name = user_name_on_the_mysql服务器
    ; f6 f; m- D/ W" i
  35. 密码= password_to_go_with_above_user_name
    ; t; _9 t' u& U; t; l7 {
  36. getdriverfunc = getsqldrivermysql 3 J( C4 q2 K* i7 y0 g; p, H
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ) S2 \% r( Z! p8 U. `- o
  38. libraryname = path_to_libsqlmy_libary
    0 O* s7 D! }5 Y' G& f$ H% W
  39. 积极= 1 2 e, I9 g* A' j' B% \
  40. ---削减这里---
    ; K; N' P+ ^5 o% W0 ]  m) \# z) n
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 R- w% a9 R- v# C+ U$ w( t, B
  42. ---例如--- & @$ \: U9 v4 e. |8 H% M' F
  43. [ dbexpress ] 5 Z* ~: w0 T: b7 f9 L, m
  44. sqldir = mysql_sql
    1 T5 M. p3 {' k3 n
  45. drivername = MySQL中
    4 b  ~. Y2 K* Z1 H9 w5 m
  46. 数据库=测试
    4 f( x  F5 R6 _
  47. 主机=本地主机& }6 I; h0 d7 M
  48. user_name = testuser 9 J! R- \+ E: P+ ^( u# e
  49. 密码= my_password # s! @7 o/ V1 \% m6 O9 T8 L1 c
  50. getdriverfunc = getsqldrivermysql
    ; g$ w+ C5 ]# @  }3 c" e7 |
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 # H7 a0 w  ~' F- A* b( G# C- L
  52. libraryname =. / libsqlmy.so
    0 U: H6 a- K5 C- |
  53. 积极= 1
      V  y  W4 l" D% I8 X' f! c* F6 J
  54. ---例如--- ) q% w- K+ a8 W5 G4 F- C5 ?$ v
  55. 0 r# F6 [0 s3 ?
  56. 对Windows中,也运行MySQL服务器本地的,那就是: " G: p" R2 x& C) L# _* G- p
  57. ---例如--- : L8 \- V) B8 w5 |+ d' M4 M, `
  58. [ dbexpress ] 4 `7 D+ ]* ]6 S
  59. sqldir = mysql_sql : W+ {# a! X# d- U0 e1 l
  60. drivername = MySQL中
    7 L1 `3 x: e* ^
  61. 数据库=测试
    6 U$ m. p  H: L& {
  62. 主机= 127.0.0.1
    ! t: n) t/ Q" x( ~/ T
  63. user_name = testuser
    , H" ]( p" I* Y9 c+ s: S( q' F
  64. 密码= my_password
    . d; G) v5 n- B' D" d; B* T
  65. getdriverfunc = getsqldrivermysql
    / [6 N$ s, K1 m/ n& x. f4 ~1 Z
  66. vendorlib = libmysql.dll在& L( l8 F4 k6 X* |6 d. ?
  67. libraryname = dbexpmysql.dll
    9 X5 G9 v' N- q; g) I
  68. 积极= 1 2 M" P% w4 ^% {# [: T( h9 n1 g
  69. ---例如----
    + i$ h7 m' b4 m% [" ]# U9 ]
  70. -写在0 2.03.04由p wk.linuxfan3 G/ B6 c0 l7 \, m  M9 X
复制代码
发表于 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
8 t# e1 K- \9 H6 U. M8 i, `4 H, b& P2 f1 @  ]# T6 m( ^+ l: |4 Y; H
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-12-5 10:03 , Processed in 0.057504 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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