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

2575 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
1 l, O) o1 W, `; K; ]; l' e1 E% E" i/ p0 ^9 U7 L* R
  1. % k. b$ H# \$ K. t8 }' d& j$ d8 V
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######: T, O0 j& y# H8 V
  3. & s/ T# J# b3 y7 p# }) [
  4. ### What we need ###/ A2 _! K6 A2 h; m5 W
  5. Naturally, we will need a MySQL server to store the data for us, this document 0 c4 M7 {3 Q. T) g/ K) d' ~
  6. will not explain how this can be done - there are documents out there for the
    % M  s. o! d, a8 G: C; n
  7. interested. The requirements include a (empty) database for TeamSpeak to use1 X7 D' Z5 k. j
  8. and a user account (username + password) that has the permissions to do stuff5 f1 M+ C9 r! f8 B, f# ], h( R$ m
  9. with the database. Additionally, you will need a vendor library installed on the
    , ~2 s' }6 B* d/ |) x9 x# P8 W) a' ^
  10. local machine, this came with my MySQL install.
    . O4 f  x4 _5 @
  11. These instructions will not tell you how you might transfer your data from the
    ) q" O. X2 c1 p+ x+ |5 m
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    4 g$ e' o( c$ \( H) X! x
  13. database.1 m- G9 G: W8 g) a! i
  14. Some users have reported ways to import a SQLite database into MySQL, but at4 M) s* H" {) X6 E! m. I
  15. the time of writing, there are still too many issues - check the current status
    - u$ j- Z5 b; ?
  16. in the TeamSpeak forums if you are interested.6 q) ^& c& h, k) h. A
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from* H1 l) @: `& t1 l
  18. Borland was used. This driver can only interface with the client library that ' z: n1 x# A) |5 _8 P+ m
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this- |9 x9 ?2 I" q9 k2 u! h
  20. client library - basically all you have to do is to use a 3.x client library as
    ; {* X/ D, l5 f# f0 u
  21. "VendorLib" and a 4.x database to connect to.
    ( u9 L3 i: g# z4 x/ l9 R
  22. If you need more info about dbExpress, you can contact Borland.8 b/ h6 `. D' x+ e+ x
  23. : D# ^/ {6 m. i4 K& v
  24. ### Doing the work ###
    * A  r+ {: k4 c) o$ t; T4 X) c# @  _3 n
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    + P6 D. \/ J: _5 q- E8 ^* b% x
  26. the perquisites right, just open your server.ini file, and add this section at
    7 \' O( h4 I% k" ~
  27. the end:& o+ G  c( {! ?: B
  28. ---cut here---) C# f/ }$ }) U+ Z( D
  29. [DBEXPRESS]$ s' D$ w* z$ k$ A+ ?( R
  30. sqldir=mysql_sql
    ) l6 j! O9 o! ^+ W: J$ M
  31. Drivername=mysql
    5 W/ D/ w! s/ a
  32. Database=Your_Database_Name_Here
    0 r: u1 o# w( v# g5 v
  33. Hostname=The_PC_the_MySQL-Server_is_on
    1 @, G: W0 w! O3 \
  34. User_name=User_name_on_the_MySQL-Server( k7 g& k/ `5 J5 p& v& R
  35. Password=Password_to_go_with_above_user_name/ ^; U. x0 ^1 ]0 p9 {
  36. GetDriverFunc=getSQLDriverMYSQL2 I' x' D6 c1 i; v# p: J- A0 F# P
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib) T, b4 T) a$ D0 P0 e
  38. LibraryName=path_to_libsqlmy_libary, x+ ?7 @! [% b/ X' {
  39. Active=1
    . A/ H$ E# c- n
  40. ---cut here---: ~) e% P% }* W+ o# O
  41. In my environment (a linux box with a MySQL server running locally) I have:& x9 M0 f' C/ D
  42. ---example---3 J0 S4 O1 \; e  D) l7 g" R2 s
  43. [DBEXPRESS]
    4 R' w/ }0 U7 W( B
  44. sqldir=mysql_sql+ B% N' @% z8 \, _4 Y9 [
  45. Drivername=mysql  ]6 v* `+ P; s; j* d
  46. Database=test: J4 V( S, b( J9 H" q$ |
  47. Hostname=localhost
    / X# g) J! P4 y2 w
  48. User_name=testuser
    2 y5 M  k9 A# f/ a7 u( M. D. Z. K
  49. Password=my_password
    + y! @" R% [% M1 Z5 g' S; ]
  50. GetDriverFunc=getSQLDriverMYSQL
    , V$ }( y6 j) Q+ a! i$ X/ I
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0* G. r/ l, x. P
  52. LibraryName=./libsqlmy.so% y' B4 b3 }- z1 f7 N: H+ A
  53. Active=1
    * p6 Z$ g. G* c* a5 ^
  54. ---example---
    , O8 }! q6 j# U4 M2 p

  55. : L: ~" S3 [& C2 q" Y; [3 m4 i/ X
  56. On a windows box, also running the MySQL server locally, it would be:, S: t: v2 b7 E* F! m. N
  57. ---example---
    4 n: Y0 R& s# h
  58. [DBEXPRESS]/ }, j. m9 z/ ~
  59. sqldir=mysql_sql
    + h2 f4 i1 k: D- c
  60. Drivername=mysql# o: [3 R) Q% M  _$ E+ t
  61. Database=test9 ]; G0 t5 `9 d$ V% a
  62. Hostname=127.0.0.1
    # [! ?1 O, p8 E& q* M) ]3 [
  63. User_name=testuser
    / G/ }) C  Y5 k5 J6 O
  64. Password=my_password
    ; B4 y3 ~: {0 F$ G; `- K" ^4 V- F
  65. GetDriverFunc=getSQLDriverMYSQL
    ) g7 {" ?* w: ], T0 g
  66. VendorLib=libmysql.dll% j, P3 E6 I' j
  67. LibraryName=dbexpmysql.dll
    , A5 s& B( S* f& O3 F
  68. Active=1
    1 j0 {$ A2 x. T. E1 h
  69. ---example----7 ]. R/ h# H* ~4 v
  70. - written 02.03.04 by pwk.linuxfan# q7 @( u7 s* A- r. Q( |( v# K
  71. 5 m; Q  j3 F! ^4 p
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
) B) r2 i' }4 t7 u& l/ |

  1. , N& B- m8 o. y( R, x
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### , ^. R$ J( k5 P% }! M& K0 c. x, P
  3. % `* @- H2 K3 g
  4. # # #我们所需要# # # 0 B0 A8 f; V0 r# l( q: Q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ' o9 H" ^! a- g2 M0 N
  6. 不会解释如何做到这一点-也有文件存在,为
    5 X0 g* _. d; v5 E
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用3 Z9 r* \' b5 q- k: _
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西) f/ [- M- ?# Z* d( }, p0 f! G
  9. 随着数据库。此外,你需要一个卖方图书馆安装于) f9 S4 {' `9 w5 I$ P' i: O/ m
  10. 本地机器,这是我的MySQL安装。 - j$ f/ w0 `; i7 \) }
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从- v0 ?+ W( Y9 G+ _& ?# i% k
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    % ~$ f6 R, @: }4 s2 i! ]
  13. 数据库。 1 n  C6 O9 }$ }' @$ r
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在" c, Q) W* i, }1 ]& R* x, G. J
  15. 编写本报告的时候,仍然有太多的问题-检查现状8 r! h& R2 q. W/ g; f7 {- C
  16. 在teamspeak论坛,如果你有兴趣。
    : ]& T% V% n: o" O
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    9 }0 v" I0 O! t: ~" }
  18. Borland公司使用。这个司机只能界面与客户端库
    2 U' C* l/ }% l- O' i6 I
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    : b0 H) t% ?1 [7 `$ e
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    4 E' K! t- A$ q; h* y
  21. " vendorlib " ,并解数据库连接。 1 h+ I& y' f. S7 a, A
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    + r* j2 b& y* G5 w0 y

  23. " @# g1 `8 z% a$ S& }% T
  24. # # #做好工作# # # / |, m( J  F! s. q2 a
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都! a' ^0 g" `, x4 F( b1 `
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ; ]% ~* X7 V" V" \) f$ P
  27. 结束: ; F8 s) T- R& s, h% N
  28. ---削减这里---
    % j5 a3 a4 w" j
  29. [ dbexpress ] 9 Z7 p- B0 t: `; N+ |4 _8 C
  30. sqldir = mysql_sql 3 Z, `% P  X5 F$ [1 a9 K
  31. drivername = MySQL中
    ! `; Q' o% F$ r6 F% i( g
  32. 数据库= your_database_name_here
    2 L, ]5 e4 m" M( _; [2 d
  33. 主机= the_pc_the_mysql - server_is_on / C+ W# d* H; s) k5 a  x2 n
  34. user_name = user_name_on_the_mysql服务器9 P) J5 T! h! A4 m0 I
  35. 密码= password_to_go_with_above_user_name
    5 Q+ k; m; w2 G) ]% x/ h
  36. getdriverfunc = getsqldrivermysql
    " g+ Z: M2 D$ g' f( d; R; x% m7 q; ]
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 8 h2 X# ~9 D' f" \& A
  38. libraryname = path_to_libsqlmy_libary
    $ A. I; C' _5 M! q0 E0 _' f! y
  39. 积极= 1 ) Y5 s0 v; n1 c! B6 h
  40. ---削减这里---
    & Q4 E& F9 {6 O4 L" w; n1 F; i
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ) P" _# U0 ]% }
  42. ---例如---
    * p2 l' q' S! [' @, s2 w
  43. [ dbexpress ] 8 M7 h0 a' H4 o! p
  44. sqldir = mysql_sql / X, y8 i4 p5 ^0 f/ l
  45. drivername = MySQL中
    3 P4 S. e( P( h- x9 z
  46. 数据库=测试
    . z0 p8 w$ d! I; `& L4 {
  47. 主机=本地主机
    2 g3 r# x7 f1 B3 @
  48. user_name = testuser
    8 ^- a; y* p2 |  i) T$ z
  49. 密码= my_password
    * ?/ [% p( u* z+ \
  50. getdriverfunc = getsqldrivermysql   C: l1 R" p; M6 {7 P- y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ) C) }" E) j% U* t5 A
  52. libraryname =. / libsqlmy.so
    4 q9 r7 I. ]. D$ S2 K( F8 {+ H' t% }
  53. 积极= 1
    6 `6 Z' A- K1 Z3 w, a. y
  54. ---例如---
    - {: o2 X, m2 h

  55. # j0 s: W+ w' q" E. R
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 5 a$ u& ~6 C5 d; \7 B# h5 w% {
  57. ---例如--- 4 b* W" d5 t" l/ C5 `# C+ y9 F9 h
  58. [ dbexpress ]
    5 R$ b4 L  C0 s, p" V
  59. sqldir = mysql_sql 8 @8 _2 v4 E' k6 |
  60. drivername = MySQL中% B( J: a+ i- \% K
  61. 数据库=测试
    ' _  ?% A& ^/ F1 N3 W  M0 J5 B9 d8 s
  62. 主机= 127.0.0.1
    ' d9 N1 F% J5 J2 h3 k9 m
  63. user_name = testuser
    : H0 k  E' B- t! V0 _5 `6 T9 k
  64. 密码= my_password 8 U9 j/ e9 H- M0 S
  65. getdriverfunc = getsqldrivermysql + w) F. W0 b9 f0 N
  66. vendorlib = libmysql.dll在
    . e! f% {* p$ e* y' W8 s8 ]! f
  67. libraryname = dbexpmysql.dll : V5 }8 j- T/ t, e$ o
  68. 积极= 1
    6 F* ^0 c( ^( P1 Y% ~  t4 m& z2 \
  69. ---例如---- * \8 @% H, |0 K: n) P9 G
  70. -写在0 2.03.04由p wk.linuxfan
    . x5 [' z) T0 q/ u$ c
复制代码
发表于 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
! Y0 f+ F1 M7 t, M. C' x0 z$ b- f' W( b5 I- W. K8 U( b$ z, b
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-3 01:20 , Processed in 0.091911 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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