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

3292 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
4 Y  s- R$ I4 U
& |. }) U* \2 V% }. W7 w5 G) I& T
  1. ( y. K3 o! U1 |: j' z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######/ H" v& w/ E8 e, i& R0 S, R7 z& \

  3. 4 ?! y2 G. G7 J  U' M
  4. ### What we need ###
    " H0 U" ^# C" c) k( J
  5. Naturally, we will need a MySQL server to store the data for us, this document
    3 P, F% C5 Z: S4 z2 C, Z( c
  6. will not explain how this can be done - there are documents out there for the # X) {; R  @( U9 |' W
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    * b" i5 r; S4 u- B% o
  8. and a user account (username + password) that has the permissions to do stuff" {+ J- n3 y. [2 \  X9 w3 _: h5 t
  9. with the database. Additionally, you will need a vendor library installed on the
    0 h) V# @; H; e
  10. local machine, this came with my MySQL install.; j) r' k/ a: q
  11. These instructions will not tell you how you might transfer your data from the7 J9 T" x9 K. }5 Q7 I) U
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL$ D9 I+ c) S2 W9 N/ `/ @0 K& _
  13. database.) E) ~+ j/ _/ _  {. k$ m- z
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ; k$ u0 B" E, E& f7 A0 N% p+ y
  15. the time of writing, there are still too many issues - check the current status6 G7 }3 G! @) K
  16. in the TeamSpeak forums if you are interested.' B1 ?5 S+ v- ?, @4 G9 S7 \
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from  V+ y; U3 J2 u+ w5 p
  18. Borland was used. This driver can only interface with the client library that
    $ U' l+ }+ ]* x( K, Z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    3 @( b5 Y+ [2 A/ s
  20. client library - basically all you have to do is to use a 3.x client library as
    9 A( r% J. z5 K; R' z9 r: f
  21. "VendorLib" and a 4.x database to connect to.
    - n3 V; N7 ~8 n" l4 ^8 N1 J4 y
  22. If you need more info about dbExpress, you can contact Borland.$ w9 u* v; z" R0 }* N- x
  23. + o' g! t3 R4 |4 J
  24. ### Doing the work ###6 Y4 F3 B( _- V% D* H
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all0 k' q. u% U, c4 E. }: w! \
  26. the perquisites right, just open your server.ini file, and add this section at6 s, L6 i! O: R$ [$ D
  27. the end:+ |4 }' ^* P" `1 f; u
  28. ---cut here---
    " W  x+ U7 M- n( {) i' y: l" \
  29. [DBEXPRESS]
    6 x$ D3 i9 R. ?  O0 J$ U
  30. sqldir=mysql_sql
    9 z$ {1 D5 s/ G, N
  31. Drivername=mysql
    . ^5 T  _# C5 [+ J$ S$ |
  32. Database=Your_Database_Name_Here
    4 C7 q! a8 J3 Y; R9 e9 F+ O( ^7 |
  33. Hostname=The_PC_the_MySQL-Server_is_on
    6 U$ G1 N- {9 A  K. e, u. g7 f
  34. User_name=User_name_on_the_MySQL-Server. H/ ~, H+ H+ x* m1 L  r1 J: }
  35. Password=Password_to_go_with_above_user_name+ W. S' U9 e$ l
  36. GetDriverFunc=getSQLDriverMYSQL8 j2 |3 |& g( v9 E! j, A6 J
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    0 t0 j+ N1 `1 S, F2 Z
  38. LibraryName=path_to_libsqlmy_libary2 g# t7 @5 W( X
  39. Active=1# I* o6 _  e* {- j
  40. ---cut here---
    ; Q: L5 ~  v* |3 n! {, a
  41. In my environment (a linux box with a MySQL server running locally) I have:! `' T# N4 M5 }6 c" a
  42. ---example---3 S: m1 G, W/ s/ Z+ V5 f
  43. [DBEXPRESS]
    5 _2 u, t% Q# n) U
  44. sqldir=mysql_sql
    , J4 S9 d8 n! Q8 N
  45. Drivername=mysql) k3 f- |3 g4 S$ r: c9 R8 M: z
  46. Database=test+ p( a1 w& W  ]8 n  \
  47. Hostname=localhost, e8 h% g& |5 \5 A
  48. User_name=testuser; Z2 H/ i! i! h
  49. Password=my_password
    ! m, W6 T- Z3 g; y1 h
  50. GetDriverFunc=getSQLDriverMYSQL
    9 r8 u8 Q( }2 a) Z! W) k8 o- M- K
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    $ {, I5 H% H2 _# M
  52. LibraryName=./libsqlmy.so
    . M( ?" e" Q$ ?0 \$ `5 |
  53. Active=1
    : f" e8 X) T: E# @) {5 r
  54. ---example---
    * w" ?( s0 v+ D; {. P* Q! Z
  55. 3 c' e6 I' K5 l( \& k  `; f
  56. On a windows box, also running the MySQL server locally, it would be:
    # w, H" c% K* H/ s+ ~' A1 }: l
  57. ---example---3 l8 S& m/ v4 z4 }# P" W: L
  58. [DBEXPRESS]
    9 }" [& m, m' V; U- T- V
  59. sqldir=mysql_sql4 x6 E( r9 K$ ]* d! `
  60. Drivername=mysql
    5 F* M0 C% y/ V0 e+ G- X
  61. Database=test. n% I6 d7 {3 r& }* Z0 X8 H
  62. Hostname=127.0.0.1
    ' r& Z: O% o2 H' f( r6 A+ ?
  63. User_name=testuser
    0 X, z$ _, Z7 A: k! N
  64. Password=my_password+ d# s: V+ z$ m( p. ^
  65. GetDriverFunc=getSQLDriverMYSQL
    6 m, b4 J  l1 I0 L( |9 ^, S
  66. VendorLib=libmysql.dll% w8 f% C* z# o0 t4 X- z
  67. LibraryName=dbexpmysql.dll6 g" s$ i. W# }  w
  68. Active=1& T4 u( P# m5 k( ^
  69. ---example----
    : G) X" Q1 a/ ~% U" X. `
  70. - written 02.03.04 by pwk.linuxfan+ S/ @# G$ @$ G; a0 `, P$ P

  71. 8 O, }# `* P# ]. P& V, |- R
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
" Y  x+ p& x6 G5 Z5 C- j
  1. $ ?0 E& K8 n: ~" E
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### / I. N# ~2 b9 V, f; e% \3 C1 K8 P
  3. : [- b$ h' y8 ]2 M( Q' S
  4. # # #我们所需要# # #
    ! V' M) c# H1 t; u; i% ^
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    % G, g  T1 p  {, J: Q+ ]# m  p
  6. 不会解释如何做到这一点-也有文件存在,为4 [$ F( X$ Q5 i; D( i' ^
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用: V( W3 R+ ~; j$ K( E
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    0 C5 B; x! ~6 _$ L. J4 a
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    : [8 W  Z4 I  Q9 C
  10. 本地机器,这是我的MySQL安装。
    9 t( }& a& |/ r9 `/ B1 V
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    7 E  q  D& g1 q5 b6 I
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 4 }9 o2 o' G4 J1 Z' d
  13. 数据库。 6 F6 l' O% Q' X5 s6 w, G2 }
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在6 i2 I: F2 u# K3 n4 t
  15. 编写本报告的时候,仍然有太多的问题-检查现状; ~" J/ G/ ]( k+ c: \4 C
  16. 在teamspeak论坛,如果你有兴趣。
    . ~# }  B% |- m" p1 y5 q
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ' b' X/ I# q! S2 ~* l" E4 h
  18. Borland公司使用。这个司机只能界面与客户端库$ E2 S! n- `- Z+ `- ~3 B
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    & Y# m( `; O/ T0 x, }' G6 t
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为, V' j; v5 Z/ L
  21. " vendorlib " ,并解数据库连接。
    " z! l. ]5 W) m2 G* H* \& B
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    . M. ^/ h# h6 Y, p% P7 K

  23. 7 Q6 [( Z; p' U4 A: U( Q! s# X
  24. # # #做好工作# # # 4 }9 a' }8 h4 v# |$ g0 P
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都! p7 [$ {# F9 B& o& C6 j
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在! l# v7 P) ~- B2 D
  27. 结束:
    : j& t: j; |, P$ z2 `- o
  28. ---削减这里--- 2 P/ L) \% v. n0 Q
  29. [ dbexpress ] ! T- c9 L/ y" ^$ }: ^7 D* B3 A
  30. sqldir = mysql_sql . y) j. i3 n; e
  31. drivername = MySQL中. r) B0 Y- n' r9 i! D  r1 d
  32. 数据库= your_database_name_here ! D8 P. K7 L: U+ V  o
  33. 主机= the_pc_the_mysql - server_is_on , [: u( _3 f# f1 S  [( r$ [+ [
  34. user_name = user_name_on_the_mysql服务器
    6 g6 P9 v+ o( ~; A6 v/ I2 U
  35. 密码= password_to_go_with_above_user_name $ X+ l9 u+ P& B; }0 |4 F0 T/ {# b5 L' A
  36. getdriverfunc = getsqldrivermysql
    ) y3 ^* ]8 x) ^# T& V& I0 y( ^, @
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 2 C* F$ V0 O/ z2 [1 ?/ y8 O
  38. libraryname = path_to_libsqlmy_libary & {0 i3 O7 |" Y/ j
  39. 积极= 1 $ Z# M& P7 V; b+ c+ w
  40. ---削减这里--- 0 ~" @* B& k( m3 X
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    , `5 V( K5 d1 O! J; A+ J
  42. ---例如---
    3 K; K- e/ u. _# ?+ n6 r+ t8 [
  43. [ dbexpress ]
    % }3 [. c  J$ E1 Z/ \
  44. sqldir = mysql_sql
    8 c4 a) S7 s& B+ g# T
  45. drivername = MySQL中8 s) C$ n  o- i% {! }4 s
  46. 数据库=测试
    8 Z, x* |4 G- O
  47. 主机=本地主机
    2 b1 Z  O; o* a* W8 W) A
  48. user_name = testuser ' ?( {8 v2 l  ]7 ^9 j
  49. 密码= my_password ) q; g2 x  ]7 h! W3 [, Z$ k
  50. getdriverfunc = getsqldrivermysql
    3 V; k' U! Z' \
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    # C& h+ k( p; F2 a& H
  52. libraryname =. / libsqlmy.so
    : ^  k8 ?7 o1 y4 h: B* v
  53. 积极= 1 & A1 M! C" C9 Y1 d! y
  54. ---例如---
    5 `: a; F) f, B: j  R0 e

  55. 9 g7 x1 m7 Z# K
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    2 P' Z5 S' q( G
  57. ---例如---
    9 u5 L, P8 @0 J/ m
  58. [ dbexpress ]
    " n9 b1 q5 r  U% `8 B
  59. sqldir = mysql_sql
    , }% t9 ~, g1 \& [5 e3 L- x7 f! n
  60. drivername = MySQL中
    9 E  E3 l0 v( k$ Q( R6 z0 ^; F: @
  61. 数据库=测试$ \8 \0 e* ?, w# O8 m
  62. 主机= 127.0.0.1
    . _  {9 t0 c' }) e0 d5 |
  63. user_name = testuser
    ) s# X3 a5 W) c9 b0 R& V
  64. 密码= my_password
    8 Z" ?0 y7 S7 O
  65. getdriverfunc = getsqldrivermysql
    5 f9 _+ l" ]- Y* o% Z3 P- s8 Z* |
  66. vendorlib = libmysql.dll在
    2 i: u6 V9 i: f) A
  67. libraryname = dbexpmysql.dll
    , _0 }6 L6 q& |: {5 ?" I, Y& u# s$ Q
  68. 积极= 1
    ( ?1 C# [5 I2 j2 u
  69. ---例如----
    7 y6 h( O% c% f% t6 F7 {
  70. -写在0 2.03.04由p wk.linuxfan
    0 R  u* T  D5 ]- g
复制代码
发表于 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
1 N0 h, e# ]# I! l' Y  Q: R) X: Z3 [* p6 H$ [/ x) n7 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-10-5 16:35 , Processed in 0.089037 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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