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

2519 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
- }$ U4 r* K: ~' ]7 s. }4 M+ I+ A' u8 N; H/ |8 ~
  1. . d$ i3 D. }. F
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######2 ]) t% D/ G/ k& m% R$ S4 J9 @
  3.   T% N1 R4 ]: {
  4. ### What we need ###& m8 O! d$ @: g) [9 v+ ]2 `
  5. Naturally, we will need a MySQL server to store the data for us, this document . d; i# u, Y" X9 k* N" T  H1 w6 K3 T
  6. will not explain how this can be done - there are documents out there for the
    * D$ a- c4 L- e$ P8 j+ g
  7. interested. The requirements include a (empty) database for TeamSpeak to use, J) h- o% n5 g, f& h9 f' H
  8. and a user account (username + password) that has the permissions to do stuff+ N  L7 P$ T9 w+ ?' L
  9. with the database. Additionally, you will need a vendor library installed on the
    # W) U% e7 _# T: {$ k$ y5 w
  10. local machine, this came with my MySQL install.& ?# r! ^8 T6 J5 l
  11. These instructions will not tell you how you might transfer your data from the" I- N8 ^5 _7 e  V# C
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    5 |) S# a$ B7 R# |$ A. A" B7 m
  13. database.6 D' }+ h1 c. p* a) j9 g8 F! K
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    9 o+ A3 B6 s# K- U2 N$ o2 a4 F
  15. the time of writing, there are still too many issues - check the current status" ]* q/ q/ v1 U
  16. in the TeamSpeak forums if you are interested.
    " n7 t5 A2 F7 o) d4 K7 v  T0 Z
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from" b4 S  f& @) v1 t& f
  18. Borland was used. This driver can only interface with the client library that 4 H2 E( k" C2 Q. y9 }5 e. i
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    $ [0 Z) k. L" t6 V4 h
  20. client library - basically all you have to do is to use a 3.x client library as
    ( i1 q, m& j( b, ~0 W
  21. "VendorLib" and a 4.x database to connect to.3 J& U5 `, }( E0 L; Z
  22. If you need more info about dbExpress, you can contact Borland.
    + K% O( l' V" E) ^' v' V

  23. 2 a8 H2 i& |( v0 a, K
  24. ### Doing the work ###
    2 T/ ]% u& o9 b& v' c/ e
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all! _8 [& c5 Y% a( E7 I% j4 p- h
  26. the perquisites right, just open your server.ini file, and add this section at
    , `6 C' N- T0 V
  27. the end:
    " K- Q- a+ U5 D, I  `1 h
  28. ---cut here---% }2 {* ]/ @) [0 E' s" r$ }
  29. [DBEXPRESS]$ i: ^# w% X) @- v  L7 X% s
  30. sqldir=mysql_sql
    ! L% z" v0 s5 W( d- R' P4 c8 N) Q
  31. Drivername=mysql  K# T1 h5 J  C1 ?/ I4 l, d
  32. Database=Your_Database_Name_Here4 E' r, F. R/ B
  33. Hostname=The_PC_the_MySQL-Server_is_on3 x' i) [4 T0 g5 h0 e# s3 c5 C! S
  34. User_name=User_name_on_the_MySQL-Server
    + u' @- S6 w8 C7 a0 i
  35. Password=Password_to_go_with_above_user_name" ^# X* o: t, M# }- n( f3 }* c+ P5 J
  36. GetDriverFunc=getSQLDriverMYSQL
    ! |/ X1 z: U1 E7 I
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ' Q7 c7 y2 B# o1 ~8 e
  38. LibraryName=path_to_libsqlmy_libary
    7 `) S5 F9 |) A$ d% g3 a
  39. Active=1
    9 F! i2 q; o" Z( [
  40. ---cut here---7 Z6 h- G9 a, c& q! p; `: ?
  41. In my environment (a linux box with a MySQL server running locally) I have:- I+ Q# D- H; ^( N5 V1 L* b
  42. ---example---
    ) ]! z! H3 }+ K  x) x* S
  43. [DBEXPRESS]# g/ J  ^: X& w
  44. sqldir=mysql_sql
    1 g: y8 J6 o* p
  45. Drivername=mysql; q/ m# j! {  i- {0 x
  46. Database=test: q/ n8 N! }; j8 g0 g
  47. Hostname=localhost8 p6 K  D; l; m8 z* C
  48. User_name=testuser, ]  ~/ h: x0 R4 f0 V
  49. Password=my_password/ I3 w3 T# j+ ^' s5 A' k
  50. GetDriverFunc=getSQLDriverMYSQL+ p- d5 v( E# T
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0' b% a' L8 }3 Q& A- B
  52. LibraryName=./libsqlmy.so
    - y0 J1 U' [$ F; |% T- b
  53. Active=1
    ) w; ^% D2 H2 w* {/ k
  54. ---example---( U( }6 R8 f9 ]7 m; F/ x4 [

  55. 0 D3 R; `. @; N
  56. On a windows box, also running the MySQL server locally, it would be:9 |/ w" i: l( ~2 N
  57. ---example---; b4 k3 x( R, W# O7 R
  58. [DBEXPRESS]8 g5 E. U. K! P
  59. sqldir=mysql_sql
    & Z) H; i. o0 S! @* G$ C% z
  60. Drivername=mysql
    * z1 \+ W7 l2 {2 b2 G9 L8 V8 S
  61. Database=test4 x4 D. ?; L0 u+ ?; e
  62. Hostname=127.0.0.1) `8 t4 R6 v9 g" l4 ]
  63. User_name=testuser$ m, E0 c- \; n. K
  64. Password=my_password" ~- c* h/ `3 {6 }# }4 g# L5 \
  65. GetDriverFunc=getSQLDriverMYSQL
    ' k+ G8 }( g: S( L0 d& @2 A
  66. VendorLib=libmysql.dll3 }/ B8 e; l! P4 B9 q# ]
  67. LibraryName=dbexpmysql.dll
    2 s+ ]% n% G' H4 d9 y( i/ ^! L
  68. Active=1: w2 F' {' c" U" w/ J# y
  69. ---example----
    % M7 m! V9 d) s. E7 Z9 H
  70. - written 02.03.04 by pwk.linuxfan. b/ |) @. l2 u' D* G$ m6 F
  71. ; z: L& c) N" P8 y7 u
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
' m, \& g% t% t

  1. " Q( t3 V/ ~9 b0 g1 F
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### # h: |. W- I0 J% D5 [
  3. 9 p5 i& o; `% a' r$ h! p
  4. # # #我们所需要# # #
    , V/ i. ]* J& ]# G9 F
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件. J# z5 |* z5 `$ L1 u' ?8 C
  6. 不会解释如何做到这一点-也有文件存在,为/ ?" d3 M- s, h5 w6 z5 s. Y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    6 H6 x$ @/ t  V  @
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    - n' A$ w! o, G& D, Z' L8 b% u
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    . O# U1 R: u- Z2 s5 |
  10. 本地机器,这是我的MySQL安装。 1 r# R3 ~1 J+ N% S. @3 l) N
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    # P  a- s9 g/ c
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 5 \) t+ e9 U: ?) Q' w
  13. 数据库。 * S: ^" r6 [& z9 ]2 b" n
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在3 B8 V, f6 `+ X. }
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ! @3 O# Q* j  m" i
  16. 在teamspeak论坛,如果你有兴趣。 . A2 @% M: y3 ~% U
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机7 N3 o4 e5 w& T: r, o  }7 V2 w$ p
  18. Borland公司使用。这个司机只能界面与客户端库) e5 B% u' B* f: @/ d0 M9 l9 N
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这$ |7 f: G2 p+ @' d& F, G+ N- P0 {
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    3 M- ]0 U7 A  N, J! i
  21. " vendorlib " ,并解数据库连接。 , A7 M1 `' D, f" H
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 & t. Q9 ?) u4 z
  23. . q' O5 P9 n0 C. A9 t4 F
  24. # # #做好工作# # #
    9 [% C( a) `; i2 d% }: @7 O5 P
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ) T( E, q4 K  p+ ~) D. }
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ' t  d& ^) f9 u! c& h- ~/ h
  27. 结束:
    8 k, h2 _7 M& s* l3 I6 A
  28. ---削减这里--- ! Q; m$ a7 h. \$ v
  29. [ dbexpress ]
    ) L, t, w. e' z+ @; S
  30. sqldir = mysql_sql
    ( y5 q% B/ A' f, J0 V
  31. drivername = MySQL中( X0 A$ ~8 X5 g- o9 y
  32. 数据库= your_database_name_here . ^5 l. Y3 J$ d* `
  33. 主机= the_pc_the_mysql - server_is_on & }& G% Z2 L4 U9 j+ I' Z
  34. user_name = user_name_on_the_mysql服务器% N. D+ w' r" n3 E" E
  35. 密码= password_to_go_with_above_user_name 1 A) w' n0 Q8 V8 g- [+ H' K1 R6 L
  36. getdriverfunc = getsqldrivermysql
    # j( l5 G0 {) ]$ P9 U# o
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib # s9 _- ]& y* k2 S
  38. libraryname = path_to_libsqlmy_libary
    2 a/ H. |: [1 u
  39. 积极= 1 0 X( K# J* f- L+ S
  40. ---削减这里---
    + D7 W- H' o7 W( b( i) G
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    , c6 L4 S: x( H! p& c8 M
  42. ---例如---
    7 q3 Z% p" c& d7 u
  43. [ dbexpress ]
    " L, W% I$ S6 C
  44. sqldir = mysql_sql
    7 J! o" w. `: p8 }. z: v
  45. drivername = MySQL中4 }% Y% i) D- N' T
  46. 数据库=测试' B" l, }' T% V  m/ }3 E6 r
  47. 主机=本地主机2 T9 U9 Y4 S* b6 R: W/ V7 Z
  48. user_name = testuser ; q0 E8 J, y/ Q/ l9 M0 G/ ~8 j
  49. 密码= my_password
    $ n- N0 r& d6 A1 {
  50. getdriverfunc = getsqldrivermysql + Y9 o. S0 R. \, A; O7 }$ ]2 ]
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ( e3 t: B# ~& H/ c; j/ L
  52. libraryname =. / libsqlmy.so   s+ F8 N8 Z6 ~. R' D+ v. S5 ^
  53. 积极= 1
    , E* p- [5 ?  F3 p; c( V
  54. ---例如---
    * L6 d% E. O5 P, B( U8 A3 ]

  55. 5 T1 w/ p$ O3 p
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    9 p8 }" o: d" H  S5 J0 P' r- k( D
  57. ---例如--- 1 e$ {, |9 j( B' s; d
  58. [ dbexpress ] $ P; U) {% r8 S9 i# X) d3 b8 ~. x
  59. sqldir = mysql_sql
    2 m4 r, D& a, v8 @2 Z
  60. drivername = MySQL中
    , X" C/ Z7 m! z& O1 b) J0 D6 M/ K
  61. 数据库=测试2 [# u- \2 l% m% P7 \1 U2 w
  62. 主机= 127.0.0.1 9 |4 R5 H$ \6 o  C& J1 h& D; z
  63. user_name = testuser - ^3 J) }# {, u+ |# U3 x
  64. 密码= my_password 1 E" [" c8 x. `$ [9 I' Z4 D
  65. getdriverfunc = getsqldrivermysql 9 a" m% X6 L1 t; ~/ N! ?" _* I$ g8 a
  66. vendorlib = libmysql.dll在
    4 P) s3 R& S6 N' y
  67. libraryname = dbexpmysql.dll
    ; a3 o5 y# [. {8 A9 d- u
  68. 积极= 1
    # o* N# t) x& C
  69. ---例如---- 1 g' ], x, ^+ e
  70. -写在0 2.03.04由p wk.linuxfan1 y! B$ g. \* E5 {/ h
复制代码
发表于 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 words6 T6 w, H+ F6 f  y( u( K
% \$ N; D0 _7 ^( Y1 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-4-16 00:29 , Processed in 0.099529 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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