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

3307 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
+ |! b! L; b' c' v% ^4 v6 ?' j" J) i6 b+ @) q

  1. " |8 `9 V* u/ Y$ f+ [+ `; t2 |
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######/ M9 m9 g  h5 c& T. b- Z
  3. * s5 B3 x# ^- {: ~
  4. ### What we need ###
    : Z& Z3 m' a% w
  5. Naturally, we will need a MySQL server to store the data for us, this document 4 s8 ^2 I; m+ y3 P6 @) F
  6. will not explain how this can be done - there are documents out there for the # l. V0 z. r6 O- F/ ]" m- m- C; O
  7. interested. The requirements include a (empty) database for TeamSpeak to use4 x8 ^$ }3 i: H' D
  8. and a user account (username + password) that has the permissions to do stuff$ |8 R6 T! [4 D& I! l1 i  m
  9. with the database. Additionally, you will need a vendor library installed on the" L+ t- v2 H5 M  d" F9 {
  10. local machine, this came with my MySQL install.
    / v0 l& p* F5 `7 v% u; v2 f
  11. These instructions will not tell you how you might transfer your data from the
      Q8 s# m( n$ `$ z& L' g
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ' ?8 y3 S: X/ d5 p2 [3 ?- B
  13. database.0 D; {) w1 [4 B1 ?
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ; \9 o' _( L. {; E$ J# m& L
  15. the time of writing, there are still too many issues - check the current status6 v  g: m. n9 f, v3 I4 _% S, G  O
  16. in the TeamSpeak forums if you are interested.
    , ?, c3 `1 r8 q6 k& D; u% g
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    2 {$ h; x  O+ ?9 D; ~) H2 b: b/ m6 m
  18. Borland was used. This driver can only interface with the client library that 0 }4 R* t: p: c  i9 N, o, y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this4 ~: T- B! C3 B. |3 K
  20. client library - basically all you have to do is to use a 3.x client library as * |! A9 u  V2 M( f1 x+ f
  21. "VendorLib" and a 4.x database to connect to.
    6 n1 h/ T& |5 [% r8 c, J3 Y
  22. If you need more info about dbExpress, you can contact Borland.- v# x6 x9 Z7 J  j- Q9 M: P/ d
  23. ' J; |" g# C  J6 _, c; c
  24. ### Doing the work ###
    5 z5 S* b/ E1 O$ s) U# K
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    : Z8 v9 G# F$ d5 T8 n  Z7 P
  26. the perquisites right, just open your server.ini file, and add this section at5 t& [9 w5 M, |5 A" \
  27. the end:
    ! k8 ^, k: Y! i) d
  28. ---cut here---
    5 X7 h$ [1 J! _, m6 ~
  29. [DBEXPRESS]
    1 e3 B. b. S. N& c
  30. sqldir=mysql_sql' R; N" y: i0 A7 ^6 E# }' J0 M  \5 W
  31. Drivername=mysql
      B& X- _' B0 g3 C
  32. Database=Your_Database_Name_Here. v5 V8 D: ^6 w) J  E
  33. Hostname=The_PC_the_MySQL-Server_is_on  M3 v* {6 f1 z, i) ^
  34. User_name=User_name_on_the_MySQL-Server
      Y7 X/ H" F# n& h1 P6 @4 g
  35. Password=Password_to_go_with_above_user_name1 r: i, @. {/ j& F; n: [
  36. GetDriverFunc=getSQLDriverMYSQL9 e, t( y2 k! \. z$ i5 C8 }
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    3 s0 ^, S$ h$ I+ \% i
  38. LibraryName=path_to_libsqlmy_libary0 x" U  l* X4 `8 l
  39. Active=1
      b) N( m' F0 R1 V) I3 P. o5 e# A* a
  40. ---cut here---
    ( a) d) }6 E. s, @
  41. In my environment (a linux box with a MySQL server running locally) I have:" w$ Q) @1 ^  [
  42. ---example---* i" s* r1 L5 I; w" S3 N& W* f6 H
  43. [DBEXPRESS]1 i) q. g% }# U
  44. sqldir=mysql_sql
    " ~. l' H# B6 m0 j3 g  H, E
  45. Drivername=mysql' W6 b  _+ h$ \' Y9 y
  46. Database=test1 h0 }0 U2 |: C% g) y& J
  47. Hostname=localhost1 V) J) c9 s3 G* G3 C0 p
  48. User_name=testuser, f+ h/ ~: T9 h( m& A$ L0 D
  49. Password=my_password
    " n' ?8 L9 O1 E
  50. GetDriverFunc=getSQLDriverMYSQL* t" ?* s% d% _6 E1 R+ C* S
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    8 r1 r+ Y- |2 m# S  L5 u
  52. LibraryName=./libsqlmy.so
    4 u9 a' G9 v6 N' g
  53. Active=1* Y8 A/ N% b3 J6 x3 M! ~
  54. ---example---
    ; |' u$ r3 y/ i0 h
  55. ; b- j$ d" A2 @9 ~
  56. On a windows box, also running the MySQL server locally, it would be:% ^8 ]/ m5 e0 \$ l
  57. ---example---/ M. W( Z& S) }: g
  58. [DBEXPRESS]
    4 E# s) y. u: i# G
  59. sqldir=mysql_sql
    - |: J' Y- a; k2 H: h- o
  60. Drivername=mysql4 k, p! C2 v* s6 _( p3 T5 Y
  61. Database=test) [6 d# P9 |% B5 r7 B
  62. Hostname=127.0.0.1& r! I' t2 G9 H8 x" `* N
  63. User_name=testuser
    ( v: Z1 Z5 B" t/ H! T
  64. Password=my_password
    3 q' {% A8 M$ d& A" I# p5 ^
  65. GetDriverFunc=getSQLDriverMYSQL
    9 p* J& x0 ]2 o. ~8 x
  66. VendorLib=libmysql.dll
    3 m" a0 ~1 S4 z  z6 F( g6 H+ b
  67. LibraryName=dbexpmysql.dll4 f& P) X+ U% s2 t; N7 n
  68. Active=1/ X; A! H% V0 K3 b/ N2 ~% o$ f
  69. ---example----
    # `" ]2 i2 [& g& C2 d
  70. - written 02.03.04 by pwk.linuxfan/ D5 L# m+ c. [1 \7 y% A' M2 D1 q8 Z, [
  71. , R$ ~. E& g; L
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看6 @( s( `$ g9 G- x$ k; E
  1. 1 `1 _2 T  G$ P; t
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    * o! F4 [( |6 y- x
  3. 6 r; H& s; }( ~0 h& N
  4. # # #我们所需要# # # . j' Y4 O/ v, F
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件8 S0 z- @+ e( i! g9 [- H
  6. 不会解释如何做到这一点-也有文件存在,为
    0 ~( z5 d  S6 k9 D3 V& a) F0 [
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用$ ]0 I2 p. b0 x# R1 z! i7 S
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西- W/ K5 o; q- {! Z/ y& T" t8 l( O
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    9 C' T9 V) ~5 Q; K( O/ E" `
  10. 本地机器,这是我的MySQL安装。 ) b6 K! Y3 V/ O9 _7 @' c
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从' P  w; m" d+ y/ {( k
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    # h, ~" i8 M: e% H
  13. 数据库。 * K* \5 t) F- k3 c  U' r; j
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    : Q  P$ D  i$ w+ Q. a# i. S/ p
  15. 编写本报告的时候,仍然有太多的问题-检查现状4 i  Z0 [1 {. I- b' x  a. Y/ W
  16. 在teamspeak论坛,如果你有兴趣。 ; m7 C4 U0 a) u9 y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机( z5 C8 K, z% x5 p" _; C) K& R
  18. Borland公司使用。这个司机只能界面与客户端库
    $ U( U! }: p; h0 W0 l
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    $ C9 J( q; Z$ R) k# q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为, U7 c3 N3 k8 b* @, m
  21. " vendorlib " ,并解数据库连接。
    : V: [- M& ~- a6 }! Z: f+ K
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    * J% f$ t1 d" ]- E2 H; @! K
  23. $ e$ f- M0 @; O  z5 |! m
  24. # # #做好工作# # #
    % U$ p' ^6 H) y+ K
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都- _( k4 T2 d  B1 R5 i/ t: ?6 Y5 u- O
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    * [0 X+ {% H3 {( |* w  Y3 q
  27. 结束:
    ( ]$ t" T- A; l( z5 J/ G! D" n
  28. ---削减这里--- 6 U- O4 x8 G. d
  29. [ dbexpress ] 2 E0 w# w9 B9 n/ _
  30. sqldir = mysql_sql
    & [. K' r* t8 K
  31. drivername = MySQL中
    8 s) N) W6 A8 }
  32. 数据库= your_database_name_here ( _: C: F- A( y) @
  33. 主机= the_pc_the_mysql - server_is_on 3 i* f# d: _2 P8 k
  34. user_name = user_name_on_the_mysql服务器' ^# W- R- q6 V2 M/ m
  35. 密码= password_to_go_with_above_user_name
    ( i7 z; |* W# o# Y2 A
  36. getdriverfunc = getsqldrivermysql . E) U1 ?# D* f- F& m$ e% }% M6 {
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib & ]2 w$ ?' ]2 T# @" `
  38. libraryname = path_to_libsqlmy_libary
    7 a6 O# a' X- C0 b( b1 I
  39. 积极= 1
    7 R% Z' J, {* T4 W3 X
  40. ---削减这里--- 5 B4 L% t7 X! [
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ! e" L8 Y+ Z# j1 {& Q% x
  42. ---例如---
    : M5 e  t7 W6 {
  43. [ dbexpress ]
    - J: p# e# b& L! i1 `8 a- t
  44. sqldir = mysql_sql
    . \! o4 c  x0 @# f5 C8 ]$ _
  45. drivername = MySQL中
    4 Z5 q- I. A- F
  46. 数据库=测试& Y0 i9 V* `! a
  47. 主机=本地主机
    $ d9 [' ^* I7 O' Y5 \0 u
  48. user_name = testuser & |9 u" w' y6 d2 N
  49. 密码= my_password
    , Y& F: ~" }0 n9 v$ b( ?  |
  50. getdriverfunc = getsqldrivermysql
    , e* q. V; g7 d, U6 b7 l6 e
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 % o9 T9 a* d- q# d
  52. libraryname =. / libsqlmy.so 7 e3 S7 [9 w! h9 E: w- |* v
  53. 积极= 1
    / J6 T5 V0 g5 [' p. ^6 h
  54. ---例如---
    / ?$ O  |" Y% H0 V+ F8 n) F
  55. # c$ i9 p& N5 u! G/ a
  56. 对Windows中,也运行MySQL服务器本地的,那就是: / f/ i! ~# v3 b0 C8 O3 \
  57. ---例如---
    8 s! |+ D$ d5 Q7 S5 ^
  58. [ dbexpress ]
    3 a% S; ~* H7 X' T% O
  59. sqldir = mysql_sql
    - p3 ?% o3 f3 e( a0 A& s, [
  60. drivername = MySQL中
    + N4 j! |+ f+ H" G
  61. 数据库=测试
    / j6 V; ~/ q% s* B, H4 g  t
  62. 主机= 127.0.0.1 ) ?) L, q0 u. j6 w% t, I8 q7 `
  63. user_name = testuser 2 i' j# J( I3 w$ n- a" X4 k6 Q
  64. 密码= my_password & S- k4 _- w) m; R# @' h
  65. getdriverfunc = getsqldrivermysql 9 N- k$ T7 z; Q8 A4 O9 }0 p
  66. vendorlib = libmysql.dll在
    5 k7 \) _' _, j4 ]/ @1 T
  67. libraryname = dbexpmysql.dll 8 R- ]  c. L& N0 h$ G
  68. 积极= 1 , X0 E( }! V7 H
  69. ---例如----
    % r# z, E: h; g0 r4 S9 V
  70. -写在0 2.03.04由p wk.linuxfan/ b0 t! A) J; [8 r4 t: l
复制代码
发表于 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# J8 w8 w% d/ g, [/ f& q$ @- k

$ R& c9 ?4 |: c* j9 w3 Mbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-9 04:28 , Processed in 0.096205 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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