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

2935 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 1 U, B* L$ O  P4 l7 ], G* \

5 I1 Q  r! @9 ?8 |( d9 }% k, E

  1. % K* `" J+ `6 m8 q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######. [& M. X: D0 ~! L  H6 v7 q
  3.   r# g) N: b3 m$ j
  4. ### What we need ###/ V, S2 a) q! f$ l4 e
  5. Naturally, we will need a MySQL server to store the data for us, this document
    $ p7 ~1 n1 d) w2 N4 X3 S( ?
  6. will not explain how this can be done - there are documents out there for the
    6 s# i# p: r/ h( j
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    3 ^) K, @) p9 ~) d% ^
  8. and a user account (username + password) that has the permissions to do stuff
    ) A6 g0 a" f4 @0 t" [  U/ E# E
  9. with the database. Additionally, you will need a vendor library installed on the/ N9 }, Q& d& J+ |4 H& @- `) c9 X
  10. local machine, this came with my MySQL install.
    7 s* H0 d& N& l! g
  11. These instructions will not tell you how you might transfer your data from the8 I% f; i5 ?% t; D" j0 \
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    & B1 n( |$ Z' Q+ |
  13. database.5 _% H4 `$ g- h1 ]4 t. ?
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    % |# F2 f2 e0 _+ E( g, v! n: ?
  15. the time of writing, there are still too many issues - check the current status! [8 q5 ^; |5 A) ^
  16. in the TeamSpeak forums if you are interested.* a" k" O; V/ y# m8 d$ |/ {
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    4 `; v. ?0 Z( {( |. {
  18. Borland was used. This driver can only interface with the client library that / D; j2 I0 D7 d- [9 U: d, q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this5 Q; G) j+ P& h: |
  20. client library - basically all you have to do is to use a 3.x client library as
    & p& q( W# V  o; u: V; K5 X! o
  21. "VendorLib" and a 4.x database to connect to.
    3 j7 A" ^1 v, m. |
  22. If you need more info about dbExpress, you can contact Borland.
    . S# A5 I6 i$ n' a4 Z+ a( J
  23. : z7 P7 P" D& C) X% B  Q
  24. ### Doing the work ###2 K( p% w% y1 D' X
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    5 N5 c; V* i4 m; M+ Q1 x
  26. the perquisites right, just open your server.ini file, and add this section at
    ; E; b0 ?/ ~0 F& B5 u% A
  27. the end:
    & i# D/ k% n# I6 J8 }% K/ \/ D! h1 B( K
  28. ---cut here---1 G& D7 W' y& [! h- [# m
  29. [DBEXPRESS]
    8 K, o& U2 V  j7 g0 ~. A5 X4 B  q
  30. sqldir=mysql_sql; [# J- R, ]3 ?
  31. Drivername=mysql
    6 S8 D# Z0 j1 c4 K
  32. Database=Your_Database_Name_Here
    - N) I3 z) j* R4 A3 u- d
  33. Hostname=The_PC_the_MySQL-Server_is_on/ ~  \  l/ w+ q; F0 r
  34. User_name=User_name_on_the_MySQL-Server
    8 s" I% H  u6 d$ V, _0 o8 j
  35. Password=Password_to_go_with_above_user_name
    9 c6 J; B# N* j! Z. k9 y+ k
  36. GetDriverFunc=getSQLDriverMYSQL
    ' n4 S; k1 o& ~5 Z- ~! x* t
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    6 p5 P- M" w6 V/ ^
  38. LibraryName=path_to_libsqlmy_libary
    # d' ~3 m+ L# O0 o' C" F" {
  39. Active=1- O  P; H; \, `
  40. ---cut here---' h- b  A6 g. l+ E9 \) Z' q
  41. In my environment (a linux box with a MySQL server running locally) I have:! D) @8 m& y6 e% ?% _2 d' i0 K$ e/ ?
  42. ---example---
      }3 P& [% d7 m6 C" |
  43. [DBEXPRESS]7 C9 f! J; w* G) V% s  ?+ s
  44. sqldir=mysql_sql. l7 b3 c2 k/ o: F/ q0 r4 \
  45. Drivername=mysql8 E0 P. L& c$ [/ b4 F9 H! ^/ f
  46. Database=test
    - A% Z+ N2 p8 _
  47. Hostname=localhost3 M- L) e8 r) T( g3 u
  48. User_name=testuser5 @+ k/ j' `& I) ~- y1 g
  49. Password=my_password1 q& J2 F1 Z$ X1 G
  50. GetDriverFunc=getSQLDriverMYSQL
    ( S/ b/ B, p& M' B/ `! \8 s+ s6 t  T
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ( D; l' s7 F  N6 G7 E6 D, o
  52. LibraryName=./libsqlmy.so
    + F8 w5 ~+ U/ n9 f5 j/ j
  53. Active=1
    3 W" E8 U: M% t% \% V* o/ w2 }- W
  54. ---example---& V- f% M& }9 l. W

  55. $ A6 `  I: a7 S# O5 E
  56. On a windows box, also running the MySQL server locally, it would be:% w6 R$ M- A6 {3 C
  57. ---example---; j% `& A2 P: x" y
  58. [DBEXPRESS]# O) w1 _  m6 F& V
  59. sqldir=mysql_sql
    7 P9 k3 c/ L' {1 V
  60. Drivername=mysql
    9 i+ Z+ S9 M" ]  c
  61. Database=test
    * _/ u/ O' S4 b& V1 ~
  62. Hostname=127.0.0.1
    - J4 @. }" w5 L8 G0 J8 I
  63. User_name=testuser" p+ g, ]% i8 Y& q, S
  64. Password=my_password8 }  M: M6 H0 @# c  |
  65. GetDriverFunc=getSQLDriverMYSQL
    ( c- w8 Q$ Y6 w0 ^
  66. VendorLib=libmysql.dll, N" H% R8 X% C; f7 n
  67. LibraryName=dbexpmysql.dll5 ~1 Y) v) [2 L- q% c: R) |
  68. Active=1
    : {. z( ~. y" Y8 C3 W! z& k
  69. ---example----; m9 ]/ [9 t0 u! n* b
  70. - written 02.03.04 by pwk.linuxfan
    6 |4 ?' `6 q8 D9 w  j+ [5 ?
  71. 2 ?% h) d6 M6 ~' }" U
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
3 O1 H0 T  x) V

  1. # \3 H) C; p8 ~) o" P6 v# Z8 H
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    5 H9 e& R0 y% a

  3. . \1 D4 R$ [: k7 h2 H& B+ K! ^+ f* @
  4. # # #我们所需要# # #
    0 c' s/ C1 J4 s9 B9 A9 M1 g' x1 q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ' i9 N4 r0 p! K) p4 B) [1 r
  6. 不会解释如何做到这一点-也有文件存在,为
    * F4 `/ Q' x+ G; }8 J; n  W. g3 Y# o
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用& M, e6 a6 s) z& F5 G/ m
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    . L; A, q, Z3 N- _
  9. 随着数据库。此外,你需要一个卖方图书馆安装于. A0 s# e7 i* \* _: i: D2 e
  10. 本地机器,这是我的MySQL安装。 7 e/ `8 g4 s2 ~* l' Y+ Q* ~+ I
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    - {$ ~' _9 Z8 N* ^. C+ v% Q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL - o) C& `/ V' a" U' ^4 P
  13. 数据库。
    : x$ i5 M4 J* X' @0 \. o4 m
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    - V% l0 {% D* ]/ H7 x; f/ S/ v
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    1 z( Y* B# _1 V. n* R2 J6 }
  16. 在teamspeak论坛,如果你有兴趣。 / u" h. Z2 k' W5 E& E" q: W
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    3 X/ m/ S9 W, v+ l4 J  q# N) h. ]; v! ~
  18. Borland公司使用。这个司机只能界面与客户端库  E4 T: a1 K! }0 s) l/ b1 V
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    / M" ]: c, e1 |4 `5 Z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ( L* t6 a2 M, c" P& k
  21. " vendorlib " ,并解数据库连接。 5 {; V0 A4 x/ `  _- w! G0 L. ^
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    % |' Y5 H7 D! S9 F

  23. ' e! m$ Y  o' W5 F, z8 E) C
  24. # # #做好工作# # #
    ; w5 H- W5 }$ [/ S  D4 H
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    : W: f' ^$ G/ {$ f
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在  ]& _. h1 Z) ^' |* T7 M! u. I
  27. 结束:
    . H6 r% r8 t. l% _" ^
  28. ---削减这里---
    9 J0 v+ b+ H6 X7 b
  29. [ dbexpress ]
    1 F$ ~2 J, S6 E) x! j
  30. sqldir = mysql_sql & c  s+ H: z0 Y  p8 C1 U1 k
  31. drivername = MySQL中7 i: d3 L2 Q4 i- o  V
  32. 数据库= your_database_name_here 3 C$ N5 ]3 C  x0 p+ o% G
  33. 主机= the_pc_the_mysql - server_is_on
    $ S/ x3 e" ~4 W. D% _- w
  34. user_name = user_name_on_the_mysql服务器
    / e. I6 `2 ]7 ]4 G3 N4 D( n* E3 e. B
  35. 密码= password_to_go_with_above_user_name
    4 ]/ J% q: G% [/ c8 @1 E0 S1 i
  36. getdriverfunc = getsqldrivermysql
    3 T9 M4 ^3 c" O# `1 c& a  H( [
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ' _' X  ]3 F2 p$ Q9 e$ c. c
  38. libraryname = path_to_libsqlmy_libary
    ' K' R8 F4 U$ ?+ Z! M
  39. 积极= 1 ( U- I& [/ R7 v- O
  40. ---削减这里---
    9 L) s# O% B3 w7 d# I! z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 7 H/ f/ t- W9 ?3 _! v
  42. ---例如---
    # a# ~9 ?' d4 ?3 e& |$ K1 q5 A
  43. [ dbexpress ] 9 ?' M% D' K' S4 [- c
  44. sqldir = mysql_sql # U/ a0 [% i3 H; {+ m$ G' w3 _: u
  45. drivername = MySQL中
    % J! g0 e" E7 l3 X7 `
  46. 数据库=测试% l; S/ \3 V) U  w7 w: R$ B  Q
  47. 主机=本地主机, x* n1 c7 @, ]6 ?' w& a- U
  48. user_name = testuser
    6 l+ K% D  a+ `' Y+ t7 O4 o; r
  49. 密码= my_password
    % y+ Z+ D* I' h' `  ~
  50. getdriverfunc = getsqldrivermysql ( m; M* ~7 a4 ?2 Y; O. D: S' A
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    7 ]/ P: ~/ H) q, z
  52. libraryname =. / libsqlmy.so + U+ w/ x. m' D% [5 J0 C# r% u
  53. 积极= 1
    9 ~5 l1 ~5 h6 j6 R4 W8 F' q" D- u" L
  54. ---例如---
    * ?6 p4 p0 I6 L& b8 V( C6 x/ q, i
  55. & B+ W  M& K, t2 d5 ?
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
      x, `( J3 {# B" D$ K9 A& q
  57. ---例如--- - M# V, r# X$ g/ ~$ Y
  58. [ dbexpress ] " X5 U* E( k9 e; w
  59. sqldir = mysql_sql # q) Z4 `9 q7 y3 R
  60. drivername = MySQL中) F7 W8 B& j' F2 g/ Y3 E2 [3 H; E
  61. 数据库=测试
    : h" z5 {9 E& r4 `
  62. 主机= 127.0.0.1 * x$ Q- v% N5 \5 g
  63. user_name = testuser & ~8 H$ t* d# {
  64. 密码= my_password
    % [) f8 Q9 Z+ e2 d0 A" v
  65. getdriverfunc = getsqldrivermysql
    . ~" l8 B* N) ]
  66. vendorlib = libmysql.dll在
    5 h" a6 q8 J6 Q( j$ d2 ~  {. q) L
  67. libraryname = dbexpmysql.dll
    9 g; a8 c4 ^" s- m/ T5 W8 j4 f# K2 i
  68. 积极= 1 ' k! E8 f8 ~* a" ~+ \- {
  69. ---例如----
    / |+ m4 {% s& ~! j* @
  70. -写在0 2.03.04由p wk.linuxfan
    ; g& \1 h+ I( F' k& a5 y0 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 words' M) R9 p! p+ }' x+ i: @9 q8 F

' g5 e6 \/ C) k3 v- c2 ~# Qbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-25 08:49 , Processed in 0.095574 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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