1 |
neysx 05/12/21 11:03:31 |
2 |
|
3 |
Modified: xml/htdocs/doc/en mysql-upgrading.xml |
4 |
Log: |
5 |
#116252 --all not required |
6 |
s:-p$PASSWORD:--password=your_password: |
7 |
|
8 |
Revision Changes Path |
9 |
1.6 +8 -9 xml/htdocs/doc/en/mysql-upgrading.xml |
10 |
|
11 |
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/mysql-upgrading.xml?rev=1.6&content-type=text/x-cvsweb-markup&cvsroot=gentoo |
12 |
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/mysql-upgrading.xml?rev=1.6&content-type=text/plain&cvsroot=gentoo |
13 |
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/mysql-upgrading.xml.diff?r1=1.5&r2=1.6&cvsroot=gentoo |
14 |
|
15 |
Index: mysql-upgrading.xml |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/mysql-upgrading.xml,v |
18 |
retrieving revision 1.5 |
19 |
retrieving revision 1.6 |
20 |
diff -u -r1.5 -r1.6 |
21 |
--- mysql-upgrading.xml 21 Oct 2005 10:11:41 -0000 1.5 |
22 |
+++ mysql-upgrading.xml 21 Dec 2005 11:03:31 -0000 1.6 |
23 |
@@ -1,6 +1,6 @@ |
24 |
<?xml version='1.0' encoding="UTF-8"?> |
25 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
26 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/mysql-upgrading.xml,v 1.5 2005/10/21 10:11:41 neysx Exp $ --> |
27 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/mysql-upgrading.xml,v 1.6 2005/12/21 11:03:31 neysx Exp $ --> |
28 |
|
29 |
<guide link="/doc/en/mysql-upgrading.xml"> |
30 |
<title>Upgrade guide to MySQL 4.1.x</title> |
31 |
@@ -22,8 +22,8 @@ |
32 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
33 |
<license/> |
34 |
|
35 |
-<version>1.4</version> |
36 |
-<date>2005-10-21</date> |
37 |
+<version>1.5</version> |
38 |
+<date>2005-12-21</date> |
39 |
|
40 |
<chapter> |
41 |
<title>Upgrading from old versions of MySQL</title> |
42 |
@@ -57,10 +57,9 @@ |
43 |
<pre caption="Dump of all databases"> |
44 |
# <i>mysqldump \</i> |
45 |
<i>-uroot \</i> |
46 |
- <i>-p$PASSWORD \</i> |
47 |
+ <i>--password=</i><comment>your_password</comment><i> \</i> |
48 |
<i>-hlocalhost \</i> |
49 |
<i>--all-databases \</i> |
50 |
- <i>--all \</i> |
51 |
<i>--opt \</i> |
52 |
<i>--allow-keywords \</i> |
53 |
<i>--flush-logs \</i> |
54 |
@@ -146,14 +145,14 @@ |
55 |
# <i>cat BACKUP_MYSQL_4.0.SQL \</i> |
56 |
<i>| mysql \</i> |
57 |
<i>-uroot \</i> |
58 |
- <i>-p$PASSWORD \</i> |
59 |
+ <i>--password=</i><comment>your_password</comment><i> \</i> |
60 |
<i>-hlocalhost \</i> |
61 |
<i>--max_allowed_packet=16M</i> |
62 |
|
63 |
# <i>mysql_fix_privilege_tables \</i> |
64 |
<i>--defaults-file=/etc/mysql/my.cnf \</i> |
65 |
<i>--user=root \</i> |
66 |
- <i>--password=$PASSWORD</i> |
67 |
+ <i>--password=</i><comment>your_password</comment><i></i> |
68 |
</pre> |
69 |
|
70 |
<p> |
71 |
@@ -220,8 +219,8 @@ |
72 |
# <i>revdep-rebuild</i> |
73 |
# <i>/etc/init.d/mysql start</i> |
74 |
# <i>mysql_fix_privilege_tables --defaults-file=/etc/mysql/my.cnf \</i> |
75 |
- <i>-uroot --password=$PASSWORD</i> |
76 |
-# <i>mysql --database=mysql -uroot -p$PASSWORD < /tmp/new_pieces.sql</i> |
77 |
+ <i>-uroot --password=</i><comment>your_password</comment><i></i> |
78 |
+# <i>mysql --database=mysql -uroot --password=</i><comment>your_password</comment><i> < /tmp/new_pieces.sql</i> |
79 |
# <i>/etc/init.d/mysql restart</i> # just to be sure |
80 |
</pre> |
81 |
|
82 |
|
83 |
|
84 |
|
85 |
-- |
86 |
gentoo-doc-cvs@g.o mailing list |