|
bk commit - mysqldoc tree (1.450): msg#00354db.mysql.devel
Below is the list of changes that have just been committed into a local mysqldoc repository of lenz. When lenz does a push these changes will be propagated to the main repository and, within 24 hours after the push, to the public repository. For information on how to access the public repository see http://www.mysql.com/doc/I/n/Installing_source_tree.html ChangeSet 1.450 03/04/25 12:11:00 lenz@xxxxxxxxx +1 -0 - reworked Mac OS X installation notes a bit to be able to use the manual chapter as the ReadMe.txt inside the PKG (to avoid having to maintain two separate documents) Docs/manual.texi 1.424 03/04/25 12:11:00 lenz@xxxxxxxxx +41 -26 - reworked Mac OS X installation notes a bit to be able to use the manual chapter as the ReadMe.txt inside the PKG (to avoid having to maintain two separate documents) # This is a BitKeeper patch. What follows are the unified diffs for the # set of deltas contained in the patch. The rest of the patch, the part # that BitKeeper cares about, is below these diffs. # User: lenz # Host: kallisto.local # Root: /space/my/mysqldoc --- 1.423/Docs/manual.texi Thu Apr 24 23:04:16 2003 +++ 1.424/Docs/manual.texi Fri Apr 25 12:11:00 2003 @@ -5980,7 +5980,7 @@ @item Mac OS X Server 10.2-10.2.2 come with MySQL 3.23.51 installed @item -Mac OS X Server 10.2.3 and 10.2.4 ship with MySQL 3.23.53 +Mac OS X Server 10.2.3-10.2.5 ship with MySQL 3.23.53 @end itemize This manual section covers the installation of the official MySQL Mac OS X @@ -5998,7 +5998,9 @@ If you are upgrading from Marc's version or from the Mac OS X Server version of MySQL to the official MySQL PKG, you also need to convert the existing -MySQL privilege tables. @xref{Upgrading-from-3.23}. +MySQL privilege tables using the @code{mysql_fix_privilege_tables} script, +since some new security privileges have been added. +@xref{Upgrading-from-3.23}. After the installation, you can start up MySQL by running the following commands in a terminal window. Please note that you need to have @@ -6007,7 +6009,7 @@ @example shell> cd /usr/local/mysql shell> sudo ./bin/mysqld_safe -(Enter your password) +(Enter your password, if necessary) (Press CTRL+Z) shell> bg (Press CTRL+D to exit the shell) @@ -6016,6 +6018,32 @@ You should now be able to connect to the MySQL server, e.g. by running @file{/usr/local/mysql/bin/mysql}. +If you installed MySQL for the first time, @strong{please remember to set a +password for the MySQL root user!} + +This is done with the following two commands: + +@example +/usr/local/mysql/bin/mysqladmin -u root password <password> +/usr/local/mysql/bin/mysqladmin -u root -h `hostname` password <password> +@end example + +You might want to also add aliases to your shell's resource file to +access @code{mysql} and @code{mysqladmin} from the command-line: + +@example +alias mysql '/usr/local/mysql/bin/mysql' +alias mysqladmin '/usr/local/mysql/bin/mysqladmin' +@end example + +Alternatively, you could simply add @code{/usr/local/mysql/bin} to +your @code{PATH} environment variable, e.g. by adding the following +to @file{$HOME/.tcshrc}: + +@example +setenv PATH $@{PATH@}:/usr/local/mysql/bin +@end example + To enable the automatic startup of MySQL on bootup, you can download Marc Liyanage's MySQL StartupItem from the following location: @@ -6026,13 +6054,14 @@ Please note that installing a new MySQL PKG does not remove the directory of an older installation - unfortunately the Mac OS X Installer does not yet offer the functionality required to properly upgrade previously installed -packages. After you have copied over the MySQL database files from the +packages. + +After you have copied over the MySQL database files from the previous version and have successfully started the new version, you should consider removing the old installation files to save up disk space. Additionally, you should also remove older versions of the Package Receipt directories located in @file{/Library/Receipts/mysql-<version>.pkg}. - @node Netware installation, , Mac OS X installation, Quick Standard Installation @subsection Installing MySQL on NetWare @@ -11431,15 +11460,6 @@ is the same as for the client version of Mac OS X. However please note that MySQL comes preinstalled on the Server! -@xref{Mac OS X installation}. - -@node Mac OS X Server, , Mac OS X 10.x, Mac OS X -@subsubsection Mac OS X Server 1.2 (Rhapsody) - -Before trying to configure MySQL on Mac OS X server you must -first install the pthread package from -@uref{http://www.prnet.de/RegEx/mysql.html}. - Our binary for Mac OS X is compiled on Darwin 6.3 with the following configure line: @@ -11451,21 +11471,16 @@ --enable-local-infile --disable-shared @end example -You might want to also add aliases to your shell's resource file to -access @code{mysql} and @code{mysqladmin} from the command-line: +@xref{Mac OS X installation}. -@example -alias mysql '/usr/local/mysql/bin/mysql' -alias mysqladmin '/usr/local/mysql/bin/mysqladmin' -@end example +@node Mac OS X Server, , Mac OS X 10.x, Mac OS X +@subsubsection Mac OS X Server 1.2 (Rhapsody) -Alternatively, you could simply add @code{/usr/local/mysql/bin} to -your @code{PATH} environment variable, e.g. by adding the following -to @file{$HOME/.tcshrc}: +Before trying to configure MySQL on Mac OS X Server 1.2 (aka Rhapsody) you +must first install the pthread package from +@uref{http://www.prnet.de/RegEx/mysql.html}. -@example -setenv PATH $@{PATH@}:/usr/local/mysql/bin -@end example +@xref{Mac OS X installation}. @node Other Unix Notes, OS/2, Mac OS X, Operating System Specific Notes @subsection Other Unix Notes -- MySQL Internals Mailing List For list archives: http://lists.mysql.com/internals To unsubscribe: http://lists.mysql.com/internals?unsub=gcdmd-internals@xxxxxxxxxxx |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | bk commit into 4.0 tree (1.1475): 00354, greg |
|---|---|
| Next by Date: | bk commit into 4.1 tree (1.1563): 00354, guilhem |
| Previous by Thread: | bk commit into 4.0 tree (1.1475)i: 00354, greg |
| Next by Thread: | bk commit into 4.1 tree (1.1563): 00354, guilhem |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |