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

2272 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan $ r& G* g# d$ a: ?7 U

- M0 u  d) D4 Q

  1. 4 @7 w6 G/ T3 Z  R- w
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    # Y' G* y4 q7 N3 S# N8 r$ s

  3. 8 r5 C6 ^4 \% i" K' I) L$ h9 t) s( x- N
  4. ### What we need ###
    & l& S* }" |6 q: y
  5. Naturally, we will need a MySQL server to store the data for us, this document / N) \" F7 w9 @
  6. will not explain how this can be done - there are documents out there for the
    ! c& \' d5 c/ D# U7 X
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ; p9 w! M) f; j& X0 Z  T
  8. and a user account (username + password) that has the permissions to do stuff
    + g$ y0 R' K+ t" {
  9. with the database. Additionally, you will need a vendor library installed on the: O; U# I0 [$ U- t. O* F2 W: \9 R6 S
  10. local machine, this came with my MySQL install.4 _6 E& u$ V+ k3 B! |
  11. These instructions will not tell you how you might transfer your data from the3 G* @. d" S9 a; d
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    2 W, {& W: H, {
  13. database.
    & F) G" t$ s+ x( p
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    # N" Z- n! r( _* z, ?2 a
  15. the time of writing, there are still too many issues - check the current status' q. ~! c% A& o- y  L
  16. in the TeamSpeak forums if you are interested.
    - ^  `% G+ O: V3 J- R& a
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from) Q5 u7 k" f& p! I! a( l
  18. Borland was used. This driver can only interface with the client library that % J9 p$ p- h1 X5 ]( r
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this+ |* ~8 P/ T( ]9 k" J7 f. d
  20. client library - basically all you have to do is to use a 3.x client library as
    - |7 ^$ M* H) h/ ~
  21. "VendorLib" and a 4.x database to connect to.
    8 K% ?& c- t, x" R
  22. If you need more info about dbExpress, you can contact Borland.) b( L0 L( w( B
  23. 4 f6 m, t( F/ n* Y1 @% n- {' t
  24. ### Doing the work ###
    9 R+ J8 t  D  C6 {/ f$ h" f
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all: r, C; q: Y, R/ o/ k# M& e
  26. the perquisites right, just open your server.ini file, and add this section at" f. m3 _1 k( \. \" @% @9 @/ u7 y
  27. the end:
    7 |1 z/ `) v1 U  N: Q. u
  28. ---cut here---
    1 i8 m* W8 c8 C
  29. [DBEXPRESS]
    * Z: z2 U9 u0 X( x' N
  30. sqldir=mysql_sql* \4 J7 z; T- Q$ L7 _
  31. Drivername=mysql
    . e; m1 H5 l4 g
  32. Database=Your_Database_Name_Here  m$ m3 ]9 H( r% ]8 d
  33. Hostname=The_PC_the_MySQL-Server_is_on
    - u5 D) N8 \" N) \1 u
  34. User_name=User_name_on_the_MySQL-Server3 _: M* `% ?2 }
  35. Password=Password_to_go_with_above_user_name5 }  |. [2 U+ N) K+ \: O) l- T2 N& H
  36. GetDriverFunc=getSQLDriverMYSQL
    * T  V. f  s1 L, C
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    8 F3 `6 N0 E8 [9 v  F( {
  38. LibraryName=path_to_libsqlmy_libary3 a( B+ s9 C" b0 Z3 G: k1 T
  39. Active=1
    9 l7 w: h& V) t8 U7 g, P: X5 o/ B; f
  40. ---cut here---& @) e) s# e/ ?6 A) q9 u6 W- k
  41. In my environment (a linux box with a MySQL server running locally) I have:
    8 g9 ~+ J: M0 O$ E5 a& s" ~' E# \  O+ M
  42. ---example---
    8 ~) o$ m# r" c6 w
  43. [DBEXPRESS]
    5 p+ {! Z; f# K3 ]9 `
  44. sqldir=mysql_sql8 t5 L! u9 H- t+ g7 Y
  45. Drivername=mysql
    $ d9 x3 F4 m# f/ ~. H; b
  46. Database=test8 l$ F# Q9 P' J
  47. Hostname=localhost
    . @: h* P% U& ?0 K* ]+ {) w
  48. User_name=testuser
    ( E# h: Y  g) `/ l" Y/ J3 @
  49. Password=my_password
    ) ]2 x$ L( ?! E! u1 ?4 ]% i
  50. GetDriverFunc=getSQLDriverMYSQL. e9 Z5 D0 g( @! Z9 G; J
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0" S% Z4 A5 u5 k7 ?+ c- {/ i% q
  52. LibraryName=./libsqlmy.so1 ^& I' x- b* e
  53. Active=1
    1 L" I: X- a9 b! ^( z
  54. ---example---; Q3 R3 \3 v+ N- `- ~
  55. " u2 i) |3 }" s/ y
  56. On a windows box, also running the MySQL server locally, it would be:
    1 r9 Q: m; n5 {5 U/ q. O
  57. ---example---
    - `7 x0 k9 h6 e0 P. Q
  58. [DBEXPRESS], p5 Z5 L5 C$ U# d, W8 ?
  59. sqldir=mysql_sql+ R& r3 u' D9 z  o
  60. Drivername=mysql# b2 P# ~) m+ z4 t- h
  61. Database=test
    0 B7 m, X. o. w3 i9 O5 p
  62. Hostname=127.0.0.16 o  k# ^5 g5 C% Q6 A% q
  63. User_name=testuser
    3 C) m8 l5 O/ C3 T& k% R
  64. Password=my_password
    8 d! v7 T. _" u. h8 T
  65. GetDriverFunc=getSQLDriverMYSQL( s: d& g: \- K( i5 \7 Q
  66. VendorLib=libmysql.dll
    . v: `5 R0 n  l& A
  67. LibraryName=dbexpmysql.dll$ R$ F7 S0 k- q
  68. Active=1
      S" c4 Z0 k+ N( @  @
  69. ---example----
    # y/ G, V1 r$ R* O6 k* H
  70. - written 02.03.04 by pwk.linuxfan. k& y  j6 t- w4 F$ m" F3 t
  71. ; @" J! t+ \0 t& d* T  B
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看' o0 `* o$ G2 v0 T0 o' }

  1. - |8 g, t! h+ e/ X- v5 y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### $ S& z' _! A0 \/ X) H+ y" U
  3. : N6 D0 J/ j# E5 K; D- @( A* E0 \
  4. # # #我们所需要# # #
    $ l/ \- j6 K7 I) P5 Q0 t/ R$ G1 ~
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件" [$ q9 U- |. v& Q
  6. 不会解释如何做到这一点-也有文件存在,为/ `% V* l6 Z- H4 P4 k. J3 |
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用5 `# J, |* \0 x4 r% |1 C6 k+ Q: n
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    9 p9 U! V0 O5 ?
  9. 随着数据库。此外,你需要一个卖方图书馆安装于4 f9 u* M  {# _, O) R: M$ ?9 A
  10. 本地机器,这是我的MySQL安装。 % {0 [5 P  L6 l
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从2 I! J9 `, G# i
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    4 }9 P6 ~8 P# u8 C' U
  13. 数据库。 $ S4 i% B1 L6 e. b/ B5 S6 A  ?. ?" j) p
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在9 R/ t1 j; m' k$ v3 |
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    6 s, R, s: |2 b" H/ C9 y- j7 i1 E. B! e
  16. 在teamspeak论坛,如果你有兴趣。 2 f+ D, k' U: e& W- g
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 o2 j6 [/ l/ e- p$ \
  18. Borland公司使用。这个司机只能界面与客户端库
    - j) `; A8 y$ B% ?( w3 Z4 M3 s
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这8 j  H% Z9 M8 g$ z( H. u
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为! k. j6 B# L7 J) u7 t- |) ^
  21. " vendorlib " ,并解数据库连接。 $ u2 l3 x! ]( O! K! u
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ; ]: N. F' Y/ t# `

  23. ' D+ L& @* ]8 x7 H) T, V5 u
  24. # # #做好工作# # # 2 F( J( P* B3 d
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都" C# m6 G9 [4 p( }+ Q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    . _# z- R6 }0 W1 O6 ~6 R, O
  27. 结束:
    9 I: Y0 P4 ~8 g1 |3 ^+ V3 t6 v
  28. ---削减这里--- 6 Q( G4 _" R# Z3 B, O. \2 ?2 H
  29. [ dbexpress ]
    9 r' W+ ~* E) v, s* L* G6 `8 n
  30. sqldir = mysql_sql - w; `7 X% I5 c
  31. drivername = MySQL中6 Q3 p  B1 G* H
  32. 数据库= your_database_name_here
    1 L7 `. J1 }9 X
  33. 主机= the_pc_the_mysql - server_is_on " }/ M* x0 x% [* H5 m/ J
  34. user_name = user_name_on_the_mysql服务器. j, r/ `; c2 r3 d# ^5 X
  35. 密码= password_to_go_with_above_user_name ! ]9 ^# |1 k: T
  36. getdriverfunc = getsqldrivermysql . l' _& n- B5 ]" }
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 5 [/ d2 a) U# y+ u* ~2 V# P" g6 A
  38. libraryname = path_to_libsqlmy_libary 2 M( ^7 e7 A' z/ s- v6 r" U
  39. 积极= 1 + D: r/ A  H! Z( R
  40. ---削减这里---
    , u: u2 O! Z# K9 ~! d
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ! @4 {0 S- [% z' }3 j/ g
  42. ---例如--- 3 K7 r, i$ ^6 j' l& L
  43. [ dbexpress ]
    . o% q' @2 n: s
  44. sqldir = mysql_sql 5 t: D. E5 Y8 V4 y
  45. drivername = MySQL中0 |% h4 o7 E! B4 b1 O! s! n% u
  46. 数据库=测试1 D8 g+ R! r& l$ n
  47. 主机=本地主机
    8 {( E, |7 J- \) X5 }: h9 |
  48. user_name = testuser
    2 x& }% j- X! d
  49. 密码= my_password
    ' Z+ _  v, V6 ]  J. M  a
  50. getdriverfunc = getsqldrivermysql % E2 T& Q, A# M" \1 U
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    2 J6 j( x& v# v! w% B* C
  52. libraryname =. / libsqlmy.so
    - f3 }0 M" k( J+ s
  53. 积极= 1 9 {  M8 h4 U8 }+ l+ C
  54. ---例如---
    " g; o# H" C/ P' V) o' J) F

  55. ; i% ^* P& D: D# o* v
  56. 对Windows中,也运行MySQL服务器本地的,那就是: + Y9 ]  ~! G3 \
  57. ---例如--- 6 {3 c8 ~; H8 ~3 A
  58. [ dbexpress ]
    - g/ t9 G. X! o5 Y7 E3 ~
  59. sqldir = mysql_sql * B" H! n; g3 _: Q
  60. drivername = MySQL中- V: t; K( V$ p5 j7 a9 n5 h
  61. 数据库=测试
      D  z1 c2 Q9 [
  62. 主机= 127.0.0.1
    8 A+ O( P* A# |% P, s2 ^2 K% @' h: R
  63. user_name = testuser
    ' o0 ?8 o" ]- t3 ]- v$ M, [
  64. 密码= my_password
    % Y' l: g; `) c4 U* }. ^
  65. getdriverfunc = getsqldrivermysql
    : V7 z& I) [3 S/ e2 a8 M
  66. vendorlib = libmysql.dll在" }' \8 s: k& \- D  s( P
  67. libraryname = dbexpmysql.dll
    * \4 e! d3 o& D" A
  68. 积极= 1 , c/ v$ E$ R. J' W
  69. ---例如---- 7 \: W. K3 ^; _! @
  70. -写在0 2.03.04由p wk.linuxfan8 d. }; e/ R  U9 S
复制代码
发表于 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 words0 D3 ^& I5 ^. P; E% s/ y- P

" U; I+ |8 q* Obut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-7 21:11 , Processed in 0.093092 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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