05-04-2003 por wbrunett
configurando mysql????
pessoal eu copiei o source do mysql 4.0 standard....
ai eu do o comando ./configure e aparece a seguinte msg... alguém pode me ajudar nos procedimentos de instalação e configuração do mysql??
obrigado pessoal.... até + abraços
05-04-2003 por Kleber Costa
dah uma olhada no diretório que tá a documentação!!! Deve ter explicando lá!!!
tenta isso, se for o que eu to pensando vai funfar:
./autogen
./configure
05-04-2003 por wbrunett
Citação:
|
Postado Originalmente por kleber_costa
dah uma olhada no diretório que tá a documentação!!! Deve ter explicando lá!!!
tenta isso, se for o que eu to pens...
|
o comando ./autogen não funcionou...... achu que nem tem esse script no dir de instalação do mysql
e quando eu do o ./configure da a seguinte msg:
[root@william mysql]# ./configure
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
030405 13:50:18 ./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 william 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
[root@william mysql]# Starting mysqld daemon with databases from /var/lib/mysql
030405 13:50:18 mysqld ended
05-04-2003 por Kleber Costa
Citação:
|
Postado Originalmente por wbrunett
o comando ./autogen não funcionou...... achu que nem tem esse script no dir de instalação do mysql
e quando eu do o ...
|
C mesmo respondeu sua pergunta :-)
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!
vc pegou um pacote compilado!! é só descompactar e fazer as configs :wink:
05-04-2003 por AValle
Só complementando:
como o mysql já tá instalado, cria um database:
#mysql_install_db
seta uma nova senha de root:
#mysqladmin -u root password DIGITE_A_NOVA_SENHA
abraços
06-04-2003 por wbrunett
aValle e ai...
tipo eu ja descompactei o pacote que eu fiz o download sim... a
... ai eu entrei dentro da pasta scripts
e rodei o
./mysql_install_db ai da essa msg:
[root@william scripts]# ./mysql_install_db
Didn't find ./bin/mysqld
You should do a 'make install' before executing this script
eu ja tentei um monte de coisa pra resolver o problema... eu tinha uma versão antiga do mysql instalada ai eu removi todas as pastas e executaveis que tinha do antigo mysql pq não consegui desinstala com o comano: rpm -e mysql*
ai eu removi manualmente mesmo.. ai eu copiei o binary da ultima versão 4.0... ai eu descompactei : #tar -zxvf pacote.tar.gz
ai eu entro dentro no dir criado e do o seguinte comando : ./configure
ai aparece essas msgs:
[root@william mysql-standard-4.0.12-pc-linux-i686]# ./configure
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
030406 16:27:08 ./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 william 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
[root@william mysql-standard-4.0.12-pc-linux-i686]# Starting mysqld daemon with databases from /var/lib/mysql
030406 16:27:09 mysqld ended
06-04-2003 por AValle
vamos por partes

