On Thursday, November 28, 2002, at 11:00 am, Oscar Erlandsson wrote:
Oh yes, had forgotten about that -- Jaguar installs a mysql user of its own. What happened then was probably that you deleted that user earlier, which thus is what's causing your problem. You should have a mysql user with the following data
...
Hmmm... OK, have done that (and many thanks!), but now am back to the problem I had in the first place, i.e. that it doesn't create the /sw/var/mysql/test and /sw/var/mysql/mysql databases. Here's the full output - the errors are right down at the bottom:Recreate those and that will probably help.
pc-80-193-231-14-ca:~% fink install mysql
sudo /sw/bin/fink install mysql
Information about 1782 packages read in 3 seconds.
pkg mysql version ###
pkg mysql version 3.23.53-1
The following package will be installed or updated:
mysql
dpkg -i /sw/fink/dists/unstable/main/binary-darwin-powerpc/database/ mysql_3.23.53-1_darwin-powerpc.deb
Selecting previously deselected package mysql.
(Reading database ... 3832 files and directories currently installed.)
Unpacking mysql (from .../mysql_3.23.53-1_darwin-powerpc.deb) ...
Setting up mysql (3.23.53-1) ...
Installing all prepared tables
021128 12:41:47 /sw/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 !
This is done with:
/sw/bin/mysqladmin -u root password 'new-password'
/sw/bin/mysqladmin -u root -h pc-80-193-231-14-ca.blueyonder.co.uk password 'new-password'
See the manual for more instructions.
NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
the /sw/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 /sw ; /sw/bin/safe_mysqld &
You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; run-all-tests
Please report any problems with the /sw/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
chown: /sw/var/mysql/mysql: No such file or directory
chown: /sw/var/mysql/test: No such file or directory
dpkg: error processing mysql (--install):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
mysql
### execution of dpkg failed, exit code 1
Failed: can't install package mysql-3.23.53-1
--
Richard
[EMAIL PROTECTED] // [EMAIL PROTECTED]
www.jitter.co.uk // www.moonkat.co.uk // www.purr.org.uk
-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners
