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

2512 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
6 [/ l1 G, J0 I. m4 D- r8 r' i( A' A' V- d9 ]1 P7 T, b

  1. 3 Q" t5 q8 Q1 o2 \' R
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( v9 ]" ~  x% {( {, K; ]$ H0 L. _! U
  3. - e* @3 o8 i2 t- Q: O  a% ?
  4. ### What we need ###
    " [3 P* q1 h: M: ?/ ?
  5. Naturally, we will need a MySQL server to store the data for us, this document ; t) i. U1 x7 r( B9 t2 Q; y2 }
  6. will not explain how this can be done - there are documents out there for the 8 p# z, {; r  b2 f$ g
  7. interested. The requirements include a (empty) database for TeamSpeak to use0 i- ]! s0 g8 H3 x" L9 {+ `: ?/ p
  8. and a user account (username + password) that has the permissions to do stuff  O: M2 d; N, \) c9 V
  9. with the database. Additionally, you will need a vendor library installed on the
    2 X) a7 [; O1 e+ b* l+ F
  10. local machine, this came with my MySQL install.
    8 B+ A. E8 x$ [5 ~
  11. These instructions will not tell you how you might transfer your data from the0 N% S; t' m9 U& B1 c; ~2 R
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL4 u% W" \- J! U3 H! B
  13. database.
    $ D6 O3 G+ B4 f& H: P
  14. Some users have reported ways to import a SQLite database into MySQL, but at1 D+ x2 d7 q; Z  |, L
  15. the time of writing, there are still too many issues - check the current status
    3 U( \6 _- x/ T( D& s8 g* ?3 z
  16. in the TeamSpeak forums if you are interested., j+ l1 t' P' g$ C( C
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from3 k1 W: v% u3 y! E  U
  18. Borland was used. This driver can only interface with the client library that 6 @! E3 O* a) t# I) p
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this8 F  {- n" p4 K8 I4 j6 p
  20. client library - basically all you have to do is to use a 3.x client library as
    ; `; E# I, }7 |2 C: m
  21. "VendorLib" and a 4.x database to connect to.- q0 Q- B; _( R* m% ]
  22. If you need more info about dbExpress, you can contact Borland.
    * i9 X$ ]) A% A! s8 ~
  23. ' e& N% B5 g7 C9 D0 [4 r5 v
  24. ### Doing the work ###$ }/ N( S3 k" ]1 ^) n0 J$ U
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    1 M8 d1 R' N) n6 }& ^' l
  26. the perquisites right, just open your server.ini file, and add this section at
    8 }1 m3 g+ P- f5 f, O' P+ Z! `) f; d
  27. the end:. C. Y6 h, Y  e
  28. ---cut here---
    7 x) H, r, R; f; D) G7 S# X) X
  29. [DBEXPRESS]4 G6 D9 q4 f8 K9 k- m9 D) i, T
  30. sqldir=mysql_sql
    # p2 J( z5 W1 p4 U% O& ]
  31. Drivername=mysql
    0 b6 R+ a  a! e5 H
  32. Database=Your_Database_Name_Here2 @& u3 _2 X# F, k6 q
  33. Hostname=The_PC_the_MySQL-Server_is_on6 g$ y* Z  C/ v- p8 S5 h0 r4 t3 p
  34. User_name=User_name_on_the_MySQL-Server% P+ k% z4 v  F( D& L1 w* c% b' K
  35. Password=Password_to_go_with_above_user_name/ E7 I: a3 J& }/ ^
  36. GetDriverFunc=getSQLDriverMYSQL% G  Q3 g' M& t6 X" G' F  I
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib0 H" t4 T9 k4 b- x# ~
  38. LibraryName=path_to_libsqlmy_libary: Z" L$ _; Z  Z! U6 z
  39. Active=15 Q! p0 q8 _9 Z6 c  W( V: r
  40. ---cut here---
      j0 R/ x& O# t8 y% v& x/ @
  41. In my environment (a linux box with a MySQL server running locally) I have:
      }- B- c# x, ?3 B7 i0 n
  42. ---example---
    9 O2 ]" O. w9 r) k: b# a
  43. [DBEXPRESS]$ ^$ p' c' ]$ X9 W3 e! O0 G# s- a
  44. sqldir=mysql_sql2 O9 v& g0 Z% Q8 o$ q' y5 A
  45. Drivername=mysql
    1 w; A. T' R# A- o
  46. Database=test5 f: ^: C3 ^% ?+ @6 R$ @
  47. Hostname=localhost
    : {; H( W. w1 t
  48. User_name=testuser5 d8 e* }- ^  o
  49. Password=my_password! I$ a& V  k5 n( z
  50. GetDriverFunc=getSQLDriverMYSQL6 b6 y- Y5 |' _% C1 l( r: }
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ! U7 H0 q, l  W# T0 L
  52. LibraryName=./libsqlmy.so/ X9 Z0 H0 I: N9 j! M
  53. Active=1( {7 r% }2 i# f. b  e# ]( K8 J$ {
  54. ---example---- v2 E5 e7 z: R" e- r! d6 w" U
  55. 2 \: `  |7 }/ O$ z  h0 |- f
  56. On a windows box, also running the MySQL server locally, it would be:3 z! y& q* Z, a8 p, s, c% [
  57. ---example---
    7 d( E, \: p# A; W3 Q  ^8 ~  V' I
  58. [DBEXPRESS]
    ( P, ^0 D7 ?$ I, [: `
  59. sqldir=mysql_sql0 \+ P8 ~, x! Q; p3 ]" n6 q% P; I
  60. Drivername=mysql
    2 O$ J- l0 z# \, r- q9 u
  61. Database=test' J0 D$ _0 I& E, g
  62. Hostname=127.0.0.1
    ( I0 ?3 c, P, [  }7 C
  63. User_name=testuser
    6 E' n$ b$ x  u% f6 ^. l
  64. Password=my_password9 e7 C: m  v3 \( [0 t, @! V5 F! ?
  65. GetDriverFunc=getSQLDriverMYSQL/ i1 [2 r+ Y  D7 J
  66. VendorLib=libmysql.dll. P' g( e7 r" _, O
  67. LibraryName=dbexpmysql.dll
    ; ^% Q& R4 s# H
  68. Active=1- |' N1 w) T" S/ a: Y& {( H
  69. ---example----* T+ N0 q# k6 S& ?0 |
  70. - written 02.03.04 by pwk.linuxfan: K9 Y" T3 }( b9 l0 _4 i% z
  71.   q# `# e! H) B6 f) L0 t
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看+ W" q3 q- P, r0 |1 W' C

  1. # ]3 [: M9 \/ _; g
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    3 g. A5 s+ N+ \5 @' U0 _, V7 H  N
  3. % |5 C' R+ l8 X- Y& a% T
  4. # # #我们所需要# # #
    $ d5 R; E* E9 A" I. m3 J' c& I
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件$ }0 c4 m0 ]4 H; d1 K
  6. 不会解释如何做到这一点-也有文件存在,为5 W# s& x* r( }- e9 Z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    - A% y. Q& }7 k
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    7 R% u# C; m" i) {; R$ H; q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    : ?$ a# d. c: V/ h
  10. 本地机器,这是我的MySQL安装。
      f7 L3 u; Y9 @! _0 a8 [
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从  `1 z( M, B3 H( ^
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ( f+ |9 }7 B) ]$ J1 j0 C# t
  13. 数据库。 " n. [/ o* j: T1 b9 ~+ s6 z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在( o  |& L9 ]% |4 l0 F1 F% e; w
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    * G2 K8 C, W; `1 R2 ^, n
  16. 在teamspeak论坛,如果你有兴趣。
    : N; x' z2 T5 y6 @5 A6 e9 x3 q
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机" ~  ~% ^3 ?3 }
  18. Borland公司使用。这个司机只能界面与客户端库
    0 G2 N8 I: K: k
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这3 E' C( ?% R# S/ p; x; Z% C
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    2 }" ^- V! N! c- c; n9 c+ A, ]
  21. " vendorlib " ,并解数据库连接。
    / z, J/ D" N8 Q3 k7 n
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 % C; M- x% f6 ^3 H

  23. 4 ]2 h# a0 K1 o/ Y2 s
  24. # # #做好工作# # # # L4 c0 R. O3 T9 n4 R$ c7 K
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都5 r" H% x" B+ M8 C8 _5 O, `% V
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    , F) \+ }0 T# v( T! w+ @
  27. 结束: . c4 v2 ~# `9 Y8 e( |4 Y* C+ p
  28. ---削减这里--- 7 ^- E" m( T7 s* M% \4 a/ s
  29. [ dbexpress ]
    8 N, C' n+ `# B& T5 W8 ^
  30. sqldir = mysql_sql ! s# G8 u* w( j* F3 t4 {
  31. drivername = MySQL中
    6 L# u5 A. D2 b- t( F4 d& l0 G6 U6 Y
  32. 数据库= your_database_name_here   t! S& V9 g8 u9 z: s- m/ g
  33. 主机= the_pc_the_mysql - server_is_on 6 _4 x. n# _4 _/ a0 f
  34. user_name = user_name_on_the_mysql服务器
    7 [! G; _) h5 l$ W. J( _
  35. 密码= password_to_go_with_above_user_name : e( d; n% ~) H- m6 B. m
  36. getdriverfunc = getsqldrivermysql
    % c; r+ F$ b5 s8 _
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    8 k$ l% L1 z, f
  38. libraryname = path_to_libsqlmy_libary 0 e0 `0 ?4 C& ]' G
  39. 积极= 1
      n" q3 D( X# U4 b
  40. ---削减这里---
    & H- R& E3 U  Q( t" c. q/ ?& M* \
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ) N" e, \  c: j. f% J4 U. _! ?
  42. ---例如--- ; s& B1 s3 U  ?7 e3 U
  43. [ dbexpress ]
    1 ~( K3 F* i2 ?$ Y- w: \% V
  44. sqldir = mysql_sql * j" Y- k7 J$ d* |' `) T7 B1 I
  45. drivername = MySQL中8 D- n' }+ |3 C2 p" Q4 ?; P* w2 z
  46. 数据库=测试& X  r! O+ y+ Q6 i' c+ u
  47. 主机=本地主机
    - U& v) H- ~6 L8 u
  48. user_name = testuser
    - R; F9 m- ~9 I
  49. 密码= my_password
    6 I3 ~8 Z7 W- m" m
  50. getdriverfunc = getsqldrivermysql
    , X% Z: H- i4 L! d9 h: Y  }
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 2 P2 T* _  ^; U! R" n
  52. libraryname =. / libsqlmy.so : z. F- K' A! p
  53. 积极= 1
    5 p/ A, f- X  h6 q% e
  54. ---例如---
    , }! C/ N* Z9 n

  55.   x& U. O* Q. U% b" p6 u$ d/ S% A% s
  56. 对Windows中,也运行MySQL服务器本地的,那就是: , [0 z9 z' U: F( P& G' F
  57. ---例如--- : C3 A* t3 c1 d$ j8 W
  58. [ dbexpress ]
    & m1 b  a0 J& w3 J; q* z
  59. sqldir = mysql_sql 4 G& m& N7 N. w
  60. drivername = MySQL中( m, t2 N: @! z
  61. 数据库=测试
    : S5 W4 i- S& P* b/ Z) ], Q% W
  62. 主机= 127.0.0.1
    * _0 [- K2 N' J9 }1 P! ^
  63. user_name = testuser
    0 j, K" N9 F/ n9 c+ }  a% {# E: r
  64. 密码= my_password
    # u! M) Q/ @  y  B
  65. getdriverfunc = getsqldrivermysql
    : \+ H5 U" R2 S6 m
  66. vendorlib = libmysql.dll在8 O6 x  C  ?. ^( W2 l. T8 q( Z) k
  67. libraryname = dbexpmysql.dll 8 R" f9 o2 p7 _" l3 v
  68. 积极= 1 1 P" k5 R7 S- E& w
  69. ---例如----
    5 L& y, n. Y4 O1 t
  70. -写在0 2.03.04由p wk.linuxfan
    ' @% d( i0 u8 d& ?
复制代码
发表于 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
! [7 U9 Z" r) c, P' s& Q: y% Y( G1 Y& s( P# Q' q4 A) |! P
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-14 02:34 , Processed in 0.087055 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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