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

3481 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan + A% c+ W# b) Z- J

# j# {7 ?# Q- M$ \* }
  1. 5 i% X: V  }+ o: a9 `2 ~# q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######" U! {5 I, [/ a3 X# ]( \1 b

  3. 0 G, ~6 J" K, Y) b0 h3 F
  4. ### What we need ###
    / ?* ?- }6 Q+ d# u
  5. Naturally, we will need a MySQL server to store the data for us, this document % r! C" @' L+ b
  6. will not explain how this can be done - there are documents out there for the 1 e! E$ @# ?1 d; b2 P. p% V
  7. interested. The requirements include a (empty) database for TeamSpeak to use0 ^2 F( k. o0 ~: Z* X2 I( w* u
  8. and a user account (username + password) that has the permissions to do stuff
    + M* d' Q7 M8 T8 v2 c
  9. with the database. Additionally, you will need a vendor library installed on the
    3 Q4 f( }1 `# P  [
  10. local machine, this came with my MySQL install.
    + N( d7 F4 |! q. i% G% c# w
  11. These instructions will not tell you how you might transfer your data from the
    * a7 `1 F1 D3 m1 M9 F6 C
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    & g9 P; t; |2 j
  13. database.
    3 \9 C& [$ V  t4 o" o1 h
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    + g+ L7 U' w5 ?- ^" h
  15. the time of writing, there are still too many issues - check the current status
    8 O, R. q+ V# f3 g; r: k3 ]3 \
  16. in the TeamSpeak forums if you are interested.
    + O, f$ p+ Y8 A" ~( ]
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    1 g7 y9 ~1 n" Z# a2 f
  18. Borland was used. This driver can only interface with the client library that ) g  q! _* l* q( x0 V2 x8 W/ m) \
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this+ p+ E/ ?, |8 Z) x- B
  20. client library - basically all you have to do is to use a 3.x client library as , P  ~9 g, |! R& Y
  21. "VendorLib" and a 4.x database to connect to.: C' T/ v! Z7 I( a, [7 H4 t
  22. If you need more info about dbExpress, you can contact Borland.
    . z! |% y3 W" ~' |

  23. ) o+ {6 F1 h. v* w7 d% \2 S% L
  24. ### Doing the work ###% S5 \/ Z, |% U" C
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
      N! P0 P1 D0 o& n0 p7 U
  26. the perquisites right, just open your server.ini file, and add this section at
    / t" C* f* S# _: K3 T  i
  27. the end:
    & f5 W! O8 ^' [. U
  28. ---cut here---
    9 J  q- T9 @3 H3 M
  29. [DBEXPRESS]
    & \4 d' z' L2 ]2 ~* K* B8 a/ ?; R
  30. sqldir=mysql_sql; |, j4 n/ b- ~5 s" C
  31. Drivername=mysql
    , }  C" q. i, J
  32. Database=Your_Database_Name_Here3 M- m7 g) g. [- O
  33. Hostname=The_PC_the_MySQL-Server_is_on  X( R- D! p) y
  34. User_name=User_name_on_the_MySQL-Server) ]+ N$ M$ O+ W. n/ o4 M
  35. Password=Password_to_go_with_above_user_name1 C/ m: [' _, _! b% t5 I
  36. GetDriverFunc=getSQLDriverMYSQL
    ' H  I. L% a$ b, Z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    4 u- ^0 C: r  E% k
  38. LibraryName=path_to_libsqlmy_libary% L5 A0 ]8 `% w; X' z( R
  39. Active=1% g3 _& T3 v7 G- J; h
  40. ---cut here---7 V1 a3 E. m" t! a1 y8 o4 @
  41. In my environment (a linux box with a MySQL server running locally) I have:: }4 a  P( a5 o: t, B) X9 u4 K
  42. ---example---
    ( \& J5 ]2 Y9 Z" W
  43. [DBEXPRESS]
    4 v" ?5 z. y& p( p. q
  44. sqldir=mysql_sql$ p$ b- |0 F8 `; K; O' |" q
  45. Drivername=mysql
    " f9 F0 B0 \6 V2 k
  46. Database=test) a8 O. a/ J0 K; k. l
  47. Hostname=localhost. d# J" d6 ]' d8 K; a
  48. User_name=testuser
    / n# F8 d7 z! F, W5 p7 e  x* Y
  49. Password=my_password5 V- x, |. f- f
  50. GetDriverFunc=getSQLDriverMYSQL; o8 R' ?7 Y: J
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    5 \1 w# C7 \6 g' {. {3 ]
  52. LibraryName=./libsqlmy.so) S( `' K; k5 a2 A. m
  53. Active=1
    * k; j4 n' r- V+ s) q
  54. ---example---6 V2 K$ j0 F: U0 T: |7 c

  55. * `3 H' B1 \8 s+ s
  56. On a windows box, also running the MySQL server locally, it would be:
    + d+ [6 o0 |4 _( X# ?
  57. ---example---
    ) I6 d7 E5 V- v' z
  58. [DBEXPRESS]+ x. J7 a: c* t0 _! u$ |$ k& s) z
  59. sqldir=mysql_sql
    5 q8 a) s' {/ ~2 h$ f
  60. Drivername=mysql
    6 o' e7 W3 x  S* W. i. ~' {
  61. Database=test
    8 ^* Z1 ]0 H8 o7 H6 P4 T
  62. Hostname=127.0.0.1  m  p. V+ @% Q6 `4 }7 }) Z
  63. User_name=testuser
    7 o6 y  D4 G/ k- {+ P4 F
  64. Password=my_password
    ' E% g  O2 f9 d3 y$ D. Y
  65. GetDriverFunc=getSQLDriverMYSQL9 Z( F4 U4 x( i$ a% @
  66. VendorLib=libmysql.dll* J, f: {1 b, I  e1 w2 |
  67. LibraryName=dbexpmysql.dll6 q) ]. n' U6 y, m
  68. Active=12 T. X" r' P+ h% N$ e7 X& Q
  69. ---example----
    # j, e& e9 {3 o- S8 v7 V: D
  70. - written 02.03.04 by pwk.linuxfan6 n) B* D% R8 y4 v- V' G3 ^1 V! f  K
  71. # f+ o+ i% _# X; f
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
1 k) Q! ]8 V! ?: d

  1. 7 o- \  i9 q# k" J5 A1 F/ f8 b
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### + F" a8 r' k) T/ \6 v, e* E% B
  3. / ]2 d1 u; z  }7 z# \
  4. # # #我们所需要# # # & K3 j+ G" r# i0 x( c- y1 G
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    - c; S  T! f* a7 b) b% V/ Z% t) v
  6. 不会解释如何做到这一点-也有文件存在,为0 {5 p' j1 r! ?. t4 F: W
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用7 u& l: `7 e! H9 p) H
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西+ V, \5 h' L) }) n
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    0 q5 ^; I8 ]6 f+ @" m, }- U3 m
  10. 本地机器,这是我的MySQL安装。
    % Y4 t4 @1 p: e' ]) `/ Q8 ?2 X) r& Y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
      W$ N; ~9 ?1 O- z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    # e3 \  s6 l" u: T( Q8 z6 H
  13. 数据库。 ( _, r' q" \" v& }
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在4 p3 ?1 P- v; N2 K* m$ B. k
  15. 编写本报告的时候,仍然有太多的问题-检查现状1 q" z4 j4 J. c3 \! H
  16. 在teamspeak论坛,如果你有兴趣。
    & ~7 c2 g7 z0 x/ a
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机, U9 K5 Q$ e' B2 h# Z$ v- M
  18. Borland公司使用。这个司机只能界面与客户端库. P9 M: B& E2 Z! A
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这! o6 B" \3 h7 B, H
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ; ~1 j8 _: f5 |; h
  21. " vendorlib " ,并解数据库连接。
    " d' P$ `; z+ g* K9 m
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    * T3 `' V* [" F4 u9 @) {

  23. ; [6 \  A2 p8 I! M- y8 j3 W' {
  24. # # #做好工作# # # 3 f" E0 K+ F) E0 W& a
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    . @1 s% n0 d2 Y% {! z: H7 Y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    6 n/ l. Y& J7 h" }: Q. \( q
  27. 结束:
    : A' t: c9 w7 p- j# J" p
  28. ---削减这里--- ! [9 r4 n5 R  x# x' q8 A% s
  29. [ dbexpress ] ; H* ?/ i# U4 i" i6 Q- {; z5 l
  30. sqldir = mysql_sql
    / {7 X- V! a) W5 }$ Q% X, j
  31. drivername = MySQL中# t# X9 ]6 u3 \# E- S! e0 z
  32. 数据库= your_database_name_here
    9 Q# S& `. t. `0 C- i" l
  33. 主机= the_pc_the_mysql - server_is_on
    7 b) ~/ F5 V1 T* I, O: A
  34. user_name = user_name_on_the_mysql服务器
    9 g* J. P  X5 y! l5 X* r" U1 f
  35. 密码= password_to_go_with_above_user_name
    ) b' a! v( b. T! P. V! K' }; ]; H
  36. getdriverfunc = getsqldrivermysql 3 m3 n4 @2 q' v0 K' D! U: V' n- f% z, n
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    # O0 W0 G! u( M4 x* ?4 ^/ m
  38. libraryname = path_to_libsqlmy_libary
      j4 _. V0 F4 r
  39. 积极= 1
    ( i) g5 v/ c6 D8 K9 z$ L+ x6 ~
  40. ---削减这里--- " g: K2 G5 w; s& @+ [2 Q, x
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    0 B  X  H# V! F2 U
  42. ---例如---
    6 `% D" M- H1 S4 z) s, a' m2 O4 J
  43. [ dbexpress ]
    3 G& D# J. x) s% g& t
  44. sqldir = mysql_sql
    / t. Z+ h8 n* Z5 m2 M% g
  45. drivername = MySQL中" C1 E$ {' [9 J0 ~
  46. 数据库=测试8 G+ \" L5 G/ _# v
  47. 主机=本地主机4 `1 ]# Q* Q9 x9 C  \+ u
  48. user_name = testuser 8 @1 F' X$ {* j9 O
  49. 密码= my_password
    0 a7 ~/ `# Z: Y/ Y( D
  50. getdriverfunc = getsqldrivermysql
    " o; P) a3 ~: [$ w2 _/ [9 a1 l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 7 z2 p& V& J$ I2 Y: M, s5 R
  52. libraryname =. / libsqlmy.so 6 Q( W1 A6 h( s2 c6 z0 B8 V
  53. 积极= 1 1 x, Z8 x1 P: `* L% p
  54. ---例如--- + T+ L* @) s* _- ~9 x
  55. ' L- Y& `  W& y" B( J' p5 R
  56. 对Windows中,也运行MySQL服务器本地的,那就是: & S* {7 m; F- c, D1 o$ t
  57. ---例如---
      x. `1 U, k( s5 c! ]
  58. [ dbexpress ]
    ! P. F3 Q# G$ V# M5 f
  59. sqldir = mysql_sql % r, B8 k/ g$ T! t# b* f+ R5 _# }
  60. drivername = MySQL中! [4 U8 F; d: l  o- B9 q8 a) ~5 I
  61. 数据库=测试
    . }2 c$ G$ @- z- V# N! ~5 q- m/ d
  62. 主机= 127.0.0.1 # D* f2 a1 W! U- ^- a9 q+ `! s( ~
  63. user_name = testuser - i" @% ^" E( b5 r! c- |
  64. 密码= my_password
    , }& v( U4 g  L6 H) K
  65. getdriverfunc = getsqldrivermysql
    " b" X: U4 A  |1 u/ \& s
  66. vendorlib = libmysql.dll在6 J5 k  `6 ]; d  v+ u- B% r; I3 U
  67. libraryname = dbexpmysql.dll
    # }9 ~8 J9 p+ j9 v
  68. 积极= 1 * Y) x6 U; _2 d- V6 G
  69. ---例如---- % c2 C( [1 D; P3 i6 J
  70. -写在0 2.03.04由p wk.linuxfan
    ; Y! r5 B; |6 _; e6 `2 U( a$ a/ \
复制代码
发表于 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 words1 ^% q3 e* g1 |* e" E. O
' t0 U* M5 _$ s  N- p5 k$ O
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-6 07:01 , Processed in 0.064582 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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