Kod: Markera allt
./configure --prefix=/usr/local/mysql
Kod: Markera allt
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.
mkdir: kan inte skapa katalog "./data/mysql": Åtkomst nekas
chmod: kan inte komma åt "./data/mysql": Åtkomst nekas
mkdir: kan inte skapa katalog "./data/test": Åtkomst nekas
chmod: kan inte komma åt "./data/test": Åtkomst nekas
Installing MySQL system tables...
070727 13:35:55 [Warning] Can't create test file /usr/local/src/mysql-5.0.45-linux-i686-glibc23/data/wkoch.lower-test
070727 13:35:55 [Warning] Can't create test file /usr/local/src/mysql-5.0.45-linux-i686-glibc23/data/wkoch.lower-test
./bin/mysqld: Can't change dir to '/usr/local/src/mysql-5.0.45-linux-i686-glibc23/data/' (Errcode: 13)
070727 13:35:55 [ERROR] Aborting
070727 13:35:55 [Note] ./bin/mysqld: Shutdown complete
Installation of system tables failed!
Examine the logs in ./data for more information.
You can try to start the mysqld daemon with:
./bin/mysqld --skip-grant &
and use the command line tool
./bin/mysql to connect to the mysql
database and look at the grant tables:
shell> ./bin/mysql -u root mysql
mysql> show tables
Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in ./data that may be helpful.
The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the ./bin/mysqlbug script!
Kör jag däremot:
Kod: Markera allt
sudo ./configure --prefix=/usr/local/mysql
Kod: Markera allt
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.
mkdir: kan inte skapa katalog "./data/mysql": Åtkomst nekas
chmod: kan inte komma åt "./data/mysql": Åtkomst nekas
mkdir: kan inte skapa katalog "./data/test": Åtkomst nekas
chmod: kan inte komma åt "./data/test": Åtkomst nekas
Installing MySQL system tables...
070727 13:35:55 [Warning] Can't create test file /usr/local/src/mysql-5.0.45-linux-i686-glibc23/data/wkoch.lower-test
070727 13:35:55 [Warning] Can't create test file /usr/local/src/mysql-5.0.45-linux-i686-glibc23/data/wkoch.lower-test
./bin/mysqld: Can't change dir to '/usr/local/src/mysql-5.0.45-linux-i686-glibc23/data/' (Errcode: 13)
070727 13:35:55 [ERROR] Aborting
070727 13:35:55 [Note] ./bin/mysqld: Shutdown complete
Installation of system tables failed!
Examine the logs in ./data for more information.
You can try to start the mysqld daemon with:
./bin/mysqld --skip-grant &
and use the command line tool
./bin/mysql to connect to the mysql
database and look at the grant tables:
shell> ./bin/mysql -u root mysql
mysql> show tables
Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in ./data that may be helpful.
The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the ./bin/mysqlbug script!
koch@wkoch:/usr/local/src/mysql-5.0.45-linux-i686-glibc23$ sudo ./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 MySQL system tables...
OK
Filling help tables...
OK
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:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h wkoch password 'new-password'
See the manual for more instructions.
You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl
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 http://shop.mysql.com
Starting the mysqld server. You can test that it is up and running
with the command:
./bin/mysqladmin version
koch@wkoch:/usr/local/src/mysql-5.0.45-linux-i686-glibc23$ chown: "mysql": ogiltig användare
Starting mysqld daemon with databases from /usr/local/src/mysql-5.0.45-linux-i686-glibc23/data
STOPPING server from pid file /usr/local/src/mysql-5.0.45-linux-i686-glibc23/data/wkoch.pid
070727 13:38:44 mysqld ended
Någon som kan förstå vad som är fel? Jag har laddat hem "httpd-2.2.4.tar.gz", "mysql-5.0.45-linux-i686-glib23.tar.gz" och "php-5.2.3.tar.gz" men som sagt vet jag inte om det är rätt filer.