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

3531 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( h0 [6 e' N) d6 j' s' u  ?: r

2 o) b* Q! Q3 B/ |/ \; y; Z: B
  1. ( n6 V! e) E* F2 ~3 ?6 Q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######1 _! V9 q$ O9 f2 c/ C: [( C. B. f
  3.   D& U+ P1 U8 j2 ?7 C& {1 O; b
  4. ### What we need ###3 R, N) n' N+ d2 h/ B2 E, a
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ) _/ O' t+ d1 v2 C4 |* k% w6 z# J- Y
  6. will not explain how this can be done - there are documents out there for the
    ' L/ B# Z9 e; o' s" |1 {
  7. interested. The requirements include a (empty) database for TeamSpeak to use7 X5 y9 I4 k' ]7 k5 k. T
  8. and a user account (username + password) that has the permissions to do stuff, R& p0 w9 ]/ c
  9. with the database. Additionally, you will need a vendor library installed on the
    " Y3 r; z3 J8 z' R+ _1 L
  10. local machine, this came with my MySQL install.
    1 Y4 ?7 H4 y) |; h* @
  11. These instructions will not tell you how you might transfer your data from the
    - c# v, N# x4 F4 V4 m
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL# R" }2 E0 _% [3 A+ A! D1 F
  13. database.
    & o' X5 R7 k* {" g3 S
  14. Some users have reported ways to import a SQLite database into MySQL, but at$ [7 w! ~, w2 t0 y1 I
  15. the time of writing, there are still too many issues - check the current status4 o. ?7 F% u2 T* b
  16. in the TeamSpeak forums if you are interested.
    . k* D8 f( w7 H0 ^/ @/ J
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    6 o% Z1 L* l6 H, Q2 X" S6 E$ d
  18. Borland was used. This driver can only interface with the client library that
      O- l' f1 `/ S! P# C% m
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    . b% I. K; _" s. F+ Z
  20. client library - basically all you have to do is to use a 3.x client library as
    $ G9 h. m- @" n( t" M8 |0 D) ~
  21. "VendorLib" and a 4.x database to connect to.3 w8 r% r7 C( p3 o7 P2 [" {8 e
  22. If you need more info about dbExpress, you can contact Borland.
    2 p( I& V  i0 d) }6 m0 w

  23. + K1 Z' e0 z) @- A8 E
  24. ### Doing the work ###
    , Z* W4 Q0 I* T8 C+ l3 ?
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all$ R0 a4 b: A% t2 [, F3 a' g
  26. the perquisites right, just open your server.ini file, and add this section at
    * x& A" o9 H- i* J) g: p1 g
  27. the end:
    $ @3 l$ }" k* ?* e8 {4 H; R3 a
  28. ---cut here---7 g# H; X) S; i/ d# u8 J2 S
  29. [DBEXPRESS]
    5 c9 ?  ~# r9 K' T4 u/ E
  30. sqldir=mysql_sql8 @3 o) U2 u. }) P) `/ y! H
  31. Drivername=mysql; _2 O4 A9 `' u* w  c  M9 L
  32. Database=Your_Database_Name_Here( `: k5 Z& [1 o' j. o
  33. Hostname=The_PC_the_MySQL-Server_is_on! `# w- ?. H$ F4 b
  34. User_name=User_name_on_the_MySQL-Server
    4 O: C" ?' J3 `- \
  35. Password=Password_to_go_with_above_user_name9 J8 ^8 Z( D' j6 i3 ~) F4 I
  36. GetDriverFunc=getSQLDriverMYSQL
    * P  z! F  j4 i. {$ }
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib5 W. l  I9 C% X, `3 e1 I
  38. LibraryName=path_to_libsqlmy_libary
    4 j5 t7 S( G1 ]! {5 M
  39. Active=1
    $ A: d: y+ R8 w; Y) o6 Q
  40. ---cut here---6 \! c5 B9 X0 d& ], J; g
  41. In my environment (a linux box with a MySQL server running locally) I have:6 U: ~! Z. G) d! n. O% G
  42. ---example---
    - D1 D7 P# u# N* f
  43. [DBEXPRESS], P0 U' J/ Q" H  u
  44. sqldir=mysql_sql
    $ T4 A/ F" ~. p2 d* h. R& t
  45. Drivername=mysql7 f3 R4 N# ~# U9 a2 N* t
  46. Database=test
    / l3 ?" }' J- j
  47. Hostname=localhost- T2 s4 r1 `" [9 d6 S
  48. User_name=testuser  m6 D8 _5 q* W: Y8 Y7 V/ n0 ]' n
  49. Password=my_password
    " u: f+ D) e, L# G
  50. GetDriverFunc=getSQLDriverMYSQL
    # S1 w# T" u. i+ N) [) `
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    2 h) {& \3 Z% d. N
  52. LibraryName=./libsqlmy.so
    ' N' T  U7 c! m; @
  53. Active=1* m% Y' G) q1 g  `) x$ Y
  54. ---example---3 z. ]0 u2 i1 B! ~

  55. 2 O6 W0 z/ u3 t: x% ?
  56. On a windows box, also running the MySQL server locally, it would be:+ T0 x$ e' Y2 p- i. p
  57. ---example---6 y+ M) r5 O" N$ S5 s. x- b5 m
  58. [DBEXPRESS]
    2 w, A8 b( J" z1 d! V/ k8 J
  59. sqldir=mysql_sql
    " L+ g. J/ C+ P6 W+ d
  60. Drivername=mysql' p2 ~$ }8 P3 e$ k! t
  61. Database=test
    + g7 q# l# T4 a. r0 `' E
  62. Hostname=127.0.0.1$ y  b- V3 _$ B$ Z. S' q. n  _- r
  63. User_name=testuser
    4 a. h, j7 n+ D# x$ @; o2 v, F3 V
  64. Password=my_password
    5 B; S; l" K: O6 j& @2 M' ^0 M
  65. GetDriverFunc=getSQLDriverMYSQL
    " }: d! z: \/ P- I
  66. VendorLib=libmysql.dll
    5 l; U! Z! Q  l8 g) ]
  67. LibraryName=dbexpmysql.dll) V" J- b1 S7 K# G
  68. Active=1
    # r7 d* h* I7 e& B/ d
  69. ---example----4 H9 \- W, o( _9 H% b% b9 H; ^
  70. - written 02.03.04 by pwk.linuxfan# `9 L' p% m: a5 G
  71. - D, ~1 N2 a! @
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看2 e' y: M3 ^. E  J
  1. ! [$ t* Q7 R" }7 T" [
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ) j! [8 P2 F# y7 f
  3. 1 I2 A% ?: ^9 x  L
  4. # # #我们所需要# # # # O4 s* s4 B) A% T
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件- \2 g5 l7 ]* F3 K) p
  6. 不会解释如何做到这一点-也有文件存在,为
    7 }; e+ ?3 @6 T8 x4 x0 ?
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. s6 ^4 R' P4 S4 `
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西! A! w8 N& z4 J2 [; O8 h* _
  9. 随着数据库。此外,你需要一个卖方图书馆安装于& v8 V) J% E0 ^9 S+ U  C/ q) N# n
  10. 本地机器,这是我的MySQL安装。
    / f# C7 O3 q) @* Z4 P
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ( H( E9 }% ^5 D" P1 k
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL " g- a  d3 B# x0 K0 M$ Z( f* O. p
  13. 数据库。
    / V# g5 g- g5 w! N0 Q, M$ o
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在# u& X* p) H- A8 U
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . h! P- D) v7 C' A4 L6 Z# }& F
  16. 在teamspeak论坛,如果你有兴趣。 6 z4 m# G' N" o! Q+ k: s
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机3 v7 j6 {, v9 x( t' }0 c
  18. Borland公司使用。这个司机只能界面与客户端库
    3 C- ?( W7 x0 O& V4 j% X: J) q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这% g: w; _5 l1 V+ Y* H6 F
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    , G" ?& W4 D, e
  21. " vendorlib " ,并解数据库连接。 2 S  r1 U& g# m
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    5 ~( U5 ]* {" w/ V

  23. " W+ d9 b- d8 Q0 J2 u
  24. # # #做好工作# # #
    . F! }6 S8 A. t# r5 ], v
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    # L  b: N" W4 t1 _' V- `/ |
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在0 a7 w! n4 A; X2 S- H. w
  27. 结束: # }5 _" x0 u; r/ T& [1 Q/ m: W1 a- r
  28. ---削减这里--- ( r; c3 x" E5 \
  29. [ dbexpress ] + E8 i  F$ S. n! E' f5 d  z
  30. sqldir = mysql_sql 3 G' F* i9 Y; R5 u  M
  31. drivername = MySQL中+ ^4 X$ [3 f0 O# s4 _3 C9 [
  32. 数据库= your_database_name_here
    + \% ^$ \7 r$ g: x
  33. 主机= the_pc_the_mysql - server_is_on 4 `2 c, D. G, x3 }1 {
  34. user_name = user_name_on_the_mysql服务器4 d4 a% y- M. L" ^7 u. ^
  35. 密码= password_to_go_with_above_user_name ) Z: f5 n0 m  _2 k2 ]
  36. getdriverfunc = getsqldrivermysql 8 W4 a" \1 ~& o
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
      u# m  p+ h4 m. z3 W8 R0 z
  38. libraryname = path_to_libsqlmy_libary ) n( u6 x7 O! A5 c
  39. 积极= 1
    9 l& G- k) t9 C, I, ?
  40. ---削减这里---
    + W$ ?5 c, A- B( m+ A
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: + M, l; e6 k8 i( E3 a0 V! B+ h
  42. ---例如---
    ( H  a5 `4 F2 @3 \
  43. [ dbexpress ]
    . N! F5 h+ b& t2 S6 h
  44. sqldir = mysql_sql 9 S5 r- Y# k& ]
  45. drivername = MySQL中
    : I. i. j/ o* N! D1 h
  46. 数据库=测试
    ( I: b4 n; B, q! [
  47. 主机=本地主机
    3 n6 x9 s! J4 N# i  z9 i
  48. user_name = testuser ! U% z! f% Z- k3 O: Q6 X
  49. 密码= my_password
    6 u# u* G& O1 k. n
  50. getdriverfunc = getsqldrivermysql ! q) z9 @1 h$ e0 w: y, U6 j
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    0 i' C) u- s4 D3 h6 M
  52. libraryname =. / libsqlmy.so 3 J- N4 E, u1 m2 X- H3 r
  53. 积极= 1 ( j8 p0 Y2 R5 N2 o; w" ?3 \2 _
  54. ---例如---
    ) x  X  `/ y. I3 h% \3 o

  55.   d0 b! B/ ~% }" \4 s7 |4 r* ~) U
  56. 对Windows中,也运行MySQL服务器本地的,那就是: - }. ^6 ]: O0 G
  57. ---例如---
    . Z+ `3 f3 q. u+ T$ M: f: ?
  58. [ dbexpress ]
    0 `& m0 q* ~2 q) |; I# {( G0 @# m! g
  59. sqldir = mysql_sql ( K* M0 o+ D" K+ P  b
  60. drivername = MySQL中
    9 v. s, _) t) x" H5 K
  61. 数据库=测试
    & x  x* O6 U; R- O- R* {
  62. 主机= 127.0.0.1
    9 E- Z8 E( @* R4 F
  63. user_name = testuser
    9 s# k. k: T+ e! j7 r1 l4 b0 {
  64. 密码= my_password
    & h$ g0 X% L) e! Z2 l
  65. getdriverfunc = getsqldrivermysql
    ) Q9 A1 r) ^- j* b8 ~/ C$ Z
  66. vendorlib = libmysql.dll在
    7 }7 C( u. e  [* d! F
  67. libraryname = dbexpmysql.dll 4 U! ]4 |5 z4 z8 [" H' v2 b
  68. 积极= 1 ( |$ M* H: p" h+ S& C6 j8 |' s
  69. ---例如----
    ( R. d% l5 s+ o: g) P
  70. -写在0 2.03.04由p wk.linuxfan5 G. Z2 j* k& \; }
复制代码
发表于 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
# p; H2 o, a$ |% {/ @4 J4 X, ?" i: u7 @3 L2 P& A# s" z. 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-11-18 02:16 , Processed in 0.063261 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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