D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Databases again

 

On Wed, 21 Jun 2006 22:20:22 +0100
Neil Stone <neil@xxxxxxxxxxxxxxx> wrote:

> Just reading through this little lot, yeah.. looks like the mysql
> databases for access control etc are missing...
> 
> Run the above script and let us know whta happens..
> 
Here is the output

[root@localhost /]# /usr/share/mysql/mysql.server start &
[1] 6211
[root@localhost /]# Starting MySQL Server                       [  OK  ]
[root@localhost /]# mysql_install_db
Installing all prepared tables
060622 22:38:17 /usr/sbin/mysqld: Shutdown Complete


To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h localhost password 'new-password'
See the manual for more instructions.

NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run
the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!

You can start the MySQL daemon with:
cd / ; /usr/bin/mysqld_safe &

You can test the MySQL daemon with the benchmarks in the 'sql-bench'
directory: cd sql-bench ; perl run-all-tests

Please report any problems with the /usr/bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com

[1]+  Done                    /usr/share/mysql/mysql.server start
[root@localhost /]#

Thanks

Neil Winchurst

> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFEmbgWz3Av8JKgzxQRAuVnAJoDoKGehZvAXgfYDyxhl4+wroQaYgCgkhXf
> nAZqK4ZNQLGJDj2Rv/qs2nk=
> =kjMQ
> -----END PGP SIGNATURE-----
> 
> -- 
> The Mailing List for the Devon & Cornwall LUG
> http://mailman.dclug.org.uk/listinfo/list
> FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html