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

2458 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan " e2 M8 U7 n8 E% ^3 Z+ v

: ^# P" C. T" G" W, M1 W6 U$ Z( j6 J
  1. * N0 q# S6 {$ v) o3 H  B. S+ ~
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######0 J8 z1 n' v5 x

  3. 4 Q# K( A+ B$ Q! u
  4. ### What we need ###( l8 @( p: ~- k/ l
  5. Naturally, we will need a MySQL server to store the data for us, this document 9 ^- k& ~' G7 O$ w* {
  6. will not explain how this can be done - there are documents out there for the " M' N) ^; v( `; V9 ?
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    9 W, |0 M7 D6 Q
  8. and a user account (username + password) that has the permissions to do stuff) P- ?1 P2 P- v( `5 Z
  9. with the database. Additionally, you will need a vendor library installed on the" V- P, h5 D: O: }) T: [( d
  10. local machine, this came with my MySQL install.
    . y! s; a  ]' q# G
  11. These instructions will not tell you how you might transfer your data from the8 K% K' S% w( O, z: v
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    " T( u& G$ `1 t0 h( ^' K: d* N
  13. database.6 v5 _2 J9 n8 Q; f( h" i( u
  14. Some users have reported ways to import a SQLite database into MySQL, but at1 A* Z. O& j& y1 H4 {
  15. the time of writing, there are still too many issues - check the current status$ u) n9 k  T9 B& s  j
  16. in the TeamSpeak forums if you are interested.
    7 O6 y- U" l1 g3 V
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from" s# s8 u! a  i* i( p
  18. Borland was used. This driver can only interface with the client library that
    $ ?! P/ p) W" f& V
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ; u8 A7 R; r7 i# ?, c9 z
  20. client library - basically all you have to do is to use a 3.x client library as 3 y4 }  G# n! N4 ]4 Y6 `6 U, ^  C; j
  21. "VendorLib" and a 4.x database to connect to.
    5 `: }) P& N  }  i5 V% l* \
  22. If you need more info about dbExpress, you can contact Borland.
    9 F; @) `2 \/ I- p1 ]5 c6 O

  23. 8 b: R9 {' |/ d5 I; A$ b
  24. ### Doing the work ###  t3 w9 F# x( U, r" s) s0 ?
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all, ^  A/ v+ @9 m
  26. the perquisites right, just open your server.ini file, and add this section at4 G1 f, N7 x. ^8 V
  27. the end:
      N/ \" m2 ^) `* G
  28. ---cut here---
    : Y1 Q* f0 ^$ q
  29. [DBEXPRESS]: v% x/ _3 E0 H4 Q1 {. I
  30. sqldir=mysql_sql
    8 x" h9 ~7 r8 w/ }
  31. Drivername=mysql8 u( y/ [3 ~8 {8 M& d: m5 m
  32. Database=Your_Database_Name_Here
    - O  e% X  r9 S- q9 P
  33. Hostname=The_PC_the_MySQL-Server_is_on
    , F. V+ _) n) V( P: O
  34. User_name=User_name_on_the_MySQL-Server
    9 v& }) J" B8 u
  35. Password=Password_to_go_with_above_user_name8 _/ q5 H0 m1 ]% u% {5 T6 X/ x. X
  36. GetDriverFunc=getSQLDriverMYSQL
    ) K( q5 O/ O4 ?" W/ f- C
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    & A6 p$ ?' z! r5 w# W5 `$ r& q$ A2 b
  38. LibraryName=path_to_libsqlmy_libary4 b( K' {5 F0 L) m
  39. Active=1
    7 G1 f- G6 \' e  r* u
  40. ---cut here---. K2 R! r8 M+ I0 S" i
  41. In my environment (a linux box with a MySQL server running locally) I have:7 c  s# d7 I& J1 W7 V9 o0 g, A/ n
  42. ---example---
    : ^$ w, p  M7 `$ c
  43. [DBEXPRESS]8 }9 k) @$ S" P' Z6 {, x
  44. sqldir=mysql_sql
    : G5 u# g; _  m0 a! s# |
  45. Drivername=mysql" T# ^3 ?  p4 W/ z6 Y7 K4 s% Q
  46. Database=test0 n5 O0 `6 o+ b/ ?9 E
  47. Hostname=localhost
    8 R2 y- w6 q4 y
  48. User_name=testuser
    3 V; b8 ]8 v$ {# T/ O4 d
  49. Password=my_password' n9 O& |# L5 q1 V) M
  50. GetDriverFunc=getSQLDriverMYSQL
    : Y' \* `0 Q3 f; l) Z; ?
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0/ b" u) N* ]5 G7 y& o
  52. LibraryName=./libsqlmy.so& A" t5 q9 U4 G! _& R+ I1 I8 t
  53. Active=15 s: R' V2 B8 n+ T
  54. ---example---
    ( \# L, j4 `- P! F- V& Z: Y4 q
  55. $ J6 W+ X6 {" \
  56. On a windows box, also running the MySQL server locally, it would be:: P* n* Y' T  n8 {' U' _
  57. ---example---9 I5 o: F- f  j0 |9 I8 T1 R
  58. [DBEXPRESS]' O3 P8 u; r! }  C7 |; b
  59. sqldir=mysql_sql, m4 h0 W& @9 O
  60. Drivername=mysql8 a3 f2 L6 l' v; K
  61. Database=test6 D2 q8 k+ @" N7 E
  62. Hostname=127.0.0.14 M2 R6 p7 Z3 ~, C( u& Z' e
  63. User_name=testuser* J$ A  H4 F+ g7 m  p% ^
  64. Password=my_password
    $ o! M- {8 e: m5 d# [- _
  65. GetDriverFunc=getSQLDriverMYSQL9 u6 Y5 ]) S# t. Q
  66. VendorLib=libmysql.dll
    ( j$ l" V+ z, ?
  67. LibraryName=dbexpmysql.dll
    7 o% F1 k+ |- ~
  68. Active=17 |) O. K& F) `) G4 x5 K/ B
  69. ---example----
    0 b! X9 O/ E2 d8 ~& Z9 Z* b6 B0 K
  70. - written 02.03.04 by pwk.linuxfan
    7 Q, ?1 B# u( N& M0 Z

  71. " r& v2 y( Y, U) W& H
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
* W: O0 U+ i) P: P  M+ i

  1. # x/ ~1 S5 A0 h, Q1 q+ ?
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ) _' T: k& r+ w! u$ N  W2 ^2 c7 s2 G

  3. : {: D: _. Z) U# a8 b7 B
  4. # # #我们所需要# # # / O3 l+ A9 ?: J+ x
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件% I0 R) k" w; y7 D
  6. 不会解释如何做到这一点-也有文件存在,为+ E  i# t  U. U: B, _! x; C
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    1 A  X! e! d& F. `# f" Y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西# a1 t/ ^5 {( U# t/ M
  9. 随着数据库。此外,你需要一个卖方图书馆安装于0 n0 ^. _, c- ]2 ]1 M" Z
  10. 本地机器,这是我的MySQL安装。
    8 }- ^! Q. N5 u$ J. C' n7 [
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    1 M9 r3 S* l& }
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL # w  z7 ?. F; a# q
  13. 数据库。 2 [7 X- C7 y% ]# x- j  K& ^
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ) V" r7 t3 J4 I# b
  15. 编写本报告的时候,仍然有太多的问题-检查现状% O' d& w" J" T
  16. 在teamspeak论坛,如果你有兴趣。 + n" F: o$ i, ]! t6 I
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    # s  A) v2 f' Q- k/ V! O
  18. Borland公司使用。这个司机只能界面与客户端库7 W2 J: k( Y% O, i' a  ~+ N# L
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    " M" ^( v* `- s0 J% [5 y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    $ @8 |6 b7 Y$ w# h0 `' t- }/ o
  21. " vendorlib " ,并解数据库连接。
    : X; P9 P, n0 R$ b
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 8 N$ h8 |+ E1 w; g( t

  23. : R/ n( n9 }' Q: [- i
  24. # # #做好工作# # #
    / ~1 ?7 j' B1 l' d
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    - ]5 d6 J3 m) A8 w. S
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ( m2 D; S% O) h0 w) r
  27. 结束: 2 e0 c! x& d2 X7 I8 w$ N
  28. ---削减这里--- - `2 X8 X) z+ m! c
  29. [ dbexpress ]
    0 K* d$ m4 M) H9 u, Y
  30. sqldir = mysql_sql 9 U! D/ f3 N" \9 x7 [
  31. drivername = MySQL中
    ( ~) \* Q# j. C, ~3 I& s
  32. 数据库= your_database_name_here 8 P; m/ G; q' A! I# Y  u& [
  33. 主机= the_pc_the_mysql - server_is_on
    , [- ~* m& W* E
  34. user_name = user_name_on_the_mysql服务器
    8 n0 h# y' v. J4 Q* U1 w
  35. 密码= password_to_go_with_above_user_name " N2 o' ]* q2 W; c
  36. getdriverfunc = getsqldrivermysql
    7 y7 }  \+ A! w2 T& x0 A* g3 a
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 0 h! Q) D# w* M# [5 M
  38. libraryname = path_to_libsqlmy_libary 5 P) P9 Q" d) o5 l8 b
  39. 积极= 1
    ' J' _$ a9 r5 v& v
  40. ---削减这里--- & {$ ]0 u" b" t$ i7 a/ e
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    1 w' r/ L. M' E( a% Z/ |% F. x# l
  42. ---例如--- & m2 |7 r, ?7 u$ W6 K7 P9 G% J, A
  43. [ dbexpress ] 9 @5 Q  H3 q" ?6 m8 Y4 Y7 ?
  44. sqldir = mysql_sql % c5 l( p3 Q. B# |- w' a) C' f
  45. drivername = MySQL中! r* ?! @& K; C8 s' z* {
  46. 数据库=测试6 {- `- U; c3 I3 K  [, a4 k
  47. 主机=本地主机; D/ N7 ]7 w% \2 L
  48. user_name = testuser 9 V- m2 `- D; ?* Y* W3 B) [
  49. 密码= my_password 0 D% A/ h* B) c; P% L" _
  50. getdriverfunc = getsqldrivermysql
    8 `8 b  m$ ~% v$ d% h5 x# m  t
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 & U. D2 r/ [/ W5 h
  52. libraryname =. / libsqlmy.so
    9 t* S) ?8 Z. ^, j
  53. 积极= 1
    6 b2 ^% ^0 j% w" L
  54. ---例如--- & v7 J1 }; \; N' X' [9 j. T$ k$ y. z
  55. ! e% m) H8 R0 j5 H" F
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    8 Z& Q4 }, G2 E: {5 r- z1 {+ A5 s4 \
  57. ---例如--- 8 p+ f* t& `' U4 ?) {
  58. [ dbexpress ]
    7 ~+ d" y3 i1 V% \8 G' F& f& [
  59. sqldir = mysql_sql
    1 G" L! U) p" C2 Z
  60. drivername = MySQL中$ ^  V' [  p$ ^. ^
  61. 数据库=测试
    : I' _. @0 q5 C6 v* ?( G$ n2 [
  62. 主机= 127.0.0.1 " e& q# _% o3 T/ n( O. t. C
  63. user_name = testuser , h" j) z) h/ c! F" \( l
  64. 密码= my_password ( {/ o9 k' c' E  V6 F- j& O2 p
  65. getdriverfunc = getsqldrivermysql
    5 i2 T3 b$ Y( E9 H. s" F/ J
  66. vendorlib = libmysql.dll在5 N7 c5 t" v1 V) D& p3 ?
  67. libraryname = dbexpmysql.dll & Q- b6 }% F4 J: }9 O% E7 |
  68. 积极= 1
    / j# q% |3 k3 @: L( X- S3 y2 ?2 g
  69. ---例如---- ! k6 R- r" P  p. F% E5 w
  70. -写在0 2.03.04由p wk.linuxfan
    1 h: g1 L/ ]0 J/ j  y
复制代码
发表于 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- u. k) u' P% W+ `+ z# J

* \& J5 `, K! ]6 }$ |, cbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-7 17:11 , Processed in 0.102489 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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