Re: [mysql]
ah
lembrando que c vc estiver remoto é necessario verificar o arquivo
my.cnf (/etc/my.cnf) a linha onde contem:
skip-external-locking
comentar essa linha
#skip-external-locking
para que possa aceitar conexoes remotas.
certim?
On Wed, 2 Mar 2005 14:07:50 -0300, Ananias Filho - Kram3r
<kram3r@gmail.com> wrote:
> vamos lah...
> passo a passo
> supondo que vc naum tenha feito nada a nao ser instalar o mysql
> $ mysqladmin -u root -p password 'suasenhanova'
> ele vai pedir uma senha mas ela esta em branco entao vc digital enter
> então
>
> $ mysql -u root -p
> Enter password:
> Welcome to the MySQL monitor. Commands end with ; or \g.
> Your MySQL connection id is 72 to server version: 4.0.23_Debian-4-log
>
> Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
>
> mysql>
> ai vc digita
>
> GRANT ALL PRIVILEGES ON DataBase.* TO usuarionovo@localhost IDENTIFIED
> BY 'umasenhaqq';
>
> pronto!!!
> mais alguma coisa??
>
> On Wed, 02 Mar 2005 11:55:04 -0300, Marcos Vinicius Lazarini
> <lazarini@nics.unicamp.br> wrote:
> > Luiz.Ivan wrote:
> > > Pessoal,
> > >
> > >
> > > Instalei o mysql no sarge e quando tento acessar via browse,
> > > ele me traz este erro abaixo :
> > >
> > >
> > > Warning: mysql_pconnect(): Can't connect to local MySQL server through
> > > socket '/tmp/mysql.sock' (111) in
> > > /data/web/public/search/sphider/include/connect.php on line 9
> > > Cannot connect to database, check if username, password and host are correct.
> >
> > dentro do mysql, existe uma tabela em que vc lista cada usuário e as suas
> > respectivas permissoes, inclusive de onde ele pode se conectar.
> >
> > pra falar a verdade, eu nao lembro mais nada, mas eu fazia alguma coisa assim:
> > $ mysql -U root mysql
> > [...]
> > mysql> select * from users;
> >
> > talvez alguem da lista saiba mais detalhes...
> >
> > --
> > Marcos
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-portuguese-REQUEST@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> >
> >
>
> --
> Kram3r - Ananias Filho
> NO-DEFACE | Shared Knowledge
> The box said:
> Use Microsoft Windows or Better!
> So i instaled Linux
>
--
Kram3r - Ananias Filho
NO-DEFACE | Shared Knowledge
The box said:
Use Microsoft Windows or Better!
So i instaled Linux
Reply to:
- References:
- [no subject]
- From: "Luiz.Ivan" <luiz.ivan@gmail.com>
- Re: [mysql]
- From: Marcos Vinicius Lazarini <lazarini@nics.unicamp.br>
- Re: [mysql]
- From: Ananias Filho - Kram3r <kram3r@gmail.com>