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

3035 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ) K9 b# u2 b5 G2 [3 |
8 M7 [6 X0 a1 M

  1. 8 b9 c( E1 _/ K6 m, Q0 h
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    * e4 O( `  K! u
  3. : R" p. d8 c% M
  4. ### What we need ###9 ~1 |# w) w2 o7 I" w0 T/ f5 ^# V) Y
  5. Naturally, we will need a MySQL server to store the data for us, this document / W! }& ]6 T7 H7 k  p
  6. will not explain how this can be done - there are documents out there for the
    5 W% S& |, V' g- ~1 ]: T
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ' s8 O7 X  g% `  S8 T7 g
  8. and a user account (username + password) that has the permissions to do stuff
    . v! n$ {% G! L7 `
  9. with the database. Additionally, you will need a vendor library installed on the- E/ w0 |- f" B1 _9 f, ^% g
  10. local machine, this came with my MySQL install.
    3 F* B9 a/ N$ s* M- F+ U3 Z, C
  11. These instructions will not tell you how you might transfer your data from the
    " k6 |& k/ X- m% T  U  D
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    3 G; S6 P5 N, x, E; E1 C( V$ g
  13. database.
    : V3 _) r" ?( X+ s+ G& o! ^- ]
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ) \% X2 E. T+ {  g6 D: u  g. }! D
  15. the time of writing, there are still too many issues - check the current status; I* J5 [- I  k  d% v+ T+ u4 k% o, }
  16. in the TeamSpeak forums if you are interested.4 r) l3 Z9 ?- _
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from. U4 _/ w/ l# }) [. ]
  18. Borland was used. This driver can only interface with the client library that / X" C. O( T6 Z3 l8 w: }. B$ S
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this: w8 I+ C" k: X9 H( N  q1 r8 |
  20. client library - basically all you have to do is to use a 3.x client library as ( `; l. {9 E' s0 i
  21. "VendorLib" and a 4.x database to connect to.
    % V+ d/ p# ]' L- v2 K; y
  22. If you need more info about dbExpress, you can contact Borland.
    5 U$ ~# \* X6 ~. G- i
  23. : u7 S% F( {3 S5 d% W: K* c1 ?
  24. ### Doing the work ###
    9 f8 U9 v( [$ G% |$ F
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    4 v8 k5 f0 `) V( N; r# r4 y
  26. the perquisites right, just open your server.ini file, and add this section at
    % o+ J: \! _2 H  S5 [7 G8 p+ h: b
  27. the end:% X' A) ~$ z, i
  28. ---cut here---
    $ w9 A( y0 @* ?! g( x% h
  29. [DBEXPRESS]
    : @+ [* [% n8 k( t- K; a5 p
  30. sqldir=mysql_sql
    + I" T- P) Q4 q( J7 }
  31. Drivername=mysql6 w4 T& D4 |& f- m! |
  32. Database=Your_Database_Name_Here
    ' f7 o* H+ S& F
  33. Hostname=The_PC_the_MySQL-Server_is_on$ r# e" P" g8 N  b5 P) e6 j7 y
  34. User_name=User_name_on_the_MySQL-Server
    + e8 B2 m% i/ i- L+ L& X
  35. Password=Password_to_go_with_above_user_name4 {6 k' x; S! R0 U7 Z
  36. GetDriverFunc=getSQLDriverMYSQL5 e. V: A0 C/ B. a  e* f1 i) `0 u/ ~
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib2 Z* w1 L* U! M# d# w' K- c/ h/ q
  38. LibraryName=path_to_libsqlmy_libary. ^' ~; k$ g7 K+ v  }: _" x. f
  39. Active=1* A. I# X, o# C
  40. ---cut here---0 l/ i/ m( w( D
  41. In my environment (a linux box with a MySQL server running locally) I have:# M2 m, [( u/ U1 c6 u1 s- x+ t$ K- V3 u& M
  42. ---example---! k" n2 v2 f' M, {. J( D
  43. [DBEXPRESS]. p) b& }, T2 o7 v- b
  44. sqldir=mysql_sql- ]$ o/ N- A$ v- C; V
  45. Drivername=mysql. m+ Z4 N: w. C  j2 O
  46. Database=test
    7 h" y, O7 O/ m/ j  F2 x
  47. Hostname=localhost: X' V- l. {6 z9 F( s3 `- l
  48. User_name=testuser9 }" n+ b0 D" _# D
  49. Password=my_password
    ( T/ {- O. P$ s" i: M
  50. GetDriverFunc=getSQLDriverMYSQL
    * Z. E. Z. D. x
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0) @3 \" _/ [  R4 O
  52. LibraryName=./libsqlmy.so
    0 A6 ?9 Y+ U% q/ k, b
  53. Active=1  A" P+ x$ I% d4 m" _
  54. ---example---% u* ~2 G5 N: @& h) {
  55. 0 E1 K* d0 B0 q; c& n
  56. On a windows box, also running the MySQL server locally, it would be:
    ; k; m% r% Q+ d5 Q5 p
  57. ---example---7 Z0 S5 h- k1 i" x/ s
  58. [DBEXPRESS]
    7 ~! I" r; u( m; s6 X6 N2 r9 r/ M
  59. sqldir=mysql_sql
    5 @! X0 [, J# ~, b) c
  60. Drivername=mysql
    & N: q9 y7 f9 U# o  v( A
  61. Database=test: I$ M) M% b' l& k# A
  62. Hostname=127.0.0.1; z+ O& j* S4 E' m; {
  63. User_name=testuser
    . F6 |- v' O9 r9 z
  64. Password=my_password
    0 Y! Y; Y+ M% }( W
  65. GetDriverFunc=getSQLDriverMYSQL
    8 K  H, m# A6 C" }6 L
  66. VendorLib=libmysql.dll
    ; ]2 e0 z& m# E9 w, F' O
  67. LibraryName=dbexpmysql.dll2 a' }* \: [' L3 E
  68. Active=1
    ; K2 R' h2 W& A; d0 v8 |. L
  69. ---example----
    6 t) P; k  t6 M& y' [0 |
  70. - written 02.03.04 by pwk.linuxfan
    $ i& ?* Z! Z( T: A& ~9 D

  71. 9 v% Z. x% N' G2 a; k$ {' p
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
( M) J) N* o8 r! D- O- ^
  1. ) w7 _4 Z/ A* z: L- t+ Q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    6 U( y9 |" J# W- Q( v
  3.   `" x# ], V2 `( C  }
  4. # # #我们所需要# # #
    $ {+ I/ ^7 Q, S! {3 ?$ C7 {8 w
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件, w7 T1 W1 c' }( X7 A
  6. 不会解释如何做到这一点-也有文件存在,为4 {0 |/ d0 c  H/ R. j
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用: n5 O0 U: s1 C9 U* f+ a
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    8 A- R- R! g% W6 T# g1 Q; _
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    2 T2 U' a% W) W" ?! D. u" T" `1 s
  10. 本地机器,这是我的MySQL安装。 6 Y6 q; P4 y, d9 }5 x
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    + Z/ f$ V: K, |' y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 7 {3 A1 b5 A5 g4 I! P2 q, x
  13. 数据库。 ' ^# p( W9 t! m9 Y, ]
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在& w& ^+ G4 `3 I' o0 D; x
  15. 编写本报告的时候,仍然有太多的问题-检查现状* q: o" X3 J4 |: u5 k
  16. 在teamspeak论坛,如果你有兴趣。 ) B2 `: L" l& C& H" q( G) n
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机. f5 n* J3 j! L( D7 F
  18. Borland公司使用。这个司机只能界面与客户端库+ ]3 u  s) I; o+ Q* m) O) T
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这( E9 @$ @9 p& Q6 a  B1 k/ V- i  }
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为3 I/ A. S/ ]+ b. y, k4 j
  21. " vendorlib " ,并解数据库连接。 " d8 h# v0 C+ u1 [; m
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 - U: }9 B' {0 ?! r9 q6 }) v
  23. ( x! ~8 H% p# I, U9 o5 S0 L
  24. # # #做好工作# # # . T; B+ [8 H/ I- |
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都) i7 b8 n0 ?5 S0 L  y* W" F  U8 A
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在0 N3 ]& I* [* E$ n2 x& L
  27. 结束:
    3 Q0 O7 ]; v. Z
  28. ---削减这里---
    & ~- i% U" u! ?) C* B) i
  29. [ dbexpress ]
    1 O8 l; e3 H0 O( ~' [/ R: v
  30. sqldir = mysql_sql
    / q! r- b% n- J- K
  31. drivername = MySQL中( G7 Y* [) |# i; D( v6 v
  32. 数据库= your_database_name_here
    1 s* M7 U! n5 X# v9 T4 ~
  33. 主机= the_pc_the_mysql - server_is_on , ]6 Q9 y$ v1 F9 O2 l0 m" z' I
  34. user_name = user_name_on_the_mysql服务器  ?# P/ |2 b$ t* f
  35. 密码= password_to_go_with_above_user_name
    ) P4 d* }) K# d: }  Z* m
  36. getdriverfunc = getsqldrivermysql
    3 d8 ~, V/ y7 l6 J/ p- B( W3 l
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 8 t# X, w1 N* M) @' N
  38. libraryname = path_to_libsqlmy_libary 6 p4 q% s7 X& Z, t' y6 l; F
  39. 积极= 1
    8 C% d& P! D4 G% q3 t
  40. ---削减这里---
    0 I! p3 ^8 R+ |7 x! Y2 x
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: $ j8 A9 F! N, T+ z
  42. ---例如---
    6 I2 F5 G' N+ W
  43. [ dbexpress ] , B# y2 O9 c( J
  44. sqldir = mysql_sql 3 {" J# N$ I# ?
  45. drivername = MySQL中
    ( I: O& w1 E/ Z+ y+ b! S7 ]
  46. 数据库=测试: j: i9 E( \* b
  47. 主机=本地主机3 F) {8 X4 ^* e  w) H
  48. user_name = testuser
    ' v/ g" \: l! A1 E. ~4 j3 a0 P2 r9 o
  49. 密码= my_password
    , T- n% \# [: |/ Y$ M9 b9 w
  50. getdriverfunc = getsqldrivermysql 3 i+ e! L: s* z/ k
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 7 P( C! D& R2 g; w1 y* N7 Y
  52. libraryname =. / libsqlmy.so
    / A% m, O+ D# {- z0 z
  53. 积极= 1 ! g/ S0 n4 {2 B+ Z* {* e
  54. ---例如---
    8 H$ {* n. I9 m/ Y

  55. ) }2 V8 L1 A- y4 c9 e9 u  j' y2 D) u4 Y( h
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    * F4 V4 R7 W9 U4 \" F- r
  57. ---例如---
    / D9 H2 `, V$ {% I0 B6 W/ g
  58. [ dbexpress ]
    * b5 Z+ _/ p$ s; y. H
  59. sqldir = mysql_sql 3 G& n1 e  w8 E2 r
  60. drivername = MySQL中7 E2 A$ R; a; r8 A! R8 Z" F0 {
  61. 数据库=测试! T- y/ O7 G) W; U
  62. 主机= 127.0.0.1 + J, s. X* m5 {8 C, Y- E
  63. user_name = testuser
    . i6 b/ J1 V  ^! b( X: T
  64. 密码= my_password   X" Z% t" v3 B! Y
  65. getdriverfunc = getsqldrivermysql
    " l/ ]6 Y8 k1 m1 \, w( p% t- M: w  k# {
  66. vendorlib = libmysql.dll在
    1 P" F; g2 ]3 g) n
  67. libraryname = dbexpmysql.dll . R5 r& M6 P4 g2 v4 D  V
  68. 积极= 1 : F! M. a" w& }2 N1 i# z, ]' l. g
  69. ---例如---- $ g, p! F( z; o8 A
  70. -写在0 2.03.04由p wk.linuxfan* M1 ]' m; d. o2 \' U# o! R5 w
复制代码
发表于 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; y2 y" i8 g3 N
# N" ^' `3 G! }! a7 t: q" d- j0 a1 W
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-18 01:34 , Processed in 0.114997 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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