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

2366 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ! G7 W( X# L! M; H7 b
: L& d7 f5 [8 A) l# G7 \
  1. 0 F2 U$ F/ g# G3 T& Q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    * h- u& m0 c$ M2 F) e

  3. # w# t4 }) Y( L1 w# H
  4. ### What we need ###
    ( O" X; j+ ^8 t
  5. Naturally, we will need a MySQL server to store the data for us, this document # p7 b7 g$ t7 `/ I9 S
  6. will not explain how this can be done - there are documents out there for the
    6 W1 T/ j3 C6 ]6 _( R
  7. interested. The requirements include a (empty) database for TeamSpeak to use2 Z) L; p3 }' F# ~  \3 q- J. B( M
  8. and a user account (username + password) that has the permissions to do stuff
    5 j' K1 k4 p% B! P7 [
  9. with the database. Additionally, you will need a vendor library installed on the
    ( S8 m5 O; G9 ?  E
  10. local machine, this came with my MySQL install.
    2 E3 O: Q) A" Y0 @/ h; t
  11. These instructions will not tell you how you might transfer your data from the5 H8 j  ^  Y  W' ^7 w" d: [. i
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL4 o. b9 s  h& ?0 g$ C7 F; V
  13. database.2 X, E2 C7 ^; M* {
  14. Some users have reported ways to import a SQLite database into MySQL, but at% f) M! z, b" ~
  15. the time of writing, there are still too many issues - check the current status% C! ?3 o, ]) p0 k8 S# Z& }
  16. in the TeamSpeak forums if you are interested.: n4 z, ?! U! r# z: T4 {
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from8 T' q$ k, A& ?5 b  C
  18. Borland was used. This driver can only interface with the client library that , M" X/ U. g# i
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this' j$ o& c7 f# P" X  [9 Y
  20. client library - basically all you have to do is to use a 3.x client library as / e0 ^8 c- C  ~, r
  21. "VendorLib" and a 4.x database to connect to.
    # |' c% t. [, m4 N, f
  22. If you need more info about dbExpress, you can contact Borland.
    0 L2 Y* d5 Y1 g$ ]
  23. , K! c1 p! y/ W  L$ N& J
  24. ### Doing the work ###1 W- R5 J+ W" P  l. p" v
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    / t& y. X, ~) a" h" }* h" m
  26. the perquisites right, just open your server.ini file, and add this section at4 X9 ?! |2 K' R# J8 Y
  27. the end:) n+ u# I, c; U9 k! Q5 X
  28. ---cut here---9 s7 m; P9 v! @/ V  a. C
  29. [DBEXPRESS]
    & s8 @( m- i* y) l) Y
  30. sqldir=mysql_sql# [; Z# a" w/ Z' J3 z% w" j5 g2 e
  31. Drivername=mysql
    & Q4 a; v% l5 S' c4 Y
  32. Database=Your_Database_Name_Here
      q* V  F" S( v. T
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ; i. f; z" G& o& r$ T
  34. User_name=User_name_on_the_MySQL-Server; T- ]1 ^5 w9 F! S4 s' f
  35. Password=Password_to_go_with_above_user_name
    % x8 U+ }6 e  y# i: ^0 r
  36. GetDriverFunc=getSQLDriverMYSQL- S1 y1 ?7 x) f
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    $ E6 q" }# M7 w
  38. LibraryName=path_to_libsqlmy_libary
    & E+ K! Y: }# s% b5 t
  39. Active=1) d) F1 J+ X, ?, X9 X) Y! l
  40. ---cut here---7 M+ ]$ y  B) S4 j% y" W/ v
  41. In my environment (a linux box with a MySQL server running locally) I have:5 H: U7 O4 t1 D; V$ {! `/ m
  42. ---example---
      w8 e9 d9 T, X9 z, j2 u; D; x
  43. [DBEXPRESS]- g6 ~! A6 K2 {% b9 ]" }
  44. sqldir=mysql_sql
    3 Z7 Y6 [& J1 ^0 U! J& o# k
  45. Drivername=mysql! K) S, K! q  r1 F* b0 \
  46. Database=test
    7 v. F3 B0 k1 R5 {  `
  47. Hostname=localhost
    % K( v$ @+ y6 F, g$ a
  48. User_name=testuser  p" |1 q9 x& v3 s* {
  49. Password=my_password
    . ?, k+ Q+ G( h6 b
  50. GetDriverFunc=getSQLDriverMYSQL
    5 j& D7 w; X  k( i0 J
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0$ Z% \# J, y8 G) j( }' C4 L
  52. LibraryName=./libsqlmy.so5 A/ l7 @: e" L, t$ ~
  53. Active=1; F( s. y3 Q6 c; K3 [
  54. ---example---
    . y6 Z/ [  w* g( b! y7 [
  55. : @2 D# O4 c3 K4 h, F
  56. On a windows box, also running the MySQL server locally, it would be:9 ?1 U" V' |6 F
  57. ---example---. {0 w2 q4 |! Y. r
  58. [DBEXPRESS]
    " K6 A2 U  |. ]3 G( X
  59. sqldir=mysql_sql0 X! S: p. p' h0 D, V
  60. Drivername=mysql
      @0 }$ V. U* \9 M% p' c
  61. Database=test8 m1 U4 _" s: z/ p
  62. Hostname=127.0.0.1
    . m9 j( f" _. x2 g1 N
  63. User_name=testuser
    & S" r" S$ {# J+ `, s
  64. Password=my_password1 y/ I8 [/ n+ d
  65. GetDriverFunc=getSQLDriverMYSQL
    % }. b" X; }. p
  66. VendorLib=libmysql.dll$ P' C3 O" C1 T  f* Q+ }5 p
  67. LibraryName=dbexpmysql.dll
    6 F: j9 l# |! F1 P
  68. Active=11 v7 h; L+ i; Z: W# }. f9 E
  69. ---example----" E' d8 `+ y4 M1 F% E: W
  70. - written 02.03.04 by pwk.linuxfan+ C9 w8 \5 H/ `

  71. % c: \+ R7 v$ p0 B- O7 ~
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
* r# D9 r( m4 d6 a1 m+ e, c' F4 m' j

  1.   h8 p) q$ ~+ f8 A! a
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 1 ~$ Y% T" q# h" }
  3. $ s  U6 }/ p  o* x0 `4 S9 O1 ~" {4 g
  4. # # #我们所需要# # #
    4 L; U1 f& O- ?0 _0 {
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件7 M, k3 a5 R  S- l, d( F: H4 q
  6. 不会解释如何做到这一点-也有文件存在,为
    ! x, Y. Q$ o( ]0 h
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    7 I; Z1 k. u+ i; o! a+ {
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西" P" {' B; t9 `$ I
  9. 随着数据库。此外,你需要一个卖方图书馆安装于9 i) ~) O3 X2 D$ L
  10. 本地机器,这是我的MySQL安装。
    & p5 z: \4 T! {
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从# h4 H4 y5 P# g4 t! d
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ' ~. H5 L( k3 Z$ U2 b: i
  13. 数据库。 ) y  `2 S- ^. s' H
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    - h1 ~+ u8 B& k% n# r
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ; D4 F0 j- Z" d" b, }9 q! J  g  O
  16. 在teamspeak论坛,如果你有兴趣。
    3 Q5 K* v* U* J
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机- T& K4 L/ B4 n, n% n+ X, ^; ^
  18. Borland公司使用。这个司机只能界面与客户端库
    3 {# R  s2 v! c7 D
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    / d: l# t. M, G9 A$ Q2 a' k
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    1 z3 c, A$ {2 J
  21. " vendorlib " ,并解数据库连接。
    4 c# _* p7 g; ^5 L3 T) @
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 + k7 G1 R6 @& E; N2 G4 R

  23. 8 Z* U/ ^% n0 c
  24. # # #做好工作# # # % \0 Q+ G* X5 {" d& }8 ?* C2 H
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    % G. M8 f7 g& T1 e
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在! |/ y0 {, w; K- T6 T+ ]( }
  27. 结束:
    ; ?6 B$ |1 O9 f
  28. ---削减这里---
    * \# O7 B  t# u0 U
  29. [ dbexpress ]
    1 B# N& I- K/ ~: Q3 w: u% Y
  30. sqldir = mysql_sql
    % {. H: ^/ b, A( l
  31. drivername = MySQL中
    5 Y5 J+ A9 n2 \
  32. 数据库= your_database_name_here
    * t$ ?+ h; ?  k' k
  33. 主机= the_pc_the_mysql - server_is_on
    , |# g, D# `3 a, \3 Y
  34. user_name = user_name_on_the_mysql服务器
    $ E$ N2 p  J. f2 E' m) S& `" h
  35. 密码= password_to_go_with_above_user_name ) ^% S3 e, b5 r( ?  w
  36. getdriverfunc = getsqldrivermysql
    $ ^: K, C  x) z5 h: v1 M. Q' s
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    , X4 \8 ?0 p) ?) _
  38. libraryname = path_to_libsqlmy_libary
    . H2 w8 u5 _5 ~7 M! a- ?; Z
  39. 积极= 1 ' B, a: O5 V1 P% G! \/ K# k
  40. ---削减这里--- 8 Y( u. E+ k# L
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: * V; B* p1 U, W9 I, n
  42. ---例如---
    6 u) U% c4 O6 |8 X
  43. [ dbexpress ]
    0 T) l; ^# g( J8 {* h) I
  44. sqldir = mysql_sql 3 G! A( g# }3 {
  45. drivername = MySQL中, y! g! Q& s- o) i3 ?7 }0 ~
  46. 数据库=测试) C2 e: j+ l! p' n2 P1 p
  47. 主机=本地主机
    : k- P; q* {: i% h
  48. user_name = testuser
    & q8 J7 j6 t$ @8 y) j) O9 [8 H5 q
  49. 密码= my_password
    2 n2 Y7 u% A% D
  50. getdriverfunc = getsqldrivermysql
    ( p2 y( R0 _  k0 _4 @7 A+ F7 c
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ) v+ |9 Y) D6 u! w
  52. libraryname =. / libsqlmy.so
    ( c; P2 S, Y- @
  53. 积极= 1 ) `, R! o$ K2 b0 G
  54. ---例如--- 1 o5 ]0 H& [6 m( E4 b/ @# }$ v
  55. 6 M9 l: c* ]4 |
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ! m, J6 D( K7 F+ x, w  I
  57. ---例如---
    7 ^7 R- {0 W! w) v$ \
  58. [ dbexpress ]
    8 ^* i2 g  W5 X7 N4 L
  59. sqldir = mysql_sql $ K4 G2 e  R* u" U) g2 ]$ ?
  60. drivername = MySQL中5 q0 J( ]7 ?5 w5 g
  61. 数据库=测试
    ) B# H( J$ k$ X: c3 b- m( V/ ?
  62. 主机= 127.0.0.1 " k" J  Z/ C: C7 f" O8 Q
  63. user_name = testuser
    & [8 _! d( f8 O: U5 ^( o2 Q
  64. 密码= my_password 2 A4 `' E: I3 s( _
  65. getdriverfunc = getsqldrivermysql
    / r$ P! e, U9 a! y  S4 P% Q! _5 u
  66. vendorlib = libmysql.dll在- B, }# t; P" v; |6 x' d+ X4 s
  67. libraryname = dbexpmysql.dll 9 J4 i  w5 R3 m( {0 @
  68. 积极= 1
    6 a2 k0 [8 u: p3 q) W; E9 \
  69. ---例如----
    ! V" K& |8 X! b2 Y3 G9 L, g0 x
  70. -写在0 2.03.04由p wk.linuxfan$ b% F0 j2 n+ S5 q! M) @
复制代码
发表于 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
: o  h8 P( ^6 v- h) m; d$ E+ {5 _0 `
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

傲天阁游戏公会
联系我们
咨询电话 : 020-88888888
事务 QQ : 85075421
电子邮箱 : admin@admin.com

小黑屋|手机版|Archiver|傲天阁游戏公会 ( 粤ICP备14058347号 )|免责声明

GMT+8, 2026-3-8 06:35 , Processed in 0.097359 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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