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

3033 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 9 I7 T/ P/ C* ?0 a4 E& @1 m* p0 ]

+ u4 t* ]  A/ R1 C# k
  1. : M' j8 c6 o& ], K/ M* t6 U5 S  p. e& |
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######) z. b$ x7 P- R) M/ Y
  3. ; x0 w, G/ }# m) n
  4. ### What we need ###% H6 ~9 K! ], V- I5 E
  5. Naturally, we will need a MySQL server to store the data for us, this document
    , R4 T  b- ^5 H' f: Q& j; y
  6. will not explain how this can be done - there are documents out there for the 7 T$ r6 E& K; X! N8 z- B* y% ]
  7. interested. The requirements include a (empty) database for TeamSpeak to use. B! [) m( w% T+ r
  8. and a user account (username + password) that has the permissions to do stuff+ ^+ U! P( N& I. a3 r0 r% q5 r
  9. with the database. Additionally, you will need a vendor library installed on the
    8 G% b4 s" f+ S! b5 R3 c
  10. local machine, this came with my MySQL install.
    / l$ f0 J4 w6 q. r  B
  11. These instructions will not tell you how you might transfer your data from the
    . E9 F9 i9 Q1 T0 D
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL, W- [& b, _5 N
  13. database.$ H  r; T% ~+ \
  14. Some users have reported ways to import a SQLite database into MySQL, but at1 {5 \; C- P0 L1 y. M
  15. the time of writing, there are still too many issues - check the current status
    1 Q9 v+ O7 _' e: i3 `: M6 r+ c" U
  16. in the TeamSpeak forums if you are interested.
    1 d' D# x# b' S& ~1 y: l* @. I
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from, ]- L/ O% s9 M
  18. Borland was used. This driver can only interface with the client library that * U5 r' R6 M+ x$ b/ X! i
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ' X: R( n1 s! D: Q/ h% _
  20. client library - basically all you have to do is to use a 3.x client library as ) [1 j* I$ c& P' ~6 l, J
  21. "VendorLib" and a 4.x database to connect to.
      r1 r4 y8 g( d# X2 \' U$ c3 C4 D
  22. If you need more info about dbExpress, you can contact Borland.
    & S$ h! R. |* ?4 `  W  _: D
  23. 7 X% E% F9 K" |  i$ ^" H4 X
  24. ### Doing the work ###* P- Q, X( ?  R. K5 p/ ~
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all( N: V3 g, e( V
  26. the perquisites right, just open your server.ini file, and add this section at1 E8 _4 S" Y2 j3 w' D2 F
  27. the end:
    - L* d4 i6 g/ Y: y% z$ b
  28. ---cut here---
    7 i8 ]4 H% ]9 k1 |6 D. j6 L
  29. [DBEXPRESS]
    2 ?' l: S0 ]) X- X- Q
  30. sqldir=mysql_sql  P9 b, W5 o5 }  d" r& [
  31. Drivername=mysql9 M3 o' \7 o+ N; P" [" j
  32. Database=Your_Database_Name_Here
    ( Y8 x7 O3 D! N, D1 d
  33. Hostname=The_PC_the_MySQL-Server_is_on; W1 n8 r: R. W- a8 e
  34. User_name=User_name_on_the_MySQL-Server
    1 T$ }% ~1 m1 l6 j; [
  35. Password=Password_to_go_with_above_user_name% E9 {2 K% B4 P) L- T
  36. GetDriverFunc=getSQLDriverMYSQL5 p  F* E; N9 ~+ E
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    8 J) u  `% h4 N" |$ E" k& M  O7 W
  38. LibraryName=path_to_libsqlmy_libary
    9 J+ A  n8 Q8 o
  39. Active=12 o9 N+ x6 p: w" g/ U% c
  40. ---cut here---
      P( i) f/ W) L! e
  41. In my environment (a linux box with a MySQL server running locally) I have:
    - h( Q2 ?' g( f0 r0 ~$ G3 p
  42. ---example---
    2 k& S6 j  w! ~2 a, }
  43. [DBEXPRESS], i7 V1 b+ _7 W9 q* h
  44. sqldir=mysql_sql
    - Q4 K# U7 d. o) M5 q, O8 ^  B
  45. Drivername=mysql
    / x' L+ `1 E3 P) Y! R$ Y
  46. Database=test
    % |* j. g6 P0 z* S' s
  47. Hostname=localhost, V" T3 p% b0 X& k; N& U
  48. User_name=testuser' F2 n( t" J) b1 k1 Q  O( r
  49. Password=my_password5 ~+ P+ D# k! D0 u5 r& X
  50. GetDriverFunc=getSQLDriverMYSQL
    ; E: z( c& f: Q# Y3 i
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    6 T# d) o( }2 j( Y0 B
  52. LibraryName=./libsqlmy.so
    # x0 s4 S0 M1 r2 A
  53. Active=1
    5 m+ B  {$ J9 W
  54. ---example---4 }+ u( F1 C; n& j$ \$ W9 A  R
  55. 4 l6 x- Z& U7 t5 u4 q- c
  56. On a windows box, also running the MySQL server locally, it would be:1 R7 J1 x3 e7 d3 D+ n& |( z
  57. ---example---
    + {2 b: |: ~: Z- L1 X5 x5 P2 [2 Z! x
  58. [DBEXPRESS]3 j( d; W% b6 D( |
  59. sqldir=mysql_sql2 Y6 |* |! s& \- h4 q/ p& v
  60. Drivername=mysql# G% Q3 E: Q; F4 W. b
  61. Database=test+ e) s7 V. D! ]9 I: ~9 D' @
  62. Hostname=127.0.0.1
    ! v& X' N% a+ G3 Z/ T& q5 {
  63. User_name=testuser0 ~+ Q# A# q* B& b6 N6 B& v/ u* B* D
  64. Password=my_password
    3 Z) }1 p+ X4 g8 O$ `% G/ a7 R2 t
  65. GetDriverFunc=getSQLDriverMYSQL
    " J9 E# Y" F. h; C
  66. VendorLib=libmysql.dll+ E( k. a7 R; Z5 A8 I
  67. LibraryName=dbexpmysql.dll
    6 m9 d* r$ _$ Y4 |4 W
  68. Active=1
    7 O, ?& I/ V% b
  69. ---example----
    % C6 F. f2 c' f
  70. - written 02.03.04 by pwk.linuxfan
    ; a# z0 c9 `5 C7 y/ O3 E1 ~+ S

  71. 7 W2 ~, @' o- [$ b! j
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
- U5 A$ Y8 V: l, |5 E1 X1 R
  1. 2 ]0 V# h( @$ T7 m0 q" u
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 7 P$ x. N' Y  l* m
  3. ' j) }( {3 H- s) _) F
  4. # # #我们所需要# # # 8 ~& ~: @/ v/ t3 f* G7 x' r
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件5 Y  h1 F& p) s3 s2 q% R) b* z1 R
  6. 不会解释如何做到这一点-也有文件存在,为
    4 Q0 A  h3 D8 T9 d
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    9 O6 l2 `" l0 l& T/ W+ c% y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    7 {- r* s: o; b7 C+ Q- Q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于6 x/ ^5 Z3 Q6 \3 _1 v2 w
  10. 本地机器,这是我的MySQL安装。 5 A1 `& j% i: I9 Y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从' y2 x+ T7 H* q4 e
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ' _2 J8 K0 m# C2 m; C3 i# O; N6 y
  13. 数据库。
    + Y$ D" @( Q5 a$ F# _
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    7 T5 ~1 }) U5 B
  15. 编写本报告的时候,仍然有太多的问题-检查现状: T$ _! K1 u: X8 U0 ?% z
  16. 在teamspeak论坛,如果你有兴趣。 ! B8 T# \; D" w6 Z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机7 \) }' N) a6 ]3 H/ F2 R
  18. Borland公司使用。这个司机只能界面与客户端库
    # v3 R) j+ y& X7 H' W
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这! Q, ^" L% }" f* @; M, I$ i& h
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为4 c" ^) Q$ h( k* E$ I
  21. " vendorlib " ,并解数据库连接。 ! g* e. G' Z# K8 T
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 5 Z5 a4 F" m, ?) g  s9 r% t" C
  23. 9 \4 T8 T2 \+ ~+ P. _: C
  24. # # #做好工作# # # 5 @- |! e6 Y7 l" G5 R/ Y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都* m7 ?* f: T; j! \9 R% q+ f
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在9 U0 @$ _: A+ g- O2 K% _
  27. 结束:
    ; K- \6 T( y& q) ^: L4 ^
  28. ---削减这里---
    # C0 e! [0 O! e
  29. [ dbexpress ] ; \. y. J* q" T" h' [+ W0 e0 Z
  30. sqldir = mysql_sql 4 t% R1 j1 F7 {7 M1 D3 |# K$ x  s
  31. drivername = MySQL中/ L6 ]. |3 `; B
  32. 数据库= your_database_name_here
    $ {; h" ?0 |8 h& I6 X* }
  33. 主机= the_pc_the_mysql - server_is_on / S- w8 Q% A) U" F
  34. user_name = user_name_on_the_mysql服务器9 D. G- X) h; S! J+ D( Y" G
  35. 密码= password_to_go_with_above_user_name 2 d" J* H* B" Q* ]& |0 _' g
  36. getdriverfunc = getsqldrivermysql 5 X  I6 F+ T! c* E
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
      _5 w2 e: D0 k
  38. libraryname = path_to_libsqlmy_libary
    4 F$ H* L7 K& `1 y+ ^
  39. 积极= 1 0 Y& W  C, q0 t+ W9 G3 @6 J
  40. ---削减这里---
    5 d+ ]$ \! ?. O& m
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    # }0 D& d9 }/ [% |' h) a3 W& K4 W
  42. ---例如--- $ v7 p+ }9 P6 }7 f: n+ n
  43. [ dbexpress ]
    : a2 ~% S1 Q7 n. d( t
  44. sqldir = mysql_sql 9 {5 Q# H# ?5 _- U3 k7 z% E. P" S
  45. drivername = MySQL中0 A/ A" y  m5 O- ?- {2 {
  46. 数据库=测试
    % F* j* O- P- T1 b0 O% Y: A6 M
  47. 主机=本地主机
    / V1 f8 i* P, T3 v9 Y( ]/ N
  48. user_name = testuser ! H) o7 @* m5 l* e
  49. 密码= my_password - ]- C( ?8 i0 I& z5 j7 P
  50. getdriverfunc = getsqldrivermysql
    . U  o/ Y- H5 _2 M
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ' w2 P5 z& Q. {; b$ O
  52. libraryname =. / libsqlmy.so 6 X9 C' ^- Z8 o1 H1 \) m: `/ C
  53. 积极= 1 ( @2 p" Y( o6 S! a6 ~
  54. ---例如---
    5 B" a# v4 j$ m

  55. 0 ]4 ~( f0 t# w# r
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    * M0 m3 i/ T. i! B( c( {
  57. ---例如--- ; h; k" Y' w1 O* H# k' N  b' S
  58. [ dbexpress ]
    + b8 H' Q/ R' k  J
  59. sqldir = mysql_sql : k' B2 l# c' w/ B0 C' L
  60. drivername = MySQL中
    % e3 T! B  M: z0 l9 ^2 b6 D
  61. 数据库=测试
    : \' s: @! c, H9 r$ P
  62. 主机= 127.0.0.1
    4 L6 K. g- w. ?- ]/ x/ f$ T
  63. user_name = testuser / M9 X/ v( a3 \
  64. 密码= my_password
    . [+ @, j, G# @4 {
  65. getdriverfunc = getsqldrivermysql
    , x! p7 U  I# f
  66. vendorlib = libmysql.dll在5 z( v; Q. M. n8 B  m3 o( u7 m8 I
  67. libraryname = dbexpmysql.dll " Y# `: ]& `3 N% @& v- V  i! W6 Y
  68. 积极= 1
    ' O& O8 I3 J* t! E5 ~& i. ?
  69. ---例如----
    9 j2 t2 _1 Q# H
  70. -写在0 2.03.04由p wk.linuxfan0 ^0 l+ p2 o) P6 [6 t" p* O0 O
复制代码
发表于 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, d& E: }# U2 E* t; t8 q( X3 _4 I; J
$ ~2 G' e# _' n/ r0 `; A
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-17 11:31 , Processed in 0.115825 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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