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

3076 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
) R8 F$ h2 U6 X/ d7 b* i# B- E( |7 p' g
  1. 6 p( Q  Z/ n5 b# |" i8 j8 t# \
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    4 x7 |: [5 l7 u

  3. 0 R1 |, Z; x5 j& `
  4. ### What we need ###
    - Y9 q, A' A4 M% [
  5. Naturally, we will need a MySQL server to store the data for us, this document
    7 [1 q. s6 \; F+ m
  6. will not explain how this can be done - there are documents out there for the / H, Y$ |% U+ {& j0 s
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    , e7 g. F1 s& Y+ t5 b6 c8 ?; O6 M
  8. and a user account (username + password) that has the permissions to do stuff, w/ k- e* n7 Q
  9. with the database. Additionally, you will need a vendor library installed on the. Y/ Z5 {4 _4 c, ^2 ^
  10. local machine, this came with my MySQL install.7 U9 |6 K* R# n; M! a; m
  11. These instructions will not tell you how you might transfer your data from the
    3 |' Q+ T+ l& b" e# F
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    & r8 ~9 Q  n7 p6 \( _) {
  13. database.
    ) x" M) {+ T1 `' j4 [8 U
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    - m' I" ~+ z/ x
  15. the time of writing, there are still too many issues - check the current status, p1 f5 R& L' Y# x8 H3 x
  16. in the TeamSpeak forums if you are interested.7 R( [& y# u  R) O
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from5 K8 `/ {. i0 X- d" F
  18. Borland was used. This driver can only interface with the client library that
    ! j1 K% S" Y( E, v
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this; o5 ^- y, j+ y( w8 I( K  e/ c$ h
  20. client library - basically all you have to do is to use a 3.x client library as   ~* k  B  i% F6 n
  21. "VendorLib" and a 4.x database to connect to.
    ( t- H" Z! M# _4 L! _$ c3 H! I% V
  22. If you need more info about dbExpress, you can contact Borland.8 z5 a. Z  m  e5 M
  23. 8 ]* r# T: Z* U( T2 _: ?( n
  24. ### Doing the work ###
    . I4 ?* K7 ^* }/ W3 c0 U
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all5 c2 A6 C$ l4 O, e" m5 z
  26. the perquisites right, just open your server.ini file, and add this section at1 P# ~% e# E: L
  27. the end:7 ?4 K7 H. V6 k& t" V7 ~
  28. ---cut here---* b& c( B) e* h% }% y6 w
  29. [DBEXPRESS]
    # t, X; O7 r, h4 Y( Q6 P* a  [
  30. sqldir=mysql_sql
    ) a$ A9 H& i4 S
  31. Drivername=mysql" g& S# `  C' M9 S' e
  32. Database=Your_Database_Name_Here' ]: ]+ h/ M' n7 W
  33. Hostname=The_PC_the_MySQL-Server_is_on
    8 B! c% W& {+ p% h: J
  34. User_name=User_name_on_the_MySQL-Server4 Q( {  k0 j* g6 f) N6 q$ m7 g9 X
  35. Password=Password_to_go_with_above_user_name
    & v* a* l* x# \
  36. GetDriverFunc=getSQLDriverMYSQL
    : `! \9 [6 `, Q. {  v% r' g
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    7 V* G$ W8 Q9 t7 F# k4 ~; Z$ Y
  38. LibraryName=path_to_libsqlmy_libary
    0 `$ \% T2 d) Y' P+ `4 ?
  39. Active=1
    + c, s+ E' A* c  z) d
  40. ---cut here---
    4 t+ h$ S& x: t
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / Y1 s( S( l! P+ k; r; q' _- K5 a
  42. ---example---% l( @  F% L* {' O& {/ T7 r& m
  43. [DBEXPRESS]
    ! Q+ \! ~/ ]$ @; o
  44. sqldir=mysql_sql6 f! d& h6 g8 N+ r, t; X& s
  45. Drivername=mysql: b: L" L! {1 H7 x3 B. N
  46. Database=test9 Y* S5 f& V- B2 E% s
  47. Hostname=localhost
    : p, v. Z. G2 U( t3 O, w  }. S
  48. User_name=testuser
    # x, H/ `, {6 ?6 X
  49. Password=my_password4 U0 V3 j" N+ N
  50. GetDriverFunc=getSQLDriverMYSQL
    7 g7 y6 E8 ~3 P4 @7 ^8 Q) y) X
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.06 D5 N3 l* P3 N+ Q" N( ~
  52. LibraryName=./libsqlmy.so
    7 k) B- J9 @, [
  53. Active=1, C9 w1 s* p$ x" ?5 ?9 f
  54. ---example---
    2 n2 W4 D+ y  h& ~1 o
  55. 0 y4 ]9 D" @6 Q6 ?. `
  56. On a windows box, also running the MySQL server locally, it would be:) [' e) F* b: \1 v& o( A
  57. ---example---8 I$ w* f2 x! a2 j4 L) z$ d
  58. [DBEXPRESS]
    ' k! y4 I, |/ Q
  59. sqldir=mysql_sql* y9 X' A' g6 N8 {4 r5 j+ |% u7 T
  60. Drivername=mysql( L8 G1 ~) A2 m0 b
  61. Database=test
    , l! S1 f' N# q! Z6 g' y
  62. Hostname=127.0.0.1  @9 K& ]9 S( u1 W/ w
  63. User_name=testuser
    2 ^" Y% D, C! w; F" i: t
  64. Password=my_password
    6 C) T4 h" p: L$ @+ x9 ]
  65. GetDriverFunc=getSQLDriverMYSQL/ G; x1 f5 K5 z( ^3 |7 A
  66. VendorLib=libmysql.dll% k* e9 d: \9 m8 u
  67. LibraryName=dbexpmysql.dll3 i/ A2 x7 x7 ]' e( R7 K1 l' @
  68. Active=17 H2 C' Q) S5 [( s( o  B
  69. ---example----- b. J; [3 R, f' y( Z$ r9 r4 C
  70. - written 02.03.04 by pwk.linuxfan
    : e1 g* c! g: k  z

  71. 3 b" H! m: \; P3 v! h9 z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看! i1 V2 m8 F! @) y9 C
  1. 6 M/ {; Y' T+ b
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 0 q' l! h& j! o6 ~& G9 @$ y) T" W% W

  3. ; P* C$ N) m) V/ _8 Z
  4. # # #我们所需要# # # * g6 E8 `: w, Y3 ^. K
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    : q3 T+ E. u% U/ q4 L$ ?
  6. 不会解释如何做到这一点-也有文件存在,为
      K! e  A7 d& d0 f
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用  C& [2 w- Y+ e7 U# z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西9 i+ ?5 j0 ?& j) x" |
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ; Q: g8 v* D4 K4 B! s3 r+ p3 V
  10. 本地机器,这是我的MySQL安装。 8 m: v6 R' T# i+ x, \
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
      a! P* b  y8 h! p2 m/ _1 q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL , C/ A  a- |6 H3 B5 I( \% @
  13. 数据库。
    5 x4 D2 B( [  F9 b! d; S% U
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    " M0 Q- O0 M0 B+ p# A  G. H) q. y
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    5 q+ ~' w0 P/ f8 g. l+ a6 j
  16. 在teamspeak论坛,如果你有兴趣。
    , W7 b; A5 W1 E, I# w
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    - }8 m; P1 l- U$ b
  18. Borland公司使用。这个司机只能界面与客户端库& u9 B2 F0 P0 Q) v( x+ l% \
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这7 K3 v$ ~' N5 }* S* Z& C3 t+ \" L3 l
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为* J* f8 X1 M4 e+ j+ J
  21. " vendorlib " ,并解数据库连接。
    " ^% [# j' W4 Q7 A  t2 t" ^
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    8 E) c2 @; F1 B4 r8 a# |$ f
  23. 3 n8 g. ]5 ~* [* v- q& ]
  24. # # #做好工作# # # + l8 n4 i+ F: J7 S' {( y3 D3 j6 t
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    9 t2 n8 z$ b% c' L& q  n
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ) y3 K9 @/ g0 j0 k, v
  27. 结束:
    8 [7 ~7 ?2 X( L, {, [) T
  28. ---削减这里---
      p6 l3 c, h9 n* h, ^' f
  29. [ dbexpress ]
    , V# F4 w& a4 y9 H" e- p) i
  30. sqldir = mysql_sql 6 ]$ p) M; m5 C" G
  31. drivername = MySQL中
    0 |" d( C* o+ ~& Z: k6 `
  32. 数据库= your_database_name_here
    . [# ~* z' x$ }0 x
  33. 主机= the_pc_the_mysql - server_is_on
    ) \7 _; x7 Y8 Q  w
  34. user_name = user_name_on_the_mysql服务器! L6 W+ A8 P  A; O- K
  35. 密码= password_to_go_with_above_user_name
    ) b& C7 \, ^8 u8 y1 X3 q: j% s, {& y
  36. getdriverfunc = getsqldrivermysql - A" v1 f3 s9 o, ?- N. O7 l
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    3 y8 c' ~8 f8 O; S: r. O. B
  38. libraryname = path_to_libsqlmy_libary
    ; u3 N# d3 X& A* q: U1 h
  39. 积极= 1 7 Y3 K) F, \- v3 x
  40. ---削减这里---
    / Y' S/ [3 r* S/ c
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    7 P' i2 j7 \- \; ]: v
  42. ---例如---
    ' O" V; X  q! `2 h' Q$ k
  43. [ dbexpress ]
    : Z* t  f' E3 ]# |$ f4 {
  44. sqldir = mysql_sql
    / \  G7 T4 f* o- s/ g" i/ g) C
  45. drivername = MySQL中
    % N5 u" J5 p6 M
  46. 数据库=测试4 l  |6 a! u, g1 A4 d/ O" p" V" v
  47. 主机=本地主机0 @1 _7 z1 ?. A2 [; h
  48. user_name = testuser
    , [+ O4 X8 D! m; w! s
  49. 密码= my_password 6 }( H& `9 ]3 N
  50. getdriverfunc = getsqldrivermysql
    ; q* E6 M5 J7 |8 |& G
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 " J' ^; U% t7 _' k5 c
  52. libraryname =. / libsqlmy.so
    0 `2 \8 r3 Z( g
  53. 积极= 1 " {; S3 {/ |# m
  54. ---例如---
    . I! b8 W( V% \, c, H0 Z& _
  55. . ^8 J3 I+ _& c4 j; x) b
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ! u# a, U2 e$ j* ^1 R/ O
  57. ---例如---
    % x1 D7 l% H! O7 d" ]7 W7 S  R3 D# c
  58. [ dbexpress ] ( v2 O2 o. o, E( {8 q. ~2 V6 h7 q
  59. sqldir = mysql_sql . y: T! Z3 [7 G$ Q, t3 i' G4 m
  60. drivername = MySQL中
      s1 I9 N0 x% ~, @; K6 U8 r, h5 ^/ R
  61. 数据库=测试
    : ]5 x" i# L/ r1 r7 A. I; x8 [
  62. 主机= 127.0.0.1 8 V% l/ h9 d7 K0 p
  63. user_name = testuser . L& d5 _0 K8 Q# u8 d# v
  64. 密码= my_password
      W$ K1 ?+ T- c8 H' u0 L
  65. getdriverfunc = getsqldrivermysql 4 s( e4 z, p' o; j$ e2 [
  66. vendorlib = libmysql.dll在
    - `, O6 H: ?9 V) |' C% n
  67. libraryname = dbexpmysql.dll
    : }# S0 T% I! e. g/ t6 E) a
  68. 积极= 1 8 H8 b  C  f4 A7 T7 f
  69. ---例如---- 1 V  F9 Y* a. I$ p# Z3 l
  70. -写在0 2.03.04由p wk.linuxfan
    : \. `8 U. D; O* E5 a
复制代码
发表于 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) v4 V; {/ R) d  W  Z
0 }4 S- z5 e- j3 Y8 e3 m) {
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-26 21:06 , Processed in 0.113968 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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