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

3128 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
! \- \# o% {( B1 }# m5 y2 l
6 x2 b* ~3 B5 z# b; {" o( O

  1. ; N0 m8 }; F& z/ c* u1 i- a
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    4 i4 B' S- O, N
  3.   o" ^5 s5 I# k
  4. ### What we need ###& `! p2 }* w& a4 \% E8 v
  5. Naturally, we will need a MySQL server to store the data for us, this document
    " B4 B5 `( }8 q* a) ]2 ?, U
  6. will not explain how this can be done - there are documents out there for the
    4 z" T) O1 O) G# e+ Q8 B
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    2 @3 B; {2 f1 H8 N9 Y
  8. and a user account (username + password) that has the permissions to do stuff
    7 U. ?- T. b0 t/ q- t4 f" j. s
  9. with the database. Additionally, you will need a vendor library installed on the
    2 \$ z1 T3 J. n1 t$ v' K% T
  10. local machine, this came with my MySQL install.
    " I* Q" I2 g% n2 a
  11. These instructions will not tell you how you might transfer your data from the
    3 z/ s- H6 b$ v3 I1 M
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    # A7 J) _8 _8 L; I! @7 y
  13. database.
    ! Y0 e$ @+ Q$ [. J) ~* a! D
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    / p6 P$ f/ H3 B: {- W; ^
  15. the time of writing, there are still too many issues - check the current status
    ; i/ K! |. r2 X9 o
  16. in the TeamSpeak forums if you are interested.0 I1 l- j! Q% A
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from4 X2 f. I( h' q, [, z
  18. Borland was used. This driver can only interface with the client library that 6 H8 T% |4 {4 p# O5 a9 K
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this: t2 \3 S* G2 A
  20. client library - basically all you have to do is to use a 3.x client library as
    ( R5 y: ?3 @) t; x2 p- o- X1 p0 I
  21. "VendorLib" and a 4.x database to connect to.
    + P; x9 ]& `5 b4 n! K; J+ F
  22. If you need more info about dbExpress, you can contact Borland.8 _1 {" R7 q' l/ \1 s7 x& u

  23. ) i$ S* \5 m1 ^4 [" D$ V/ N" @
  24. ### Doing the work ###
    8 u3 g; {' c6 x# r9 O4 z7 Q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all( a3 R; G6 Q( ]* U
  26. the perquisites right, just open your server.ini file, and add this section at
    5 I  }! ~" Z: W. @! g: y
  27. the end:
    / ^% j7 U- x! f+ R  m
  28. ---cut here---$ J, V- Q( e# x( g7 s; l8 {$ I( K! H
  29. [DBEXPRESS]
    ! L2 ~! F, Z4 I4 R' X0 g4 k
  30. sqldir=mysql_sql
    . j- M; p/ Z* H6 U6 Y/ r4 b
  31. Drivername=mysql
    / [. B4 r# K9 ^, n' ^: O
  32. Database=Your_Database_Name_Here
    , z9 h. e# ^  J9 d7 G: I
  33. Hostname=The_PC_the_MySQL-Server_is_on' |  b; _  F- H8 b% @. k
  34. User_name=User_name_on_the_MySQL-Server
    % _) e/ H& h' T; e
  35. Password=Password_to_go_with_above_user_name' @- ], Q: B  G0 ^( N+ b8 z
  36. GetDriverFunc=getSQLDriverMYSQL* r* K' U, u* b, l
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib' y+ E( p6 q, u; }
  38. LibraryName=path_to_libsqlmy_libary
    7 T8 R5 w0 x0 }$ p: Z5 A
  39. Active=1* ~: s0 ^9 d' ]2 h5 T
  40. ---cut here---+ q2 ^, D- ^  ~/ {/ |) O
  41. In my environment (a linux box with a MySQL server running locally) I have:& l( A8 z! s' e9 {7 Q
  42. ---example---
    , Z) f3 z0 D2 |: [  U  O
  43. [DBEXPRESS]
    7 R' y6 T2 j& t, a9 g
  44. sqldir=mysql_sql1 N* e! e% `# Y% m
  45. Drivername=mysql' L# k8 f  L" L5 P- y" ^, `0 r# l
  46. Database=test
    ( P$ ]- C2 L6 a) R. m! G
  47. Hostname=localhost; L$ p- p3 J5 q2 l
  48. User_name=testuser: v7 L! ~! F, @& s. d# `. |
  49. Password=my_password
    9 @1 {" @& \: s
  50. GetDriverFunc=getSQLDriverMYSQL
    # x  ?; I# R( |0 z( X
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - l1 a- g! w; c8 R
  52. LibraryName=./libsqlmy.so
    , w" Z# N5 b4 n
  53. Active=11 M9 N2 S+ R) f0 T0 b
  54. ---example---
    ' m5 \4 [. b. b3 m1 I7 I
  55. & j2 B, K! i. }( I  T7 i
  56. On a windows box, also running the MySQL server locally, it would be:# R8 s/ a- Q  C5 H$ q: [' H
  57. ---example---
    : N: V% k7 L6 i7 U% P# ^7 Z
  58. [DBEXPRESS]
    : O5 g8 Q) \7 z( d% C& R8 O
  59. sqldir=mysql_sql
    6 r' g$ \& z" Q
  60. Drivername=mysql4 d" T1 a- ]0 Q8 z3 i
  61. Database=test9 A8 a0 r2 j. ^# U) @
  62. Hostname=127.0.0.1' f( s2 [# X' m5 c6 M: m
  63. User_name=testuser
    7 a6 [9 O$ p; Q* g- c) ?; S
  64. Password=my_password" U$ R, |- w( |9 T( X  V7 L- I1 G0 X
  65. GetDriverFunc=getSQLDriverMYSQL! h" Y; s8 y$ P; i) d
  66. VendorLib=libmysql.dll9 |- V& Z  a& K* m& ^2 P) k
  67. LibraryName=dbexpmysql.dll
    0 ]5 S- h3 y$ I, f! g( G; y- i
  68. Active=1
    7 @: ]6 E7 u& a! q! o$ }
  69. ---example----
    # \9 v3 z$ u+ K5 k1 u% c
  70. - written 02.03.04 by pwk.linuxfan
    ( @: t# J% g' I3 B, ^

  71. - O% ?5 F. h# G4 B
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
+ l+ X: C7 z; r/ w4 }' W
  1. - k% C8 N4 j2 H" d& N
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### / E( T- C  ]# _( N1 x

  3. + e# ^! Q+ h( P4 y9 _( Q- q- ?
  4. # # #我们所需要# # # . \6 m! A+ y+ S  L' z* `( Z6 |
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    % N# Q8 x. X. y' c
  6. 不会解释如何做到这一点-也有文件存在,为
    ; @% S, ~) a$ b/ U' g& A" |) x: i
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    7 j0 e: K$ M' h4 d
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    $ }+ b  h$ i9 E( |
  9. 随着数据库。此外,你需要一个卖方图书馆安装于* a$ }8 Q; W  O) N
  10. 本地机器,这是我的MySQL安装。   V3 M5 N/ I' q0 ?5 n" D6 M
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从; M6 p+ _% H2 i) k3 V; _- `
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    & S& v$ B$ }% z' X
  13. 数据库。
    3 B+ c2 ~3 C8 [
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    % ?+ g  C' g3 X+ N% s* P/ \# A
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    2 E' `/ x+ X- I( v( T8 X2 l
  16. 在teamspeak论坛,如果你有兴趣。
    0 p! x' z- @0 K- U
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机9 G8 G9 ~1 T, j; w- i' c+ f. p
  18. Borland公司使用。这个司机只能界面与客户端库
    7 g" u9 H7 R, `3 q1 \" H2 s
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    5 y& n* B1 U- R
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为* K* W, }( P2 u4 l8 i+ Q& s
  21. " vendorlib " ,并解数据库连接。 9 G4 Z, v- N' f4 v. d
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ! G$ s  |9 t$ @+ W1 l$ K4 F
  23. % _$ H/ T+ b1 h! d
  24. # # #做好工作# # #
    3 N$ l. l! R9 o  V* q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    0 ^0 j0 b) `- V7 ^& O
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在: o8 C! F% |0 V
  27. 结束: & B9 k# g* |" `
  28. ---削减这里---
    / }) d2 V' E/ N* T: ?2 Z+ v" f
  29. [ dbexpress ] ) B' |) Z0 N/ G  _4 F+ @
  30. sqldir = mysql_sql
    9 w' \) W0 u2 i/ y- u' u+ Z
  31. drivername = MySQL中: S. d, K9 h! o/ ]& W
  32. 数据库= your_database_name_here
    , `# U% m5 x/ b
  33. 主机= the_pc_the_mysql - server_is_on ' Q1 c% R  q) T$ W. I1 _2 D; u
  34. user_name = user_name_on_the_mysql服务器
    . i% y' ^: z7 v+ A8 R- c, c
  35. 密码= password_to_go_with_above_user_name 9 ^9 i6 @4 i7 E, T. _# j
  36. getdriverfunc = getsqldrivermysql
    : f" {1 x6 R8 O% I- }
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib % p7 t6 o+ a$ A" s5 U+ J/ a8 L
  38. libraryname = path_to_libsqlmy_libary 3 q. |5 w7 z/ h$ J8 r$ T$ n
  39. 积极= 1 . D$ j  c( V% \
  40. ---削减这里--- 2 A2 ?" D& f9 C/ \: W+ L
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: . W6 r* \6 K9 [, z
  42. ---例如--- 3 ^6 H5 h" [$ U5 M  _
  43. [ dbexpress ]
    : j" ?3 m) F- |  G
  44. sqldir = mysql_sql # U9 W( M& [1 D
  45. drivername = MySQL中& C  C5 v/ N: G. y# Y7 H' q
  46. 数据库=测试
    . y( h+ Y# e! S5 t* V/ V, Q
  47. 主机=本地主机3 X# M- C0 Q& N# r
  48. user_name = testuser & ~: N6 a! W' M0 E; {
  49. 密码= my_password
    4 L+ ^; d; G% x$ U
  50. getdriverfunc = getsqldrivermysql
    4 D' \& E# j# o1 B" q% s
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    7 V+ @/ T7 x( o3 Y: v
  52. libraryname =. / libsqlmy.so
    : y) T! |% E8 ~+ g) f
  53. 积极= 1 ! P2 P1 e' l. A1 f! X% P& B
  54. ---例如--- 0 X9 m# V5 W% a6 _7 I

  55. + i  X8 z7 U, l1 I" f( [
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    8 M  Y6 U$ y' `4 B0 N. K: X
  57. ---例如---   a4 u3 Q9 N. s. \/ m$ y
  58. [ dbexpress ] ' u- p8 i8 A- S0 ?. ?6 h6 C$ m
  59. sqldir = mysql_sql
    # q5 P9 j$ y9 K  x
  60. drivername = MySQL中4 W6 [% @& S1 `* m5 R2 s( a
  61. 数据库=测试
    ) o5 D- F3 M: P7 n) W8 ^
  62. 主机= 127.0.0.1
    ( _/ r9 A* f& y! E
  63. user_name = testuser . h! a( }# c4 h! |$ u
  64. 密码= my_password 6 q# ]: f  U1 k% Q; G
  65. getdriverfunc = getsqldrivermysql
    0 Z' E$ B$ }1 F: p+ o2 Z
  66. vendorlib = libmysql.dll在+ S9 g# D, T! ~* m
  67. libraryname = dbexpmysql.dll
    ' }4 h5 x9 t% W! U' T
  68. 积极= 1
    8 M* {$ F' n6 D9 [
  69. ---例如---- 9 z" I% c2 D4 \- E
  70. -写在0 2.03.04由p wk.linuxfan9 b! U% h- g: u7 ]/ w. }0 {
复制代码
发表于 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+ W! X* o+ \" c5 Z" T  r6 O
% b4 a1 l$ \- S' R5 r# N
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-6 12:11 , Processed in 0.087531 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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