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

3139 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 2 D$ x! [& u6 F" }* m2 x3 K& h
$ m! G, D: o: y' U) Q1 r
  1. & Z/ k1 j6 s4 ^. W9 _. V
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    : I- }6 P  c' U, j' a
  3. % r2 `; @* C! K* \1 d7 {1 j
  4. ### What we need ###
    7 F- l2 u  e/ \& [
  5. Naturally, we will need a MySQL server to store the data for us, this document 7 \0 f# o+ ~; a
  6. will not explain how this can be done - there are documents out there for the 7 C! y% \! D$ d. }  K+ w' C
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    0 [: V! N2 F  S
  8. and a user account (username + password) that has the permissions to do stuff
    ) }2 t: r- B, K0 S( G9 S* j
  9. with the database. Additionally, you will need a vendor library installed on the
    : J" x" p; _) ~/ k* H" C+ y& Z- _
  10. local machine, this came with my MySQL install.& p5 l; ?( b! @; x+ A
  11. These instructions will not tell you how you might transfer your data from the3 l; b# G) ^, }3 ]& ], h5 M% R
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    9 ~# |" `. t4 i7 D$ _7 q/ V# D
  13. database.9 ^: |4 {2 r0 l/ n9 A: l+ J7 b# D
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    8 g5 M/ F3 B) I
  15. the time of writing, there are still too many issues - check the current status
    2 S) U5 N: l7 n! X7 c
  16. in the TeamSpeak forums if you are interested.
    ' t. W1 t6 U: s. ?* T( g( Z0 ]' [
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ; r/ [& x# v4 B3 c: L
  18. Borland was used. This driver can only interface with the client library that
    4 {9 ^2 \0 X9 ]) j: @  `
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this' |( e& _+ q" d+ X, Q. V; V/ e! t# p8 j# ~
  20. client library - basically all you have to do is to use a 3.x client library as
    . M* J4 R* s+ }
  21. "VendorLib" and a 4.x database to connect to.* R) T; G/ J( {, U* _$ N6 a
  22. If you need more info about dbExpress, you can contact Borland.
    - N, m% _; o" j( m* G6 m
  23. 7 M/ r7 e6 G) R7 T
  24. ### Doing the work ###
    4 V% C4 `  _9 w8 j* L- f
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    8 V1 `4 {' z2 O$ u
  26. the perquisites right, just open your server.ini file, and add this section at5 x: ~& j, C. l8 F3 T, e
  27. the end:' i1 d2 N- C& z
  28. ---cut here---' i* ?3 l' M1 O4 J) ?
  29. [DBEXPRESS]9 @5 s! P0 b% K9 F$ }
  30. sqldir=mysql_sql
    ( G2 l. J8 k  I5 E0 S) b  o) w
  31. Drivername=mysql
    9 t2 h' F/ f3 t+ L# P; |: z& M
  32. Database=Your_Database_Name_Here
    2 _) w2 o  T2 Z; R; z
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ; d# X0 V* t& V6 ~2 V8 T& M
  34. User_name=User_name_on_the_MySQL-Server) S- K* Z) W! O
  35. Password=Password_to_go_with_above_user_name! y) T( q" P* C# ~8 T
  36. GetDriverFunc=getSQLDriverMYSQL
    - i" X7 y3 ~2 g# R
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib: ?" M$ Z5 J/ k) Z% F4 [9 v
  38. LibraryName=path_to_libsqlmy_libary; j8 Z8 w" `+ T7 a. G
  39. Active=1( y2 b3 ^* e4 j2 ~
  40. ---cut here---
    7 @" j+ ?" O' `
  41. In my environment (a linux box with a MySQL server running locally) I have:* W% Q& Y) N  ~5 @' F9 M# K
  42. ---example---) U) R0 U7 S' M& @# d
  43. [DBEXPRESS]
    7 e9 S# W  y$ w1 P4 H
  44. sqldir=mysql_sql6 Y% h% R  D4 Q7 E* w
  45. Drivername=mysql
    0 o" ?* `0 Q+ }! q. p
  46. Database=test/ M3 \7 J% W% |9 h/ f
  47. Hostname=localhost6 l" L9 }7 r$ \! i& ]7 Z
  48. User_name=testuser: k' @4 J" p+ x8 b3 `  m! s
  49. Password=my_password
    ! K- q1 Q  O7 {0 {7 e) G
  50. GetDriverFunc=getSQLDriverMYSQL. L# _6 v. S' s8 W4 U
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0% c! @0 w  A/ J: o7 j' ^
  52. LibraryName=./libsqlmy.so+ b5 l0 H9 M0 Z' M4 c% W& E
  53. Active=1% v) i$ @3 [  m, z$ R- c
  54. ---example---' x; I: x$ i8 z( ^6 Y7 \0 B
  55. ! b: O5 O" w. D% ?
  56. On a windows box, also running the MySQL server locally, it would be:' O9 w5 I$ \6 q" \2 n8 x- A& `4 H
  57. ---example---, F" F3 h7 X9 v! O3 m
  58. [DBEXPRESS]$ }8 Y+ m1 v+ p" u# ~9 ]
  59. sqldir=mysql_sql
    $ i' i7 e) }* D2 B% A& g4 ~
  60. Drivername=mysql
    5 [9 T8 z( i8 g1 B/ _
  61. Database=test+ J0 U3 R3 w; Q2 b$ b' r
  62. Hostname=127.0.0.1/ R" b2 w0 B, Y- l5 Y8 r
  63. User_name=testuser. |+ e* Y' B6 o2 \* j! W7 w1 ~
  64. Password=my_password
    % {6 z$ D' j: J- _3 L
  65. GetDriverFunc=getSQLDriverMYSQL
    2 t! M6 q, ?9 ^! g
  66. VendorLib=libmysql.dll! R# M# w  S1 p& u* s3 ^
  67. LibraryName=dbexpmysql.dll9 G! Y: v' Y* F' P- B& Z
  68. Active=1- }0 O9 c8 V: S+ _+ h
  69. ---example----% D) I& D! m0 ^, p
  70. - written 02.03.04 by pwk.linuxfan% p. U, n0 j: P7 u  k

  71. 9 _0 F. H4 z" I/ `
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
' V. \' c  h( P% X% y

  1. + [- ~0 b, ~# j7 A" f- l! X
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 0 u: Y) {7 U( r# O# P
  3. 0 r2 N" P! p) \8 P9 n
  4. # # #我们所需要# # #
    + h0 p, b) O2 t: s. U& R
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件, W3 i- d- f8 \: Z1 j7 S: T6 z4 z0 z8 n
  6. 不会解释如何做到这一点-也有文件存在,为& x5 m) @  @# V% [
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ) h6 Z. D: j; S2 o# B
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西5 }. t/ o; b/ R- L# A- H
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ) @; z5 J! W2 U' d- R. ~4 E
  10. 本地机器,这是我的MySQL安装。
    $ r6 I  {/ k: F2 z4 R+ s) ^* l/ {
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从2 o7 X( H5 c9 N3 d5 p4 D/ \
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 0 T) c5 [; \( n" ]/ D
  13. 数据库。 * i2 O4 k, G: U! F
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    0 d5 e8 D4 I& o2 G  J
  15. 编写本报告的时候,仍然有太多的问题-检查现状
      I6 B, y' M5 j
  16. 在teamspeak论坛,如果你有兴趣。
    3 G  R# |4 y! x- e' r* e* g
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机8 \9 \' c3 ^2 V4 I' g
  18. Borland公司使用。这个司机只能界面与客户端库
    2 }+ d. Q' {' _" a5 \" Y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这) d0 j( x3 r. T' Z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为5 o& a( K: f: Y6 l' T/ a
  21. " vendorlib " ,并解数据库连接。
    6 e2 b& p- {& ]2 K! h& o
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    . Q( Z( D' E3 w5 o- e/ s
  23. , M; m! K- u# S( t& g
  24. # # #做好工作# # # - N' k. I. r- e5 s! H
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    9 K: n: X. J: m4 n
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    . {  a! }9 v$ @8 x, J. k
  27. 结束: 3 U$ D- }5 v- x6 t
  28. ---削减这里--- ! ?% Y* I: ?5 ]' N
  29. [ dbexpress ] 1 Z) d, \* E3 B* O
  30. sqldir = mysql_sql
    7 D& w+ j8 C6 s  h1 m
  31. drivername = MySQL中
    % [! i( ]! x. A6 K9 n' l1 F: q
  32. 数据库= your_database_name_here 1 a, D1 `. K3 z  ~1 O
  33. 主机= the_pc_the_mysql - server_is_on
    3 g; E# R7 E4 J9 V' D1 w
  34. user_name = user_name_on_the_mysql服务器
    % l: ?0 n& \- R7 y( U. G0 j
  35. 密码= password_to_go_with_above_user_name 6 G: ]6 i* e, Y. D  n
  36. getdriverfunc = getsqldrivermysql
    ( @& a" v2 \& i
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    : j$ O6 B6 m# k: U* f" u
  38. libraryname = path_to_libsqlmy_libary
    : D9 `& z/ q% g% d
  39. 积极= 1
    " j/ L! a; u# [
  40. ---削减这里--- ( |6 {7 m* w- W. g. r+ e8 @$ R" z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    5 i' V! d% B$ r2 @$ z" x& U, m
  42. ---例如--- ! y" O% X9 ^; X% i' ?  k5 Q
  43. [ dbexpress ] + J4 V0 G0 q/ i; [
  44. sqldir = mysql_sql 9 n. p: r, z+ l
  45. drivername = MySQL中' O/ D( [" |% J  D, O
  46. 数据库=测试
    8 ~1 y9 b) i* J0 e% {  o6 W3 F0 ]/ k& d
  47. 主机=本地主机+ X+ e) Z, _2 O! |) v/ X$ @
  48. user_name = testuser
    ! _% _1 V' u# {+ ^9 d
  49. 密码= my_password
    " m! l. h1 a9 _! S4 r0 p7 V- @$ A
  50. getdriverfunc = getsqldrivermysql
    ' O( L/ w7 g( o- a; |: ]$ p( t0 p
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 4 M5 n0 F. ?* Z& l2 k5 ~* Q
  52. libraryname =. / libsqlmy.so
    $ W; K# C/ }" y: y. Z
  53. 积极= 1 6 [0 u7 E5 V* J
  54. ---例如---
    # ?! _; f8 I9 A' w7 w1 X

  55. 0 w+ r/ f1 y0 a" R
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    " T: Z5 _, I! |" u
  57. ---例如--- " ~8 U! e/ Q4 [' h% ~# c9 y
  58. [ dbexpress ]
    ' S) g2 \% n: M
  59. sqldir = mysql_sql , E/ P+ \# f" r( b+ W# I/ [% s. l8 h
  60. drivername = MySQL中2 J( }& a$ |+ C5 X( u: |) G
  61. 数据库=测试
      C# j3 ~' C2 Y
  62. 主机= 127.0.0.1 $ @' F2 X5 x0 L
  63. user_name = testuser ( A0 @- K8 {1 r$ g' M: H
  64. 密码= my_password
    # M9 s+ u( N) l2 j/ J9 b$ s
  65. getdriverfunc = getsqldrivermysql
    . O1 l- U# ]8 h
  66. vendorlib = libmysql.dll在. B$ |6 ]9 U+ H' u: N, ^
  67. libraryname = dbexpmysql.dll 4 N1 V# E1 N( k
  68. 积极= 1
    ( n$ x. A+ b6 o* R  m  Y- I
  69. ---例如----
    : ?% J" D) A7 ]- O4 V
  70. -写在0 2.03.04由p wk.linuxfan4 @: j9 E! o- }- V, ^
复制代码
发表于 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" f5 W  w# ]; E  k: F+ x# d
/ @: x1 w6 r" k' r% p3 ~; 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-9-9 18:33 , Processed in 0.086592 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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