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

3145 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan * T/ }& m$ n* w: b# z! ~
1 i* }1 V" x- Z+ o4 i, W7 N$ ~# U0 w( n4 q
  1. 8 b- b& L( x7 q7 H' D
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    9 @  [1 h  P, Q7 ?
  3. " I. O) X) v1 A  v+ x
  4. ### What we need ###! w! E3 V! N$ t0 G
  5. Naturally, we will need a MySQL server to store the data for us, this document / n& D8 V0 ]  z1 F3 w, h* i; e3 e
  6. will not explain how this can be done - there are documents out there for the $ `7 _( r; A. ~( d
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    , p8 R7 C7 z' m4 R. }' c( m4 l
  8. and a user account (username + password) that has the permissions to do stuff, U& @* g4 B; l; ]- H8 g8 y3 @
  9. with the database. Additionally, you will need a vendor library installed on the1 W) D8 r8 G' N
  10. local machine, this came with my MySQL install.
    : G, ?0 X, u1 g4 {
  11. These instructions will not tell you how you might transfer your data from the' C2 [% H& T# y. u. k2 i
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    4 b5 `' B" Y/ W, [  |
  13. database.
    # F# [" x4 k/ s& x% B
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    1 P8 ~3 v' t* f+ d6 `. M
  15. the time of writing, there are still too many issues - check the current status8 e6 A8 b" W* J- M- {
  16. in the TeamSpeak forums if you are interested.% l. p- P6 w9 F/ ~
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    6 j! S* I% j& ~7 m1 z- f  B! `
  18. Borland was used. This driver can only interface with the client library that   |* C; o' U- m" t1 s
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this2 s0 S$ C" k. \! F+ H
  20. client library - basically all you have to do is to use a 3.x client library as
    + x* k1 \1 l6 l1 G) F
  21. "VendorLib" and a 4.x database to connect to.9 v' w, y7 |% N6 T/ r+ X
  22. If you need more info about dbExpress, you can contact Borland.' v+ X. B9 w, ^% p

  23. " t) A, y+ r* y/ B
  24. ### Doing the work ###
    + H; h4 a, J3 ]0 Z% p4 }) G) n$ D: O
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all. n6 m8 m' S0 Z8 A/ x! @" Y/ f8 ^
  26. the perquisites right, just open your server.ini file, and add this section at
    & |2 `& i* j. H4 w9 g) s! X& e9 M
  27. the end:/ f; l- q9 Y- C8 H3 v
  28. ---cut here---
    ( h+ ?! I& g2 {: M) E' f) r
  29. [DBEXPRESS]
    7 C3 T/ U& \! T* v9 y
  30. sqldir=mysql_sql
    $ `7 D% i/ w4 S7 M: y# O  g( g3 P
  31. Drivername=mysql
    : C7 ^9 Y5 ?; g8 c8 ?  t
  32. Database=Your_Database_Name_Here
    - Z7 O/ ]3 J. O' v
  33. Hostname=The_PC_the_MySQL-Server_is_on, |$ e+ F6 @7 ^' u0 S3 l, P4 P
  34. User_name=User_name_on_the_MySQL-Server
    * y0 y. `' R, D) L2 r5 N9 z3 d
  35. Password=Password_to_go_with_above_user_name+ ]/ Z7 r3 [5 r6 Q9 J
  36. GetDriverFunc=getSQLDriverMYSQL0 A! c$ m; q( T9 w2 T
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    2 M+ s1 B$ ^0 I; _( |
  38. LibraryName=path_to_libsqlmy_libary
    & \7 |" q8 E6 _+ m- @/ `0 E
  39. Active=10 }/ U1 _" l8 f/ |+ V
  40. ---cut here---3 _- ]$ b! A" ~1 U! J+ p8 J
  41. In my environment (a linux box with a MySQL server running locally) I have:7 {7 Q: {. {- Y) ]4 X6 t
  42. ---example---- {3 _4 }: y- h0 ^, o4 s& Z" l
  43. [DBEXPRESS]# L6 {0 e4 n* Q1 r% l. W" `1 Z
  44. sqldir=mysql_sql5 K4 [2 @9 a4 z
  45. Drivername=mysql. i1 A. L3 `7 u" |1 v, x$ G
  46. Database=test
    " F( {" I0 t4 i/ W
  47. Hostname=localhost0 ?5 l# f7 J2 T# q1 A. F/ k* B6 M/ B
  48. User_name=testuser
    % ?3 g# ^  @$ ]7 c
  49. Password=my_password
    2 v+ F" g; k" c( `* P
  50. GetDriverFunc=getSQLDriverMYSQL0 }8 J% l' k0 B
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    . N. O  T# G: T) D5 |* ]1 l# U
  52. LibraryName=./libsqlmy.so) z& c4 I' |3 U9 w
  53. Active=1# b3 O. Q  |" }! j
  54. ---example---% V5 r) u0 P7 |8 p5 O1 {

  55. ) T# W& e6 |/ V' H4 t1 K
  56. On a windows box, also running the MySQL server locally, it would be:$ z8 k9 Q1 s) a/ S. q+ I! u9 E; F
  57. ---example---
    3 F! S/ z/ g/ h9 _$ H/ K$ W% Z
  58. [DBEXPRESS]
      K( E0 a1 E( X
  59. sqldir=mysql_sql1 \1 r4 \; c  A* ]/ N* s, x
  60. Drivername=mysql
    7 q% ~. ^  |& j1 l6 k2 G5 I1 o
  61. Database=test8 U3 e& I6 w7 Q% E
  62. Hostname=127.0.0.1
    $ ^: O6 U* c) G+ c( ~* w8 g
  63. User_name=testuser
    3 ~0 @. K# C/ V. G) R
  64. Password=my_password
    9 q( t. h/ D. ?1 n& J% K
  65. GetDriverFunc=getSQLDriverMYSQL
    ' K' J& X& r/ I
  66. VendorLib=libmysql.dll
    - U) t4 n; l# H
  67. LibraryName=dbexpmysql.dll7 j, j* E8 `4 W* w1 t9 N& G" c4 Y
  68. Active=1
    ! i$ K; U& K& |$ M* N# L
  69. ---example----
    & f2 W& X! l  T; I
  70. - written 02.03.04 by pwk.linuxfan
    * I  _  c) Q& n
  71. 2 b) N" Q7 d+ R' E- `, y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
* j( X  V6 s; M
  1. 1 W* u# o2 V0 m/ ~
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    / \3 N5 _. \( @; G, |
  3. 6 l# ^, j6 h. n1 w
  4. # # #我们所需要# # #
    " H# b4 W) A2 V" j. F6 V$ A
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    3 K! b* u4 E2 n+ m: o
  6. 不会解释如何做到这一点-也有文件存在,为  r1 ?9 ]1 A7 E( P! _8 w2 [6 [4 P
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    " c4 P, e! S2 U7 d( {& v* R
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ! b& n$ Y; F9 O: b
  9. 随着数据库。此外,你需要一个卖方图书馆安装于; y' G6 D! Y$ j, G) Q. Y" e
  10. 本地机器,这是我的MySQL安装。 6 L4 P6 m5 x/ [
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    6 O  c! q9 j/ z! u! x3 s$ Z& ?, Q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 4 E/ A9 J/ p7 G2 K$ r! c3 v
  13. 数据库。 4 Z$ N0 v# H2 L' n  _
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    4 X1 r: M9 y) L; Y5 X
  15. 编写本报告的时候,仍然有太多的问题-检查现状, V$ Q* ]8 b% C! w/ ]; B
  16. 在teamspeak论坛,如果你有兴趣。 5 J* P7 |' ~- ^/ x7 t  G1 U" y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机& W' D5 V- [9 ]) s1 B6 e' y
  18. Borland公司使用。这个司机只能界面与客户端库" l0 ~  H  A5 m2 [" g
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这/ B. Y2 Q0 W+ \0 @  e4 U7 y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为7 u; K' M/ v, h# m
  21. " vendorlib " ,并解数据库连接。 # j- Z* U" `; N! x
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 0 u+ U, {& h& v. T+ x, ~7 V
  23. - c0 v$ [7 U! D( P; V7 f/ K
  24. # # #做好工作# # # $ j0 O& N6 s# ?
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都; q  s2 n( m+ S  u0 Y+ m) V
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    % g: o. l& }8 a# L
  27. 结束:
    2 l& p+ m6 z; b* b. o5 I3 l
  28. ---削减这里--- ) ~; {$ ?7 d" J- m
  29. [ dbexpress ]
    " |+ J7 K0 n1 d4 [8 g$ q
  30. sqldir = mysql_sql
    # s0 y$ t% ]( x" R5 A: Z
  31. drivername = MySQL中# Y* y5 `- K( c0 s4 p& B) l0 D. ]
  32. 数据库= your_database_name_here # Z" c2 E5 `# O; z7 N& `- @( ~/ X0 a
  33. 主机= the_pc_the_mysql - server_is_on ! `# G: }  K/ ?4 o/ o9 q3 [
  34. user_name = user_name_on_the_mysql服务器
    ) w( {' A( K& l7 {: ~% @' H
  35. 密码= password_to_go_with_above_user_name ! }4 l; a7 [5 C4 t1 {
  36. getdriverfunc = getsqldrivermysql 6 L, R1 X) Y' x5 X: q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ( \2 Q; S9 p7 w) Z5 l4 r- d
  38. libraryname = path_to_libsqlmy_libary
    2 a& ^& @+ @6 v9 d& o
  39. 积极= 1
    " d  g  C' P2 F. s
  40. ---削减这里--- $ L7 V* v9 N  ]9 v# L
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    - c% Z( d9 L4 C
  42. ---例如---
    ) O  ~6 Q/ [. W
  43. [ dbexpress ] . s3 K& J6 Z7 H+ h8 L
  44. sqldir = mysql_sql
    5 T# I4 I- O) e4 D5 K7 A
  45. drivername = MySQL中: R6 L) p- ]. S
  46. 数据库=测试& L' p/ `( @1 }7 @- O& i; n
  47. 主机=本地主机5 n( A7 W8 O. p, C1 w8 X+ a
  48. user_name = testuser
    6 b) q7 n' r7 L$ q! B
  49. 密码= my_password
    - `6 {8 y8 c$ E/ Q9 y/ K- |. _
  50. getdriverfunc = getsqldrivermysql
    6 f5 }# a7 y8 ]1 [) }. @
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    5 Q8 P% a" S, d/ t; \* I$ J
  52. libraryname =. / libsqlmy.so 0 b$ X2 ~" U1 o
  53. 积极= 1
    4 {. F' @' K+ |: j! b
  54. ---例如---
    4 K5 ], B% U6 i1 c$ O" j' C2 i5 s
  55. * \! p! ]( J& P+ m6 m* I) m
  56. 对Windows中,也运行MySQL服务器本地的,那就是: " D% Z: _( m/ f2 h
  57. ---例如---
    1 s# D1 b4 e: {6 L
  58. [ dbexpress ] 1 V$ N$ y) J% t; G  }1 [
  59. sqldir = mysql_sql 9 J1 P& |6 y. h* q5 @
  60. drivername = MySQL中' K% ]2 {3 E! {% x8 t
  61. 数据库=测试- i( s7 C3 r& P" C; Z5 ]: C
  62. 主机= 127.0.0.1 , M! u& |$ z: @, k/ d# U3 @
  63. user_name = testuser 4 \9 \& i+ [; Z" b
  64. 密码= my_password % {/ b) I1 [7 x& }
  65. getdriverfunc = getsqldrivermysql " e# {/ T6 L$ k9 n* Z1 M& d; R
  66. vendorlib = libmysql.dll在
    5 O; L+ Q% m7 {0 g3 X: L" N/ U. ]# d% y# J
  67. libraryname = dbexpmysql.dll
    / O' X+ a. I, j. o
  68. 积极= 1
    / Z, B. C' B2 ^/ a" p9 r$ J
  69. ---例如----
    0 e" @" ~  l4 r/ C
  70. -写在0 2.03.04由p wk.linuxfan1 [$ T* G  N3 W7 F* X
复制代码
发表于 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: P: l8 Z& s8 ^

  v& J& h( U, ?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-10 19:45 , Processed in 0.101484 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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