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

2986 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
* L6 B" [( D  [& |+ k3 u8 N1 [# |( z4 Q' N. P
  1. / I$ s; [% s( }
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    7 Z! N& t- Q" W4 h0 o
  3. 1 H  B: E9 l. C+ S. I! y
  4. ### What we need ###4 F& m8 p" F. k: p, u; `
  5. Naturally, we will need a MySQL server to store the data for us, this document 7 ^# [2 k+ S! Y8 u; w' ~
  6. will not explain how this can be done - there are documents out there for the
    ! C5 b, \# d" N5 M3 j& X
  7. interested. The requirements include a (empty) database for TeamSpeak to use0 H; C/ E! ^! i2 X
  8. and a user account (username + password) that has the permissions to do stuff3 m) e* T, @" E  s
  9. with the database. Additionally, you will need a vendor library installed on the
      o: `$ [3 Q4 y) {8 J# I( M% F
  10. local machine, this came with my MySQL install.
    % h5 ], N" S- K( e4 D% U! f
  11. These instructions will not tell you how you might transfer your data from the* j4 m$ B- d* }/ A* K: L
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    / W. K9 v5 F$ Y5 y1 b
  13. database.# H) P7 |7 U% O' W7 ~# R
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    6 n. H. _2 D$ p) }4 ]1 Z
  15. the time of writing, there are still too many issues - check the current status
    + @( \( g; M- q& ?( V7 r* Q
  16. in the TeamSpeak forums if you are interested.8 ?2 `7 b4 p8 x1 v- G
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from9 l8 r" C$ B9 o$ V+ F
  18. Borland was used. This driver can only interface with the client library that   A/ W3 ~. i: F1 j
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this% _! C( b6 L0 w; [
  20. client library - basically all you have to do is to use a 3.x client library as + F' X8 H: F0 R$ r
  21. "VendorLib" and a 4.x database to connect to.6 }: @) p5 [5 l1 ^, \
  22. If you need more info about dbExpress, you can contact Borland.2 q; m% E" e# T

  23. 3 P% o3 ]1 W0 S" Q
  24. ### Doing the work ###
    . l" h( m8 h  u9 ^$ Z$ ^2 O9 `! f
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    6 v6 {: @6 f  F7 j2 }
  26. the perquisites right, just open your server.ini file, and add this section at# I: B' A% l0 E
  27. the end:# F, G; p1 }" q0 X. Q- v# z+ \
  28. ---cut here---
    9 _6 @, x+ f# ~7 m: s  M0 t$ ~& G% H
  29. [DBEXPRESS]
    " E( q4 L4 ?6 _! A' k% R2 X
  30. sqldir=mysql_sql
    / a5 y# I/ b( x1 w, }/ M  ^
  31. Drivername=mysql( Z$ w' x6 D, {3 h% p' g* \
  32. Database=Your_Database_Name_Here( D/ V! Y! s+ v1 y
  33. Hostname=The_PC_the_MySQL-Server_is_on
    % [2 V- n; }# O% T1 S, J& X
  34. User_name=User_name_on_the_MySQL-Server
      h. h2 q/ x2 U( v3 ~) G" P
  35. Password=Password_to_go_with_above_user_name1 c2 q9 F+ s& n, J/ \( Y
  36. GetDriverFunc=getSQLDriverMYSQL2 z6 s& V6 e0 \! I; M
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib1 w7 M, r. F: j6 v/ C
  38. LibraryName=path_to_libsqlmy_libary! x( [! J, N& c1 l/ x9 I
  39. Active=1, x, F' `0 E$ S6 L0 \- h
  40. ---cut here---
    % N! \  G( p3 V% d! O& |7 `
  41. In my environment (a linux box with a MySQL server running locally) I have:
    # }" g1 N+ z, U# t5 l# N) v/ X. m
  42. ---example---
    . o; a' z5 S, L1 O" L7 L
  43. [DBEXPRESS]
    6 M( s* p* v$ B, |; _- m- [0 x" Z
  44. sqldir=mysql_sql
    : v- t% z# g7 C. c
  45. Drivername=mysql* Y, _/ W0 q- F
  46. Database=test
    $ G- O* w! w: l
  47. Hostname=localhost% c8 }: H/ z# ~$ B7 K8 ?9 Z
  48. User_name=testuser6 C- {9 D  ?2 @5 M1 [3 H6 n
  49. Password=my_password. M% Y* Y: y0 X1 N- \% R0 {7 R
  50. GetDriverFunc=getSQLDriverMYSQL
    & ?5 K  g. o' a+ @/ \
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.01 Z- @5 n. o( r. d. }# z
  52. LibraryName=./libsqlmy.so
    8 L. ]5 z) u6 s
  53. Active=1/ V; |. e3 h0 P: K
  54. ---example---. w8 R  V6 ^; N

  55. 5 n: y! Y2 K. Q- o+ y2 O
  56. On a windows box, also running the MySQL server locally, it would be:
    0 w- P9 }( p. s& ^: d% R
  57. ---example---) u3 S/ a. v: \7 u
  58. [DBEXPRESS]7 b* j/ l" ]0 u2 x5 Z( E" \
  59. sqldir=mysql_sql
    * g8 Z4 |3 V3 d: G: F
  60. Drivername=mysql
    - |6 s, v' R9 I
  61. Database=test
    ; [6 ~* e6 q8 h7 ^% h: {! T4 }! Y
  62. Hostname=127.0.0.1
    . Z, d+ n8 ?& C7 s  F- z5 R6 y
  63. User_name=testuser
    8 T" ~8 S+ U4 a; h, D0 g7 j, ~- _0 h
  64. Password=my_password' \' \& w$ N/ h) }0 H
  65. GetDriverFunc=getSQLDriverMYSQL7 X- k- Z, G. \* |  O. {
  66. VendorLib=libmysql.dll' ?# A, U$ _0 E1 N3 N
  67. LibraryName=dbexpmysql.dll
    , A# v: H, d* |% ~( _6 V& M: e! @
  68. Active=1: {  \0 n) m" d
  69. ---example----$ D( r/ d* o# E* {
  70. - written 02.03.04 by pwk.linuxfan
    $ D+ x# J! e: D
  71. % O1 w+ A' m! [5 n. Y; L: F
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
4 L# e. J- B: ?0 P3 h" q

  1. - K( X/ a& w0 }
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 7 k3 X1 N; z, g5 t# M/ U
  3. # h0 {4 f+ a* ?" Y  o7 s
  4. # # #我们所需要# # # 7 j( N) E  B! e5 s% d  I. s' u* M
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件1 T3 D0 c) r- r6 S- i: x3 p: \: L
  6. 不会解释如何做到这一点-也有文件存在,为2 Y  E6 ]6 c: ?" {' b* b% K
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    + ?; F% j5 J* D. S8 f/ H& v
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西* O; m8 o( ?6 t2 u
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 M+ q3 z3 X( J% t. p9 W/ W
  10. 本地机器,这是我的MySQL安装。 ) w4 a* a! z6 N7 R
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从% c7 d& r/ D0 }* f7 ?3 z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    , ~7 d1 k; T9 p( n: l" j( ~$ `4 _
  13. 数据库。 . ]5 Y( R" c) B3 ~5 O/ e
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在' f3 x# d# J& ]
  15. 编写本报告的时候,仍然有太多的问题-检查现状: z6 G- ]  U% r5 x7 U. g
  16. 在teamspeak论坛,如果你有兴趣。 ' Z# A5 z' S6 x: ^+ D& d
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ) J7 s5 D( T7 R4 a) a+ H, c" t9 p
  18. Borland公司使用。这个司机只能界面与客户端库
    1 E( n/ O3 e( _+ M( P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这. P9 O) l- r& H9 j  }, u& \- P+ K8 o5 {
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    % {$ i/ O# b& A/ S: U+ p  R% r
  21. " vendorlib " ,并解数据库连接。
    2 h4 M, |6 _# |+ \& o7 ~. d
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 0 m" }, j- K# {

  23. 4 ~( G$ K5 Q' o% R6 c+ v! t$ O
  24. # # #做好工作# # #
    4 \9 |1 u* f! y- a
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都6 g- D5 m6 r5 A# l% y% O5 v- o
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    , y2 \- C; C" c5 T7 P
  27. 结束:
    3 r1 ]7 d; `4 j! G. J' b
  28. ---削减这里---
    & c2 _& M( x4 J
  29. [ dbexpress ]
    3 p- X1 j4 Z- W  M0 {" A3 A
  30. sqldir = mysql_sql
    7 \& ^) h. j9 J' H6 e" V7 N( T
  31. drivername = MySQL中
    3 A- ]# k+ e* l8 c/ g4 v
  32. 数据库= your_database_name_here
    , R$ t! }$ j# J+ m2 D1 K5 z
  33. 主机= the_pc_the_mysql - server_is_on % s! l4 l  C3 H, H# b$ {
  34. user_name = user_name_on_the_mysql服务器
    4 {% D  g! ~; {* F: D
  35. 密码= password_to_go_with_above_user_name
    ) X% R: O. l7 W' x, p
  36. getdriverfunc = getsqldrivermysql
    # m' H6 _# [& @3 u8 Y! [+ ^
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib + V+ O: `4 S3 N; `" I; I
  38. libraryname = path_to_libsqlmy_libary
    5 ]6 k% u1 Z7 E
  39. 积极= 1 ; V, K% U2 k; y* p4 U) A
  40. ---削减这里---
    9 O- L. {7 g! S
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    " e9 b  ]6 C4 M1 d
  42. ---例如--- 5 s; L1 C. Q6 r$ x
  43. [ dbexpress ] 4 {, b' L- O, w8 m4 x  ^
  44. sqldir = mysql_sql
    ( h8 f) ?6 O0 Y3 e
  45. drivername = MySQL中
    . L+ V4 c4 {- W, q% {9 C/ x6 F
  46. 数据库=测试
    + O1 s8 x$ Q4 E+ S/ ~; G
  47. 主机=本地主机
    ' c% p' k1 ]6 A6 F- E$ d
  48. user_name = testuser ) i- F6 Z9 B% w3 q; S2 Y
  49. 密码= my_password
    8 I4 E4 H% u7 I% e% `$ u3 L5 |5 K
  50. getdriverfunc = getsqldrivermysql
    + I2 T# G6 }" }& M9 i' H3 p* |! Q6 w3 P
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ) {7 `0 F! c% r7 C8 P& y" v( w
  52. libraryname =. / libsqlmy.so
    + m# ^# Q( N6 M- i
  53. 积极= 1 3 u& s5 \: q$ c1 ^) V8 K9 l
  54. ---例如---
    $ Q6 ]% I* W$ f7 e" v# K

  55. + g6 B' g3 b! k& o
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ( l" N7 f" p0 B& F5 Y4 v1 s
  57. ---例如---
    1 _7 M' j( o( W3 \6 a" _
  58. [ dbexpress ]   h6 n" v# H9 j  S# T
  59. sqldir = mysql_sql / j: {$ J+ k, T' Y
  60. drivername = MySQL中8 u$ c) I" f8 l4 i* V
  61. 数据库=测试% G' l) @+ o3 [; _& d7 g# t( R
  62. 主机= 127.0.0.1 9 d" f+ s& r: [6 W
  63. user_name = testuser
    ( o0 h- B: G: p! j( a
  64. 密码= my_password
    $ v/ m( U! P% X4 O: L" d
  65. getdriverfunc = getsqldrivermysql : @1 |0 Q0 }7 _9 M5 S! |3 W
  66. vendorlib = libmysql.dll在
    3 d" p) H" o. S  ~
  67. libraryname = dbexpmysql.dll
    " D( U) a" ^  j: E' _* V* ~
  68. 积极= 1 ( c1 [  P0 m' }$ A
  69. ---例如----
    8 p7 H3 C4 I" r$ i' P5 @7 z
  70. -写在0 2.03.04由p wk.linuxfan, i3 A9 I' b: 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
, P5 f' n) x2 V6 ~
( c. w2 Z5 F% J+ T" [  R* j9 ybut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-6 06:49 , Processed in 0.105844 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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