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

3261 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
7 w1 ~' ]* e4 n5 ]0 s; t0 R2 z, |% Y5 E% @

  1. 2 H7 g2 Z- j/ z  `" p) r& e0 q2 r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######7 f5 \5 \3 e5 _4 q+ b+ N2 D

  3. $ D. M( ~' v8 ]; k# w! Q% c
  4. ### What we need ###
    1 ?) }! [6 b$ H! R1 n  K
  5. Naturally, we will need a MySQL server to store the data for us, this document
    & y. K4 G5 d  M8 N9 Q. k3 w
  6. will not explain how this can be done - there are documents out there for the : z9 ]+ s6 J  T( _! v9 p9 e
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    - _1 w5 W: g! v; K  R
  8. and a user account (username + password) that has the permissions to do stuff3 n5 r( Y$ h6 i' @. ^
  9. with the database. Additionally, you will need a vendor library installed on the
    3 x8 H) g3 y' k5 h/ x+ Q+ e
  10. local machine, this came with my MySQL install.- C; y  o* z' \& m% i& i4 L
  11. These instructions will not tell you how you might transfer your data from the- L$ y. B2 o1 A0 H8 H. P2 Y7 K
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL5 _4 Z5 g- Z$ y3 l3 J# z
  13. database.) p! l' D- N: s- ]- s
  14. Some users have reported ways to import a SQLite database into MySQL, but at; u, f$ Y1 `( J! o
  15. the time of writing, there are still too many issues - check the current status
    , A9 J. n# i! q% A; P, C0 g
  16. in the TeamSpeak forums if you are interested.
    % g1 m/ j4 j- A" m
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from6 a* d* r5 ^, K  ?2 [; V
  18. Borland was used. This driver can only interface with the client library that 9 j( t) P% t% r' m2 e
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    $ i/ o, s" L( ~3 C
  20. client library - basically all you have to do is to use a 3.x client library as ) k1 `+ l: k; h$ C9 T" b
  21. "VendorLib" and a 4.x database to connect to.
    ! t- U7 g' e" b* ?& x( W+ c
  22. If you need more info about dbExpress, you can contact Borland.
    " x3 Z7 S. g$ x" T$ X
  23. 2 c8 B* P- i! O1 z7 t3 k- K* L) f; U
  24. ### Doing the work ###! B$ n7 x0 d( T, n8 g& |7 p! ^- T$ U
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all- M' Q( y8 O  a+ ^- b$ M* W4 Q- ^6 r
  26. the perquisites right, just open your server.ini file, and add this section at
    5 M3 z! y9 b6 L; L
  27. the end:9 F  h' {4 k  ]' L" \5 y
  28. ---cut here---4 _1 k( z* U% s1 U% ~, ~
  29. [DBEXPRESS]
    % F' n" x  X; b( K
  30. sqldir=mysql_sql
    * h; G$ s/ D4 Q8 V7 |
  31. Drivername=mysql
    - i+ ?  A* W* J4 i6 t
  32. Database=Your_Database_Name_Here; K" w+ W/ B( q2 B3 s+ X
  33. Hostname=The_PC_the_MySQL-Server_is_on) R* [9 s6 B9 w2 G
  34. User_name=User_name_on_the_MySQL-Server
    ; T9 W! V% F" D4 Q4 p# L
  35. Password=Password_to_go_with_above_user_name
    - e1 ]# B: s, }2 J6 B: G; h* J' @
  36. GetDriverFunc=getSQLDriverMYSQL
    ) g5 _3 T$ i! _9 S8 \( e- m
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib3 _3 P- W: }% {9 P4 a4 i, v
  38. LibraryName=path_to_libsqlmy_libary! h1 l  h; }9 ^/ F& ~$ |9 I
  39. Active=1$ t) m. \7 m' A& c* K/ r+ w+ \  y4 _
  40. ---cut here---
    - i  L. ?; e8 Z0 o: g2 Y
  41. In my environment (a linux box with a MySQL server running locally) I have:5 ^9 V- X; ^" U
  42. ---example---& p; ?5 g, C. H4 Q
  43. [DBEXPRESS]" L  t; [( W- ~
  44. sqldir=mysql_sql
    : f, `, K2 l# o
  45. Drivername=mysql
    + G  c) c( a" M0 Z/ Q
  46. Database=test* ~4 S7 h. b# {! K. s0 `) N; ^
  47. Hostname=localhost
    6 Y. Y9 Z2 B/ {. v' F. P) M# [. O
  48. User_name=testuser
    ; d  }) k: }" k; A4 o( V8 Z% H
  49. Password=my_password3 U0 @' ~" t9 a& O: b% H# X
  50. GetDriverFunc=getSQLDriverMYSQL- D# H7 U) D* r' c
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    & ?! ~" q) n4 {* @5 \+ }# }' E$ ^
  52. LibraryName=./libsqlmy.so4 m* v$ l4 p! I4 c
  53. Active=1
    : c5 `& W$ h, _8 J  @0 L+ f9 y, l2 e
  54. ---example---" H1 v0 ?8 O) n, R
  55. 1 L% ?: Q3 ?0 V9 T/ ?6 D4 \
  56. On a windows box, also running the MySQL server locally, it would be:8 W) n! J( @! h& Z
  57. ---example---$ Y3 ?) m+ B( v2 V
  58. [DBEXPRESS]
    4 v. c) F* X0 Z
  59. sqldir=mysql_sql2 X! p" }; ^" ^( c
  60. Drivername=mysql( H# v# d! Y" W& K
  61. Database=test, K. o6 {( ^$ f7 B6 v* O5 Z4 Y
  62. Hostname=127.0.0.1  u8 a( L3 l* J- ~: f1 [
  63. User_name=testuser
    + Z& ^9 k6 y+ [0 {% [/ F
  64. Password=my_password
    3 I( X; u: ]1 V
  65. GetDriverFunc=getSQLDriverMYSQL0 {$ ~. v' ~/ R& Y: J
  66. VendorLib=libmysql.dll: j' \% @6 h: \
  67. LibraryName=dbexpmysql.dll2 ?* Z; d' ~" H- Y: l) G8 e& W2 {
  68. Active=1
    - M/ o# ?. _6 |+ y0 v+ X
  69. ---example----
    - \/ y& P1 G) C) K, o2 Q
  70. - written 02.03.04 by pwk.linuxfan
    5 P7 x# z; l( }% j6 \- f. M
  71. 8 N" D7 D+ S0 S% k  I
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看) ~/ y+ e! V9 {8 Q7 ^( s
  1. & V% c8 S: h5 m% G- k8 D! u
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ( W/ o( J6 w% E9 T

  3. % u0 y5 E5 w4 N# V9 W
  4. # # #我们所需要# # # , [5 V( V% H/ Z" K" W) n/ K7 x0 X" H, a! ^2 S
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! E6 s3 e, t! o8 b3 }. H; a
  6. 不会解释如何做到这一点-也有文件存在,为  i5 r! X- i' e8 [
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    8 W! m1 n8 t/ j% H  l% K+ O
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西' p  {$ _' X  D; S0 [' k
  9. 随着数据库。此外,你需要一个卖方图书馆安装于( Z3 T' n9 }" n( [
  10. 本地机器,这是我的MySQL安装。
    & ]9 g4 p+ A5 ?* q
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    3 Z2 d* E% D$ ?
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 4 K. `' `1 N; O9 B
  13. 数据库。 . X0 n, Y' ~7 R, A4 \
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    8 M' C, j9 j9 M- q& }# k+ @
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    6 P7 u* d  X( |, e! v
  16. 在teamspeak论坛,如果你有兴趣。
    6 r; a' W. t; s% y* ^
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    2 W4 o' @0 h7 d# V
  18. Borland公司使用。这个司机只能界面与客户端库2 z7 I1 G0 W1 z/ W% q, \
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这7 Y+ W6 W; h& z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为+ X( l1 w! H, `2 t1 q+ ^9 y
  21. " vendorlib " ,并解数据库连接。 # }) F. p0 ~* Z/ ^
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。   M* }- n  K3 r/ Z3 i2 ^

  23. 3 S, O8 M$ W+ F+ [% ]3 _+ R
  24. # # #做好工作# # #
    4 G0 b' G) A2 u5 e
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    0 o" P4 ~2 k" Z# _( \3 w, M$ [/ M
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在/ R1 c( C0 ?* u2 B
  27. 结束:
    1 w$ i+ _" `) P! ^1 J" n- E
  28. ---削减这里---
      [( z. l2 _% G
  29. [ dbexpress ] : {& |  p* l1 R, D& [1 n7 @; k% g" C( E1 a
  30. sqldir = mysql_sql
    ( ]2 h" r! t; R+ u
  31. drivername = MySQL中
    ! l- f& K) u: x: A9 Q' m# I
  32. 数据库= your_database_name_here % s' b& y: U% }* ~1 I% t
  33. 主机= the_pc_the_mysql - server_is_on 6 W8 }8 Q+ F$ Z' i
  34. user_name = user_name_on_the_mysql服务器
    2 }! F3 f- J+ ]$ c8 ?
  35. 密码= password_to_go_with_above_user_name
    ) U, `$ O& W5 s) N! J, ^
  36. getdriverfunc = getsqldrivermysql
    * p. B! I0 B: ~1 h& q  a5 U
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    : p9 }4 ?* x$ g0 R
  38. libraryname = path_to_libsqlmy_libary . u/ Y8 B% t$ y+ ]  U5 }. ]
  39. 积极= 1 . M- l6 d4 h! ?- a
  40. ---削减这里---
    " G7 z8 v! ?/ |. {( g0 b/ m
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    8 r/ L% f7 Y) G2 y
  42. ---例如---
    * ?. [" Y- S6 L4 }* Z" i) \! r5 h* X
  43. [ dbexpress ]
    # ?& u0 r; p$ p7 o8 B( j
  44. sqldir = mysql_sql & K7 s; s( j  F! I1 {8 z
  45. drivername = MySQL中
    " J( S6 M5 r% ]2 @- |
  46. 数据库=测试+ L; E  m& Q: F# `' u9 h$ ]* j
  47. 主机=本地主机% T. ]7 b1 X6 g) Q6 \
  48. user_name = testuser ' T% g+ \7 W3 o' ?
  49. 密码= my_password 5 W; {3 I: q- n# Q/ \! C+ ~
  50. getdriverfunc = getsqldrivermysql 2 Y6 J* p( k8 C& T. y' K8 @- j/ E! _
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    $ L* n* \( V6 ]" K2 \* c$ l; d+ u
  52. libraryname =. / libsqlmy.so
    4 `/ n" `0 l& w2 V7 m6 t# v' g- y
  53. 积极= 1
    " g( T& p' |: T3 x
  54. ---例如--- 6 a' c3 L  q; F/ r' v4 E% x5 `
  55. & P! q) V8 G. F7 q, _8 a
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    " K  y) P, b6 X1 M( s0 a# G; k
  57. ---例如---
    5 f7 ]: M8 L8 A0 c8 J* A
  58. [ dbexpress ]
    ; @9 b" o% y0 y0 b0 G# U
  59. sqldir = mysql_sql
    , l( B; Z0 q4 p: d; U: S# k
  60. drivername = MySQL中( T* [, v! o2 k+ e
  61. 数据库=测试" K9 J, s; l5 ?; G6 Q) G
  62. 主机= 127.0.0.1 $ U# @* Q# m3 b) s; y1 F
  63. user_name = testuser ) w9 k$ J* J% M0 A1 R: Y7 f
  64. 密码= my_password 0 B# ~( q$ @8 i% c2 H6 l
  65. getdriverfunc = getsqldrivermysql
    : C/ _2 I/ r* a
  66. vendorlib = libmysql.dll在
    ) S" q7 e; R( {$ E0 J0 H
  67. libraryname = dbexpmysql.dll ' [& I6 b0 U, h$ Q: K% ]
  68. 积极= 1 * v0 y6 ~% d1 {; ~! B) k: c* g! Z
  69. ---例如---- 7 X1 v+ p& u2 i6 Y5 ?0 P; n6 r4 l
  70. -写在0 2.03.04由p wk.linuxfan, x. R1 j( p3 G* L
复制代码
发表于 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( Y8 s, P2 y9 f2 o1 K
* f+ R1 Q( K  \- X
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-30 07:29 , Processed in 0.085655 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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