One, it sound like you have downloaded a binary distro, and this does not require a make. If your want to compile from source, you will need to grab the source distro instead. If you would like to continue with the binary, you can untar the package under /usr/local , and then add the group mysql, add a user mysql with membership to the mysql group, cd to the mysql dir(this should have been created when you untar'd the file under /usr/local, run scripts/mysql_install_db, which sets up all the mysql databases for privledges and stuff, chown -R root . , chown -R mysql data, chgrp -R mysql . , then start the server with bin/mysqld_safe --user=mysql &
This should let your db server start, after which you will need to run
shell> mysqladmin password 'your_new_password'
if you try to do the same command again, it should complain about auth errors.
If you need any other help, just ask.
--James Hughbanks Mikro-Data Engineering Dept. [EMAIL PROTECTED] 1-866-457-6287 http://www.mikro-data.net
On Monday, Aug 18, 2003, at 05:49 America/New_York, Andrew Keating wrote:
To whom it may concern,
We are having some trouble installing a MySQL database onto one of our servers and would appreciate some assistance, details are below.
Installing MySQL v4.0.14 on a Solaris 8 (Sparc) system on a Netra X1.
We have downloaded the source files from your website and have had a go at
trying to install the software following the instructions on the user
manual. We get to the point of configure and we get the following output:
[EMAIL PROTECTED] > ./configure --prefix=/usr/local/mysql NOTE: This is a MySQL binary distribution. It's ready to run, you don't need to configure it!
To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you. If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.
Installing all prepared tables 030818 10:39:06 ./bin/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: ./bin/mysqladmin -u root password 'new-password' ./bin/mysqladmin -u root -h stats1 password 'new-password' See the manual for more instructions.
NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run the ./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 . ; ./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 ./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
Starting the mysqld server. You can test that it is up and running with the command: ./bin/mysqladmin version [EMAIL PROTECTED] > Starting mysqld daemon with databases from /opt/clients/stats/mark/mysql-standard-4.0.14-sun-solaris2.8-sparc/data 030818 10:39:07 mysqld ended
This seems to be all ok, but then I try to compile the program using the
'make' command and I get this message:
[EMAIL PROTECTED] > make make: *** No targets specified and no makefile found. Stop.
Has this error ever happened before and how could we go further on this.
A point to note would be that in the directory /usr/local/ there is no mysql
directory created!
Regards, Mark A. Cauchi
--James Hughbanks Mikro-Data Engineering Dept. [EMAIL PROTECTED] 1-866-457-6287 http://www.mikro-data.net
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]