|
![]() |
||
configurando mysql????
|
||
. Nós temos 759.203 usuários, convidamos você fazer parte de nossa comunidade também! Se ainda não encontrou o que procura use nossa pesquisa. Esperamos que aprecie nosso trabalho.
![]() |
|
|
Opções do Tópico |
|
|
#1 (permalink) |
|
Novo Membro
|
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
__________________
-=|W¡££¡äñ|=- Linux Distribution - CL8 Linux User #309488 |
|
|
|
|
|
#2 (permalink) |
|
Zumbi
|
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
__________________
Salve! Ó terra dos altos coqueiros! De belezas soberbo estendal! Nova Roma dos bravos guerreiros Pernambuco, imortal, imortal! Linux User #262254 |
|
|
|
|
|
#3 (permalink) | |
|
Novo Membro
|
Citação:
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
__________________
-=|W¡££¡äñ|=- Linux Distribution - CL8 Linux User #309488 |
|
|
|
|
|
|
#4 (permalink) | |
|
Zumbi
|
Citação:
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:
__________________
Salve! Ó terra dos altos coqueiros! De belezas soberbo estendal! Nova Roma dos bravos guerreiros Pernambuco, imortal, imortal! Linux User #262254 |
|
|
|
|
|
|
#5 (permalink) |
|
Ubbergeek
Registrado em: Dec 2002
Localização: Rio de Janeiro
Idade: 36
Mensagens: 4.437
Reputação: 40
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
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 ![]()
__________________
Entretenimento é aqui! |
|
|
|
|
|
#6 (permalink) |
|
Novo Membro
|
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
__________________
-=|W¡££¡äñ|=- Linux Distribution - CL8 Linux User #309488 |
|
|
|
|
|
#7 (permalink) |
|
Ubbergeek
Registrado em: Dec 2002
Localização: Rio de Janeiro
Idade: 36
Mensagens: 4.437
Reputação: 40
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
vamos por partes
![]() qual linux vc tá usando?
__________________
Entretenimento é aqui! |
|
|
|
|
|
#8 (permalink) |
|
Novo Membro
|
hehe é verdade vamos por partes...
uso o Conectiva 8.. se tiver icq e puder me passa achu que é mais facil.. valeu..
__________________
-=|W¡££¡äñ|=- Linux Distribution - CL8 Linux User #309488 |
|
|
|
|
|
#9 (permalink) | |
|
Ubbergeek
Registrado em: Dec 2002
Localização: Rio de Janeiro
Idade: 36
Mensagens: 4.437
Reputação: 40
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Citação:
![]() 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.hardware.com.br/linux/dicas/02.htm
__________________
Entretenimento é aqui! |
|
|
|
|
|
|
#10 (permalink) | |
|
Novo Membro
|
Citaçã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
__________________
-=|W¡££¡äñ|=- Linux Distribution - CL8 Linux User #309488 |
|
|
|
|
|
|
#11 (permalink) | |
|
Ubbergeek
Registrado em: Dec 2002
Localização: Rio de Janeiro
Idade: 36
Mensagens: 4.437
Reputação: 40
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Citação:
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
__________________
Entretenimento é aqui! |
|
|
|
|
|
|
#12 (permalink) |
|
Novo Membro
|
[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....
__________________
-=|W¡££¡äñ|=- Linux Distribution - CL8 Linux User #309488 |
|
|
|
|
|
#13 (permalink) |
|
Ubbergeek
Registrado em: Dec 2002
Localização: Rio de Janeiro
Idade: 36
Mensagens: 4.437
Reputação: 40
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
risos
vc leu o meu post todo aí em cima?
__________________
Entretenimento é aqui! |
|
|
|
|
|
#14 (permalink) | |
|
Novo Membro
|
Citação:
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..
__________________
-=|W¡££¡äñ|=- Linux Distribution - CL8 Linux User #309488 |
|
|
|
|
|
|
#15 (permalink) | |
|
Ubbergeek
Registrado em: Dec 2002
Localização: Rio de Janeiro
Idade: 36
Mensagens: 4.437
Reputação: 40
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Citação:
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
__________________
Entretenimento é aqui! |
|
|
|
|
|
|
#16 (permalink) | |
|
Novo Membro
|
Citação:
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.,.
__________________
-=|W¡££¡äñ|=- Linux Distribution - CL8 Linux User #309488 |
|
|
|
|
![]() |
| Opções do Tópico | |
|
|