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

3338 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
8 X  U- Q0 h' {: g9 x5 y7 _+ k$ _) u. c
  1. . E# m5 c9 [; N* e) A( Q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    9 Q: g2 @$ G( b6 a2 d

  3. / W! n' }0 ^# U4 ~
  4. ### What we need ###$ p! U* w, _( a" H$ n
  5. Naturally, we will need a MySQL server to store the data for us, this document
    $ p# I6 ?; n( w# V/ v/ F
  6. will not explain how this can be done - there are documents out there for the 8 z6 f" |; ^" ^# l
  7. interested. The requirements include a (empty) database for TeamSpeak to use! ^7 g7 M0 L, n, G1 o
  8. and a user account (username + password) that has the permissions to do stuff
    + c% W; _% ?* N2 k. s( m
  9. with the database. Additionally, you will need a vendor library installed on the
    * ], c! U$ a* J4 {' b6 p
  10. local machine, this came with my MySQL install.$ J3 ]" {6 G' c2 p3 m& ^
  11. These instructions will not tell you how you might transfer your data from the' k. P! i+ i2 H' c( A
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL1 J9 j* a- l0 k
  13. database.
    # [, M3 P" g% j8 I0 @, {: z8 R4 C
  14. Some users have reported ways to import a SQLite database into MySQL, but at! o$ ?3 E( g, H3 ?. w- j
  15. the time of writing, there are still too many issues - check the current status
    ! r& x2 h1 K* B7 N6 s
  16. in the TeamSpeak forums if you are interested.: D9 u; C$ _- D+ i
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from9 A; l2 B) {9 ^7 m
  18. Borland was used. This driver can only interface with the client library that 9 n6 H" D& _& e/ |9 o: d
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    & Y$ W* M1 e  {: A$ s' ]. U
  20. client library - basically all you have to do is to use a 3.x client library as ( s8 h* s2 O# ?" a/ o. x* O, {4 {
  21. "VendorLib" and a 4.x database to connect to.% n& p, |2 H6 Y2 ]- J. p9 q
  22. If you need more info about dbExpress, you can contact Borland.& k, r: l7 {7 S
  23. 8 `, `* [- D+ @+ G
  24. ### Doing the work ###2 y* P/ y: U& b8 s% m- R" Y
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    * S% S# i$ w  M. a2 n" x) k
  26. the perquisites right, just open your server.ini file, and add this section at
    8 F, z  m6 c' \6 p
  27. the end:) L" q. [4 ]9 z) q8 _
  28. ---cut here---
    $ z$ K$ D8 }4 U6 w4 {# ~9 m4 h, F
  29. [DBEXPRESS]
    5 O- V6 s4 @2 j' w8 m& ?2 W) e% v
  30. sqldir=mysql_sql6 R3 P/ }4 Z& r8 v1 I
  31. Drivername=mysql
    2 E) d" ^9 |) v% Q2 i& l
  32. Database=Your_Database_Name_Here
    1 ?/ o- |8 e. R6 l) `
  33. Hostname=The_PC_the_MySQL-Server_is_on( T+ H7 F5 T% L$ v6 o. \
  34. User_name=User_name_on_the_MySQL-Server4 F2 u8 S$ M1 O; z5 ]* t* ?0 [6 Z# j
  35. Password=Password_to_go_with_above_user_name
    4 B' k/ `+ \. W( R
  36. GetDriverFunc=getSQLDriverMYSQL- q# G$ D% {% o8 E! @
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ( p- }5 T  l/ }; M2 S# p; @
  38. LibraryName=path_to_libsqlmy_libary
    ! I: z; S, i( p5 F6 I( \! e& h4 V
  39. Active=15 ]! E2 O. J' _6 Z2 h
  40. ---cut here---1 A( L. q; w% C+ |9 D5 R
  41. In my environment (a linux box with a MySQL server running locally) I have:
    6 `) g: E" }7 e
  42. ---example---' e$ e4 J" B) f$ y; \
  43. [DBEXPRESS]8 A: {; \: H0 w
  44. sqldir=mysql_sql
      N6 d' s! u& q7 u, p
  45. Drivername=mysql3 Y. I, v$ h: z: F( ?
  46. Database=test
    8 N% Z8 r1 G6 Z5 Z0 x
  47. Hostname=localhost
    ) s* R- V! {" Y1 `
  48. User_name=testuser
    1 l( p' e6 r, x) M' l
  49. Password=my_password/ X0 r: Z# c0 m7 L) V4 F! j" r# h
  50. GetDriverFunc=getSQLDriverMYSQL
    * B% E; @" t" y/ T3 R2 B
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    4 W8 ^( }. X8 C/ [, O  Q5 e' r+ {
  52. LibraryName=./libsqlmy.so
    ) |0 a. F4 m- r3 j$ o2 M. t
  53. Active=19 M# s8 u, J, B2 A+ b  U
  54. ---example---
    ; [2 J1 B! W5 S3 t! w& F

  55. 9 w3 x5 m* ^- C1 F/ f  E4 h6 |
  56. On a windows box, also running the MySQL server locally, it would be:
    , W. S, R1 n5 R5 [( v
  57. ---example---3 f4 |- {* a. u4 I* p
  58. [DBEXPRESS]6 I2 K$ P$ i- V: p4 s. |
  59. sqldir=mysql_sql
    7 p# O) t1 ]# t& R0 R
  60. Drivername=mysql. |; n$ g$ {1 C! n5 U$ O- N+ I
  61. Database=test
    ! u4 r+ b5 O, I) \
  62. Hostname=127.0.0.14 ^, A/ ]; e# I# j4 T' p
  63. User_name=testuser# }8 x8 r' O# l
  64. Password=my_password( Y" m( y1 ~- k5 n# _
  65. GetDriverFunc=getSQLDriverMYSQL
      `$ o  C/ A. `7 S* M1 @' B' ?
  66. VendorLib=libmysql.dll  M4 o: e8 o! d# _! L
  67. LibraryName=dbexpmysql.dll( {+ C: k% u/ i
  68. Active=18 ?8 E; N- t' a8 k6 s. d1 [
  69. ---example----9 O5 r4 W! V' _- O
  70. - written 02.03.04 by pwk.linuxfan
    1 o# x5 n6 y, P+ E
  71. ( V. H. d; s' u. ]
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看& {$ T% L5 O: F+ }" P; p; t
  1. 9 E+ r/ h. A% w
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    . u8 z5 s# ^0 N, f0 I5 M3 F* R  G) P
  3. % ]; e0 _+ ~' q
  4. # # #我们所需要# # # % _: U' X; y: g$ R. O# @0 V. D
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    " }- k% H* x" d/ C" x
  6. 不会解释如何做到这一点-也有文件存在,为$ d* M- ?# o) F; o7 O% x* ^$ s, S
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    $ K! Q# M* m9 C- J' G3 q  O
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西( b% a" @+ F# Y) F) u2 F- W4 Z
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    * d) t& o3 L5 x( z6 Y3 k
  10. 本地机器,这是我的MySQL安装。 * ~5 u/ n& y$ Q, W3 \  v
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从7 [' W, e2 g* W9 h/ R
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    # }! I2 t7 \0 L9 A, o8 y0 r
  13. 数据库。
    0 T' r$ c+ ]' x) U
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    . ?+ @" k% g$ I2 q
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    / I' F$ b2 v1 B# i7 V+ j
  16. 在teamspeak论坛,如果你有兴趣。
    & {# H# x9 V: W" y% |9 h
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    8 x4 s" ^3 s+ D2 o9 R5 `
  18. Borland公司使用。这个司机只能界面与客户端库  ?. t/ J& b% @0 K
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    0 M% ~' |8 _& S7 k9 v/ C
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    - O( F3 T- D; g# J  l, U1 S9 [
  21. " vendorlib " ,并解数据库连接。 : i* U: r4 Y, ?7 r; s5 I+ I# a
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ! [* B! |" w) \
  23. & p0 ~3 M% ?) g4 N3 J9 f- a
  24. # # #做好工作# # #
    ' e  a5 o1 p1 Z, E- ]8 q' v- X
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都/ b$ w6 A5 Q; t  n, `; k+ d
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在+ m6 m& v% n" r" I
  27. 结束:
    2 N5 l  R' M! L$ \- j  [
  28. ---削减这里--- # o! B- B5 z3 j* Z
  29. [ dbexpress ]
    + F/ U6 s( X0 I1 o
  30. sqldir = mysql_sql
    ; x$ x3 D* `8 W' e
  31. drivername = MySQL中4 c" y5 f% E2 d9 C
  32. 数据库= your_database_name_here
    * g7 j0 Z9 B- N; t; p
  33. 主机= the_pc_the_mysql - server_is_on
    % \0 E8 D2 K6 S0 F8 b
  34. user_name = user_name_on_the_mysql服务器
    1 s) X$ y& y2 I+ p3 F, c3 K: n
  35. 密码= password_to_go_with_above_user_name ( o, U0 F$ ^5 W4 F' q( G) l- H
  36. getdriverfunc = getsqldrivermysql
    % a$ w! R4 Q. t) Z+ j
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    * Z" Q- U1 G8 B  l8 C% [' E" x
  38. libraryname = path_to_libsqlmy_libary
    ) f9 n6 O+ W4 r) y) J
  39. 积极= 1
    0 V6 o* J% m- w/ _
  40. ---削减这里--- ( Y* |4 l" V% j- F* H" I
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: # W& t* o  i3 p& l. ?4 ?$ P
  42. ---例如--- . ^  |' R7 W  b  w% g, u% i" K; f
  43. [ dbexpress ] ) k. j3 N% I' m8 s; U% d
  44. sqldir = mysql_sql ) w# v) h; m* P: B8 |
  45. drivername = MySQL中' d5 J9 l" s" F9 C
  46. 数据库=测试3 @7 ^7 L6 Y+ |, f' j
  47. 主机=本地主机4 K0 r/ l' a- M5 y) I
  48. user_name = testuser & o' t0 C" @+ {, ^9 V
  49. 密码= my_password
    4 ^: q' @, q, }3 \* @" [& K
  50. getdriverfunc = getsqldrivermysql
    ) E3 E1 P& k% q9 k6 Q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 2 b. S" @+ r- D5 g
  52. libraryname =. / libsqlmy.so 1 R# Y, D! A7 A/ a& y( r
  53. 积极= 1
    + }1 U, h& }- k& `
  54. ---例如---
    9 n" I/ H% O; `% |" T

  55. 9 a3 @; w" \0 Q7 t! T7 O9 M
  56. 对Windows中,也运行MySQL服务器本地的,那就是: + a. n. \1 B7 B1 Q2 v
  57. ---例如---
    1 c; _' g& F/ x- A" Z
  58. [ dbexpress ] ( Q; }, U" N) O( u+ K: N$ F
  59. sqldir = mysql_sql $ s& i; w- {0 Z4 y# z( t; f
  60. drivername = MySQL中
    $ Y, b- N& v, r# R! i6 ]8 C
  61. 数据库=测试- O6 l0 G% K) z. A% q8 f3 O
  62. 主机= 127.0.0.1 4 D/ ]8 D( x2 `% O5 a) x
  63. user_name = testuser ; Q& p( Y) c2 S; L+ ~
  64. 密码= my_password
    5 S) k' h4 m" h
  65. getdriverfunc = getsqldrivermysql 4 v4 w( m0 q& C. P4 g6 p
  66. vendorlib = libmysql.dll在
    7 f) v% `+ l1 u0 }: {
  67. libraryname = dbexpmysql.dll
    7 n, {2 G, ]2 L/ ~! r* Y
  68. 积极= 1   K$ g  I4 [3 N; C! ~  P9 J% T' w
  69. ---例如----
    9 R! ~- e: V. k& k
  70. -写在0 2.03.04由p wk.linuxfan
    " H3 T9 k$ X0 S% V0 j+ g5 I9 |
复制代码
发表于 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  T/ t" V. m4 t2 K7 u3 i
- N; ~3 ?/ T% N6 a5 B/ X3 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-16 02:05 , Processed in 0.096142 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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