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

2648 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
! A3 ]1 a  O1 I  P4 O' s9 k0 y& B) o! v
  1. ) T$ N$ q9 Q: a8 j; R& h8 r$ m
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ! m5 E3 p" Q  D2 T" T5 e0 i6 d
  3. ) p8 O! L8 Q3 i/ Y# l+ {3 @) X: j
  4. ### What we need ###( N! M$ n5 k0 J6 P& k
  5. Naturally, we will need a MySQL server to store the data for us, this document
    # |5 r0 g# ~6 k7 A$ R
  6. will not explain how this can be done - there are documents out there for the ; ]; ]( S& K6 T# U. _1 `
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    * d4 c5 V+ X( S+ f2 f
  8. and a user account (username + password) that has the permissions to do stuff
    3 z7 R9 C! i7 b
  9. with the database. Additionally, you will need a vendor library installed on the$ ]: H$ l$ |- i" C* ^+ k
  10. local machine, this came with my MySQL install.. W: A0 k8 U5 U1 c9 _
  11. These instructions will not tell you how you might transfer your data from the
    4 x+ d# t8 j4 S) T
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    5 d3 W3 t9 O  C: r# D# M3 O
  13. database., a9 w' w3 S2 j& t0 R. V8 k
  14. Some users have reported ways to import a SQLite database into MySQL, but at- p3 m! O. H4 T( C6 S& m8 O1 D
  15. the time of writing, there are still too many issues - check the current status2 o2 H+ o1 {7 ^" X
  16. in the TeamSpeak forums if you are interested.) Q7 m, l7 a' d% L1 b
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from7 S; j; W$ l. p
  18. Borland was used. This driver can only interface with the client library that - r5 J2 ]% b' o$ \: w' m! i
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this. M1 `( a  m% @- X2 d2 W: e- c
  20. client library - basically all you have to do is to use a 3.x client library as 2 X+ y) E0 p; l/ ?% C
  21. "VendorLib" and a 4.x database to connect to.4 I& J* \9 h: K! w
  22. If you need more info about dbExpress, you can contact Borland.3 P4 C  M! s1 n% D! R
  23. 2 ?% q4 o) y1 B9 J& O. Y- y
  24. ### Doing the work ###
    9 H# q  q8 N  k" T3 R- w1 w! F
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    $ m8 J; X% B6 Z/ F
  26. the perquisites right, just open your server.ini file, and add this section at
    / _& Q. v. s% _) t# k: R9 H3 J
  27. the end:" h" t; _3 ]0 h7 B. E
  28. ---cut here---% `3 ~( [; v' ]5 O- A) V% O6 t
  29. [DBEXPRESS]9 Z2 t( t  e1 ~( D9 i# X$ H
  30. sqldir=mysql_sql
    8 O& n( u: U2 [, Q3 v
  31. Drivername=mysql4 `3 ?. c' p% I8 U  v9 i# D3 `1 w' M
  32. Database=Your_Database_Name_Here
    3 K& p9 W2 j- r% ]) H. H
  33. Hostname=The_PC_the_MySQL-Server_is_on: I' k# B3 P% d' I$ f' o8 M
  34. User_name=User_name_on_the_MySQL-Server; y2 h. H  f6 N' @+ F  r
  35. Password=Password_to_go_with_above_user_name! E* q( Y  p  j1 [
  36. GetDriverFunc=getSQLDriverMYSQL
    # G8 f& K* ~2 b& N$ a
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    & [5 B0 j  U' L' Y2 V
  38. LibraryName=path_to_libsqlmy_libary) @1 Z. e. y* p5 u
  39. Active=1/ Z  F' z8 ]0 v1 L0 a
  40. ---cut here---5 h1 w7 B8 |& R0 [
  41. In my environment (a linux box with a MySQL server running locally) I have:1 c' o0 T/ Q8 g! S
  42. ---example---
    ( E2 t6 Q1 g: y, p9 o, x
  43. [DBEXPRESS]: H$ h; k  P0 `) d6 H% _
  44. sqldir=mysql_sql
    2 t5 Q6 X" N, `* c
  45. Drivername=mysql
    / j( S1 i% E, ?
  46. Database=test
    ! v1 q; {' K. \2 P, B7 {
  47. Hostname=localhost
    , }: ]0 ?, m! ?
  48. User_name=testuser5 a2 b: f' o7 k1 Y
  49. Password=my_password9 T' _" U: H# N& t- q
  50. GetDriverFunc=getSQLDriverMYSQL
    & m' {5 f1 ^: j9 A6 Y4 p
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0, J4 e7 R. f8 R% K1 }" E$ e5 F
  52. LibraryName=./libsqlmy.so0 R  z" y$ p3 X) G6 \! K
  53. Active=1% y, t: t) j  A8 [
  54. ---example---' h: c2 J  T& B# R1 d

  55. 3 S* f1 U1 ]1 o$ g
  56. On a windows box, also running the MySQL server locally, it would be:) @  v! U, |! F( k' S. P2 S
  57. ---example---$ W. ?2 `" P7 m' }  r% @
  58. [DBEXPRESS]/ Z2 ~4 z' O  z  u
  59. sqldir=mysql_sql
    + B6 P4 a" X7 a
  60. Drivername=mysql9 L$ |+ B5 O! D# D
  61. Database=test3 u8 A6 Y9 o- C* D; d: V4 X. O
  62. Hostname=127.0.0.1
    4 c1 G  L" j" O, ?) }& i* o, ~
  63. User_name=testuser, p& J+ A4 Q7 i% ^3 W4 Z
  64. Password=my_password
    ' F  y! X% y( A6 J, I
  65. GetDriverFunc=getSQLDriverMYSQL9 _# o( t3 B+ ~% M! i; N
  66. VendorLib=libmysql.dll4 ?7 e3 P7 B, n: N0 S2 U% m
  67. LibraryName=dbexpmysql.dll- e. I# X8 J6 ]* }
  68. Active=1
    0 S( ~) m3 r( Y& x! m
  69. ---example----
    ' w! j+ n* M: H6 ~1 r( S  ^* V- c5 [
  70. - written 02.03.04 by pwk.linuxfan
    : Q' g" {- x! T9 A5 E" }0 ^

  71. * O- L% ?; x. J( l8 X" f
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看- u' {1 ?3 Z3 a  X1 e
  1. " n2 C) l4 e0 a' x, V* b% k
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### & k4 Z" ^* M1 x" t) x# b/ t

  3. " k9 c8 y# {+ e9 E. S7 C- s+ `
  4. # # #我们所需要# # # 7 Q! }$ B3 C  e5 i# ]# O
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件' E, T0 Y1 q4 ^6 w* W! C0 W
  6. 不会解释如何做到这一点-也有文件存在,为
    + g1 ?' H' X/ L3 Z: f: j$ r
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用* N/ I- n& c4 l4 I; g( F, j
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    / y6 P5 ?0 C# j: G: m
  9. 随着数据库。此外,你需要一个卖方图书馆安装于; t" U- |: e* y, _) [
  10. 本地机器,这是我的MySQL安装。
    6 Q: N- G2 x) `) s6 U
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    + ~9 o& f9 U8 f  `
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL / i( D% i1 m) l
  13. 数据库。 " b# d8 A1 Z! n# R
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在4 t' L9 e0 c6 b
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ; \! ]0 k! O) Q" V0 c: u
  16. 在teamspeak论坛,如果你有兴趣。 # }9 a8 h5 X/ [% Y8 m' M) ~6 W
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# _. T( {9 e9 E! ?; S
  18. Borland公司使用。这个司机只能界面与客户端库7 }/ w1 b* y+ |
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这* z$ o/ K8 ~6 D; m3 t" o
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为" }! K, H0 u% @/ |* t
  21. " vendorlib " ,并解数据库连接。
    0 x, J% q; b  _( N# X. Y( D/ i
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    2 E: G! q2 a3 ?; G' p

  23. 0 y5 a& K, s0 ^0 a$ X( p1 Z
  24. # # #做好工作# # #
    . Z! {. N5 g  ~8 _2 \2 }
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
      L! X% f0 Q& }& L" {1 v. V
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在( V" }! V7 |! B) G0 m- [1 h
  27. 结束:
    : T0 @) S2 l7 U  h
  28. ---削减这里--- # G6 K3 F; L! z. R& G
  29. [ dbexpress ]
    + N* @- l1 F0 }8 G
  30. sqldir = mysql_sql
    ) k* M7 \- I# t' _
  31. drivername = MySQL中
    2 Y1 H3 e5 c; t& D. P
  32. 数据库= your_database_name_here
    + t& t$ M. w! |7 }
  33. 主机= the_pc_the_mysql - server_is_on 9 ^% S6 N1 i# j8 K
  34. user_name = user_name_on_the_mysql服务器  ]+ Z8 |; O3 ~* Q  M! R
  35. 密码= password_to_go_with_above_user_name
    ! O$ Y! k4 x$ m
  36. getdriverfunc = getsqldrivermysql
    7 s. |1 y  F; `, N5 _$ p: e6 e- Z. i
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    3 ^/ F' s; v9 E% ^1 C) Y
  38. libraryname = path_to_libsqlmy_libary
    " }: `" K0 L1 d
  39. 积极= 1 8 }% S7 ]% g# c/ K0 o
  40. ---削减这里--- " ?2 E' c4 `9 M5 E
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ! P4 ]/ |) y, @& @
  42. ---例如---
    ' A- |" Y# _; x! l% Z6 R- H% R
  43. [ dbexpress ]
    1 W' w$ F" e8 d+ E
  44. sqldir = mysql_sql
    3 J! ^' H7 a+ Z; U7 o2 x8 y- b
  45. drivername = MySQL中6 R  ?6 n( U% j5 f  g$ K
  46. 数据库=测试
    7 J! c& h8 e; t; T& h8 ?
  47. 主机=本地主机- ], i+ s0 P" L& W; ]# G
  48. user_name = testuser ) s3 e8 t  c( [) }3 K
  49. 密码= my_password - z* C; |4 \0 {/ B; f
  50. getdriverfunc = getsqldrivermysql + ^, O, e) q/ l5 Z! }1 z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 1 i, T2 W, S6 c7 A& j
  52. libraryname =. / libsqlmy.so
    2 c' {4 f# V: L- @/ D1 u
  53. 积极= 1 7 A' t- L7 C5 B- g; V0 R4 B; t
  54. ---例如--- , r+ B( U) G+ F) g
  55. " R- B8 U2 v  `! x1 `
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    7 x* _' h9 X" s2 O( o! L, ^
  57. ---例如---
    ( O! H4 L9 t/ h! q
  58. [ dbexpress ]
    % E) {( I' `: @) N: ?# \$ X; @
  59. sqldir = mysql_sql 5 H) B/ F1 g' H7 J& X) L
  60. drivername = MySQL中% e3 o; g# Q$ n. C3 s
  61. 数据库=测试1 G# q! u* P5 A1 d9 t# o$ A6 o
  62. 主机= 127.0.0.1
    + K9 s7 c& `" N5 J0 P5 S
  63. user_name = testuser
    / ]+ b3 Y# I5 \* H
  64. 密码= my_password
    $ B* P4 ]- W. b% \
  65. getdriverfunc = getsqldrivermysql / ^# |" y1 s# ^: H4 ]
  66. vendorlib = libmysql.dll在& ~1 Z) L: S9 B
  67. libraryname = dbexpmysql.dll ) B4 r! K; @4 |; z0 Q( \  g
  68. 积极= 1 $ ?) z) V$ j( z4 V  W( _9 b! p4 v
  69. ---例如----
    ' k: W" H. u0 j1 L9 d$ P6 y
  70. -写在0 2.03.04由p wk.linuxfan
    / V- E' z. w6 C. [4 p3 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 words9 m7 `( C3 g- H5 K( c4 R

6 Y2 D0 k2 K; e; Obut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-22 07:24 , Processed in 0.111034 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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