qual linux vc tá usando?
06-04-2003 por wbrunett
hehe é verdade vamos por partes...
uso o Conectiva 8..
se tiver icq e puder me passa achu que é mais facil..
valeu..
06-04-2003 por AValle
Citação:
|
Postado Originalmente por wbrunett
hehe é verdade vamos por partes...
uso o Conectiva 8..
se tiver icq e puder me passa achu que é mais facil..
...
|
por aqui é melhor, pois se a gente conseguir te ajudar e se tiver mais gente com a mesma dúvida, a ajuda será mais ampla
bom, o que eu faria: recomeçaria do zero assim:
removeria tudo q já foi feito
instalaria a mesma versão do mysql anterior com rpm
e aí, removeria via rpm de novo (risos, pode paracer loucura, mas assim eu teria certeza q tudo foi pro espaço)
e só depois de ter certeza de que está tudo limpo, pegaria um fonte e mandava ver no make.
Dá uma olhada nessa dica:
http://www.guiadohardware.net/linux/dicas/02.htm
06-04-2003 por wbrunett
Citação:
|
Postado Originalmente por AValle
por aqui é melhor, pois se a gente conseguir te ajudar e se tiver mais gente com a mesma dúvida, a ajuda será mais am...
|
pode crer.... vmos por aqui então..
ae aValle eu ja apaguei todos os vestigios do mysql dei um apt-get remove mysql ai apago o resto que tinha...
dei o comando make no dir de instalação mais aparece a seguinte msg:
[root@william mysql-standard-4.0.12-pc-linux-i686]# make
make: *** No targets specified and no makefile found. Stop.
o problema está na hora do ./configure mesmo que é o primeiro passo a dar não é?
abraços
06-04-2003 por AValle
Citação:
|
Postado Originalmente por wbrunett
pode crer.... vmos por aqui então..
ae aValle eu ja apaguei todos os vestigios do mysql dei um apt-get remove...
|
mas vc baixou o fonte mesmo?
posta aqui o passo-a-passo de como vc está fazendo
o link do fonte é
esse daqui
esse mysql-standard-4.0.12-pc-linux-i686.tar.gz q vc baixou não é o fonte, é uma instalação. (tanto que diz q foi compilado pra i686 e libc6)
Abre a pasta e procura algum README, ou INSTALL. Lá vai ter a instrução de como vc deve proceder
06-04-2003 por wbrunett
[quote=AValle]mas vc baixou o fonte mesmo?
posta aqui o passo-a-passo de como vc está fazendo
o link do fonte é [url=http://mys...[/quote]
fiz o download deste arquivo: mysql-standard-4.0.12-pc-linux-i686.tar.gz
lá no site do mysql mesmo...
ai eu do o comando tar -zxvf nome_do_arquivo.tar.gz
ai depois disso a primeira coisa que fiz foi :
#cd nome_do_dir_de_instalação_do_mysql_que_eu_descompa ctei_hehe
ai depoiis
eu do o comando de configuração
[root@william mysql-standard-4.0.12-pc-linux-i686]# ./configure
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.
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
030406 17:18:00 ./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 william 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 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
[root@william mysql-standard-4.0.12-pc-linux-i686]# Starting mysqld daemon with databases from /home/mysql-standard-4.0.12-pc-linux-i686/data
030406 17:18:01 mysqld ended
ai depois eu entro dentro de uma pasta que tem dentro do dir de instalação chamada /scripts
e executo o seguinte script
[root@william scripts]# ./mysql_install_db
./mysql_install_db: my_print_defaults: command not found
Didn't find ./bin/mysqld
You should do a 'make install' before executing this script
ai eu não faço mais nada... hehe..... valeu....
06-04-2003 por AValle
risos
vc leu o meu post todo aí em cima?
06-04-2003 por wbrunett
Citação:
|
Postado Originalmente por AValle
risos
vc leu o meu post todo aí em cima?
|

ops:
rs.. foi mals... hehe não tinha visto mesmo haha... mas mesmo sem ter visto eu entrei no site do mysql novamente e lá no fim da página de downloads tem o font hehe... ja to copiando ele....
quando eu terminar de instalar qual os primeiros procedimentos eu devo fazer a aValle???
abraçoss
obs: essa eu mandei mal... rs..
06-04-2003 por AValle
Citação:
|
Postado Originalmente por wbrunett
 ops:
rs.. foi mals... hehe não tinha visto mesmo haha... mas mesmo sem ter visto eu entrei no site do mysql novam...
|
Uma caixa de skol compra meu silêncio. O problema vai ser com os outros 10mil usuários hehehe
Cara, tenta instalar o q vc já tem aí, olha os arquivos de ajuda q estão dentro da pasta.
Eu não compilo o mysql, pego um tgz pro slack e em 1 minuto já tô usando ele (bem melhor q ficar esperando). Mas como vc quer usar o 4, tenta instalar.
Faz o q eu falei acima: procura um readme, install, abre num editor de texto e dá uma olhada. em 99,9999999999% dos casos vem um arquivo explicando o "como fazer"
Eu, sinceramente não sei fazer, teria que baixar esse 11mb e ver (uso modem

)
Espero ter te ajudado um pouco, grande abraço
06-04-2003 por wbrunett
Citação:
|
Postado Originalmente por AValle
Uma caixa de skol compra meu silêncio. O problema vai ser com os outros 10mil usuários hehehe
Cara, tenta instalar o...
|
haha eu tb uso modem.... mais só falta 4MB.. já copiei 8mb hehe...
tipo depois eu eu instalar eu devo iniciar o serviço primeiro e depois da os comandos
#mysqladmin -u root -p password senha
#mysql_install_db
ou eu faço os comandos primeiro e depois inicio o serviço mysql????
é que eu nunca instalei... e nem configurei.,.