| Usuario |
Error en la compilacion de MySql |
Desconocido
|
| Enviado - 11/12/2004 |
| ? |
Wenas! Me llamo ZiZou y me gustaria comentarles una duda que tengo a ver si me la pueden solucionar, si no es mucha molestia ;).
El problema empieza cuando intento compilar MySQL en mi ordenador con SuSE Linux 9.1. Me registro como root y escribo
nestor-linux:/usr/src/mysql # ./configure --without-debug --prefix=/usr/local/mysql
Esto es lo que aparece:
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.
./scripts/mysql_install_db: line 1: ./bin/my_print_defaults: cannot execute binary file
./scripts/mysql_install_db: line 1: /usr/bin/hostname: No existe el fichero o el directorio
WARNING: The host '' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL deamon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
./scripts/mysql_install_db: line 1: ./bin/mysqld: cannot execute binary file
Installation of grant tables failed!
Examine the logs in ./data for more information.
You can also try to start the mysqld daemon with:
./bin/mysqld --skip-grant &
You can 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!
|
| ? |
|
|
|