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

3512 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan * z+ y% r+ G4 F1 t9 [( _

/ ], Y1 J2 f7 \

  1. ( s- N: l5 s! z. s1 F/ j# q5 k" A  t: r0 V
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######+ t+ }9 R( [3 ^, ]
  3. : _. l( h# i& T# u9 l& S3 o  x, F
  4. ### What we need ###
    9 `" }! f& l9 v& `2 x* o
  5. Naturally, we will need a MySQL server to store the data for us, this document
    & Q$ P& H( Y2 P2 D7 R9 g
  6. will not explain how this can be done - there are documents out there for the ' r% P) z/ Y7 u2 E
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    9 K2 Z" [1 u8 h
  8. and a user account (username + password) that has the permissions to do stuff
    ( N7 R/ m) L& B% v6 A
  9. with the database. Additionally, you will need a vendor library installed on the, M4 `* w! y: t2 l: j/ n3 `
  10. local machine, this came with my MySQL install.
    + ^* ]/ f0 P- |) r! a0 H9 ]
  11. These instructions will not tell you how you might transfer your data from the
    5 y' B7 @3 }1 w8 K7 D  [! t
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL  k7 w7 d4 v# ?' I
  13. database.. r/ h/ [8 Q& O' l- i
  14. Some users have reported ways to import a SQLite database into MySQL, but at: N4 V4 \1 w5 H
  15. the time of writing, there are still too many issues - check the current status
    7 ^) W$ |6 S$ P
  16. in the TeamSpeak forums if you are interested.
    : Y2 I+ V! z+ O
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from  P) r* M! L; I, g
  18. Borland was used. This driver can only interface with the client library that
    - J6 T. ?2 U& a$ W# N3 b& T
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this' t9 ~+ ?: x' K" c( y% I; h7 `( D: T( [
  20. client library - basically all you have to do is to use a 3.x client library as $ e3 b3 e8 a4 v* n  O; w- F1 @( [
  21. "VendorLib" and a 4.x database to connect to.
    . p4 Q) {7 N2 y1 `5 R6 j
  22. If you need more info about dbExpress, you can contact Borland." z% ~' `) E, E8 R* ~+ x

  23. % M, T. ~( N: g3 ]
  24. ### Doing the work ###
    9 \" k" _- g% N( O7 I$ b. ~, H, _
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all. f+ h2 [" ^' Y; s# T
  26. the perquisites right, just open your server.ini file, and add this section at
    ' u3 l! i; s0 f& {
  27. the end:5 Z9 v" _  M4 [
  28. ---cut here---
    / U$ W% b/ u8 n/ I$ u! i
  29. [DBEXPRESS]
    ! n9 q, F8 |+ Z3 }3 q) o7 m3 X
  30. sqldir=mysql_sql
    ) z  W1 a, b3 A5 K' ~+ C
  31. Drivername=mysql
    3 k' i+ `4 Q+ H) g" Y2 G7 w9 V0 P
  32. Database=Your_Database_Name_Here
    6 Q# ^5 g% I. B9 O# b; t
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ! {; u( w$ P; Q
  34. User_name=User_name_on_the_MySQL-Server$ [2 t5 }& R3 y6 f# G
  35. Password=Password_to_go_with_above_user_name
    $ m2 S3 P5 {: l* W5 L
  36. GetDriverFunc=getSQLDriverMYSQL8 u& _/ F: p! k# W: _9 I
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib* \6 Y$ i" e2 Q1 G- L4 Z' S! z, V
  38. LibraryName=path_to_libsqlmy_libary
    ! R8 ^( a: T8 B4 l
  39. Active=1
    - z0 d2 Y# h4 r/ q
  40. ---cut here---' c6 {  @2 @( B/ }& E
  41. In my environment (a linux box with a MySQL server running locally) I have:$ ]/ O/ [- a+ E: h4 U
  42. ---example---5 s- P4 H/ p& y' Y3 k# m) Q
  43. [DBEXPRESS]+ Z( u$ D% B* Z
  44. sqldir=mysql_sql
    1 I( m9 X' _. F3 ^6 z( d+ P
  45. Drivername=mysql" z3 X" R9 K+ v+ t; t
  46. Database=test
    7 U+ x2 K# Q2 s0 u" L
  47. Hostname=localhost, \0 B5 o% B; F4 J
  48. User_name=testuser
    " P+ N7 c/ y/ [
  49. Password=my_password( Y! F9 G; |1 n
  50. GetDriverFunc=getSQLDriverMYSQL
    - {; l9 z1 _+ q: M1 k3 A  T5 p
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    & q0 P5 D. j" o8 Y8 N8 l6 j
  52. LibraryName=./libsqlmy.so+ F2 C- ?5 N* u; q2 n
  53. Active=17 O3 x  ^/ I/ @# C) c1 I7 ]# X
  54. ---example---, R$ i- D, l+ c

  55. 0 e2 I4 P$ ?5 L4 H7 s: l
  56. On a windows box, also running the MySQL server locally, it would be:
    + c0 H4 j3 D# H6 z) h+ @
  57. ---example---: J5 o' \, z8 E2 P) S" Y
  58. [DBEXPRESS]
    ' x& d0 m3 d% X& L: o. ~- z. \' f
  59. sqldir=mysql_sql
    ' ~! j+ ~! |0 a% d& P4 a
  60. Drivername=mysql2 L; ]0 Y5 e" j
  61. Database=test- L2 H+ P4 g+ P% \' R' F# Q& M
  62. Hostname=127.0.0.1- m2 X  \( f/ l! M! n
  63. User_name=testuser. E# w' e$ M2 X) ]8 V8 L
  64. Password=my_password! Q- ~1 x, b1 v+ I9 L
  65. GetDriverFunc=getSQLDriverMYSQL
    ! X$ t& B+ B; n
  66. VendorLib=libmysql.dll
    8 u1 C8 Y% B3 p
  67. LibraryName=dbexpmysql.dll
    . B, P3 M# N* V  ]
  68. Active=1
    8 _9 d' X1 w& {. S
  69. ---example----
    2 K# g* v# W% Z8 c
  70. - written 02.03.04 by pwk.linuxfan
    + ^$ g9 o6 W. T; t
  71. / m/ t6 ?" C! M8 z/ D" Z1 L
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
1 ~7 j  o' Q5 n8 ?* w$ G5 j
  1. " d$ e4 w" A3 V# f4 g" E
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ! v% y0 `3 W, p

  3. 6 J# B, c1 [, c3 q, @9 x2 N/ E6 I
  4. # # #我们所需要# # #
    7 L+ n, s, p. F' o7 i
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    6 `/ e& o1 D) n
  6. 不会解释如何做到这一点-也有文件存在,为
    ! G  _0 Y& ?0 ]. E" L) }. K/ @
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用' ^0 d) t3 S+ q% J9 m5 x8 \
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    : l% w4 A- A4 g1 o' H
  9. 随着数据库。此外,你需要一个卖方图书馆安装于+ t9 {* p; t8 R
  10. 本地机器,这是我的MySQL安装。
    8 t6 w/ M$ M! h7 t" C  a3 ~, d
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从, A6 e$ \) C1 s
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 4 W, M4 I- B* t" J0 L
  13. 数据库。
    . l' H9 r4 I$ u9 V% Y6 A8 M# M7 T
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    : G* g' l; F4 B0 V9 I
  15. 编写本报告的时候,仍然有太多的问题-检查现状1 l! G6 N! m. K
  16. 在teamspeak论坛,如果你有兴趣。
    " B7 U: L% P( [- ^$ t' Y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 E' u% t! x( L- ]% s4 u
  18. Borland公司使用。这个司机只能界面与客户端库6 \) q. I$ U: u
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这+ t/ S3 E9 u3 b% \
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为, H4 ~  r# Q( Y9 u) ?) H! U; \4 H
  21. " vendorlib " ,并解数据库连接。   A; m' h  Z+ ~9 l" n4 A0 ^
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 4 b. `9 r, H8 y" h/ ]$ H. G

  23. - b1 z" z8 _3 l% N
  24. # # #做好工作# # # 5 v5 N" m3 ^3 n4 J2 Q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都; p' u* g. E- @5 E$ w& d
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在/ j6 K" L/ J% Y4 u2 A
  27. 结束:
    - q+ H6 C: H+ O& B0 _
  28. ---削减这里---
    " P8 k/ Y3 R: c# V
  29. [ dbexpress ]
    . L2 e4 s$ ]6 s3 ]; x* X
  30. sqldir = mysql_sql
    . R5 v; ^' b  c' Y4 a- T
  31. drivername = MySQL中
    ' r# ^2 b* F/ n3 c$ b% r- }0 c
  32. 数据库= your_database_name_here / g& c1 q: I- s. F' y; n8 X0 S
  33. 主机= the_pc_the_mysql - server_is_on
      j8 d/ A3 l, b- c9 k, M
  34. user_name = user_name_on_the_mysql服务器  j8 h3 v  U8 }6 L% v
  35. 密码= password_to_go_with_above_user_name
    6 h( s6 t" h$ K/ ?
  36. getdriverfunc = getsqldrivermysql
    2 D# R- @5 g9 a% R, G
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib . `8 M* I" ~- {+ X; ^9 h
  38. libraryname = path_to_libsqlmy_libary 9 p/ i; s, A. n6 H' F1 J, e4 C
  39. 积极= 1
    & Z  {  p6 G  L* d
  40. ---削减这里--- ' L; y/ }9 O! N  d) m  w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    0 S; o  F3 C, Z8 B. _6 F
  42. ---例如---
    + n' ^/ ~. m, ?7 {( h
  43. [ dbexpress ]
    9 }) Q# ^9 n# t* e, }
  44. sqldir = mysql_sql   r) _7 t* l9 V+ H
  45. drivername = MySQL中
    ( g; [' u2 p8 J9 l- F
  46. 数据库=测试$ F& J! X8 D, N
  47. 主机=本地主机+ F; r" F* {, I. K# d* g# i
  48. user_name = testuser ! t4 R1 l# }9 q8 y# I( f
  49. 密码= my_password
    , n9 p. k6 L6 Q$ h
  50. getdriverfunc = getsqldrivermysql 8 H+ K: `4 Q  ]/ Y. H) Q, l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ' ~5 E  p1 X# F) R  V! e. B8 y+ {
  52. libraryname =. / libsqlmy.so
    , U' q: G2 N" H5 U, j
  53. 积极= 1
    8 U/ t: m( Z3 u- a; _4 g
  54. ---例如--- 4 `8 u, P9 j/ q8 e  T+ ~  A

  55. 5 H2 R, L5 j* @7 B. Y' ^+ Q( p
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    2 U7 i+ a$ q; z. ?: _( [) `7 H' x+ G. W
  57. ---例如---
    0 w# I$ U! Y, ]' f) F' \
  58. [ dbexpress ]
    % c3 m% ?" o5 G& i: K) l
  59. sqldir = mysql_sql
    ! B3 A3 A. |5 }6 R& N( ?
  60. drivername = MySQL中
    9 x5 B3 y8 v4 p, P
  61. 数据库=测试
    . N8 Z2 p" O* P& M+ B# n
  62. 主机= 127.0.0.1
    1 x- w3 C, Z: A7 s% N  J8 m
  63. user_name = testuser
    7 B1 x( d) f; F: H! ]: U7 L
  64. 密码= my_password
    ! U- V8 O& y. Y8 ]2 G9 ^) j
  65. getdriverfunc = getsqldrivermysql 4 |" D* |. `$ I& J, |0 g
  66. vendorlib = libmysql.dll在4 s" _- C+ S2 k
  67. libraryname = dbexpmysql.dll
    * d$ u& t5 @8 n1 m' {4 U
  68. 积极= 1
    " l9 w! p; Z& a1 D2 t/ u
  69. ---例如---- 6 t/ K, ]8 w7 a0 k8 _
  70. -写在0 2.03.04由p wk.linuxfan
    3 d) L7 K5 a& A3 ?* q& m1 p. N
复制代码
发表于 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
$ ]4 q. ]* t7 g. S5 P2 z$ ?9 r+ P* L* G; n! z- V
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-14 05:28 , Processed in 0.065242 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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