checking for listening ports (Was: Mysql question.)

2003-09-15 Thread Vineet Kumar
* Kenneth Dombrowski ([EMAIL PROTECTED]) [030915 10:53]: > $ nmap localhost | grep mysql > > just to verify that it is, in fact, listening.. it should be using port > 3306 by default A better way to see listening ports is to use netstat -tln. This will show listening ports on all interfaces, an

Re: Mysql question.

2003-09-15 Thread Kenneth Dombrowski
On 03-09-15 07:13 +0200, Mark Maas wrote: > Ah yes, I tried those doc's first.: > menem:/home/mark# mysqladmin -u root password 'secret' > mysqladmin: connect to server at 'localhost' failed > error: 'Access denied for user: '[EMAIL PROTECTED]' (Using password: NO)' > > And I swear to you, I never

Re: Mysql question.

2003-09-15 Thread Lou Losee
* Mark Maas <[EMAIL PROTECTED]> [2003-09-15 01:25]: > Ah yes, I tried those doc's first.: > menem:/home/mark# mysqladmin -u root password 'secret' > mysqladmin: connect to server at 'localhost' failed > error: 'Access denied for user: '[EMAIL PROTECTED]' (Using password: NO)' > > And I swear to yo

Re: Mysql question.

2003-09-14 Thread Mark Maas
a password! I freshly installed mysql, and I cannot access it. Could this be a DNS problem? (When I ping localhost, I do get respons from 127.0.0.1) I'm at a loss... Mark - Original Message - From: "Julian Hernandez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

Re: Mysql question.

2003-09-13 Thread Julian Hernandez
On Sat, Sep 13, 2003 at 11:00:16 +0200, Mark Maas wrote: > Thanks oliver, > > I only did "apt-get install mysql-server" after which I did "mysqladmin -u > root -p create moregroupware" > > Nothing... Same error with our without the "-p" > > If a root password has been set, it has been during dow

Re: Mysql question.

2003-09-13 Thread Mark Maas
I got that as well? I must be missing something... - Original Message - From: "Elie De Brauwer" <[EMAIL PROTECTED]> To: "Mark Maas" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, September 13, 2003 11:30 AM Subject: Re: Mysql question.

Re: Mysql question.

2003-09-13 Thread Elie De Brauwer
ng of the debian package. in other words: not by me.. > > Does anyone know if a password is set when freshly installing mysql? > > Thanks, > Mark > > - Original Message - > From: "Oliver Elphick" <[EMAIL PROTECTED]> > To: "Mark Maas" <[EMAIL P

Re: Mysql question.

2003-09-13 Thread Mark Maas
age. in other words: not by me.. Does anyone know if a password is set when freshly installing mysql? Thanks, Mark - Original Message - From: "Oliver Elphick" <[EMAIL PROTECTED]> To: "Mark Maas" <[EMAIL PROTECTED]> Sent: Friday, September 12, 2003 11:27 P

Re: Mysql question.

2003-09-12 Thread D. Clarke
connect failed... make sure the server is running... if it is that means it's not listening on tcp/ip; you can enable it by commenting in /etc/mysql/my.cnf # skip-networking with that uncommented mysql only listens on a local unix socket and of course, restart the daemon when you change that op

Mysql question.

2003-09-12 Thread Mark Maas
All,   I'm trying to install: http://www.moregroupware.org/ On this page: http://www.moregroupware.org/manual/en/setup_linux_long.html   It tells me to add a database with the command: "mysqladmin -u root -p create moregroupware"   After which mysql reports:   menem:/home/mark# mysqladmin -u

Re: MySQL question

2001-07-24 Thread Aaron Traas
I'd like to thank everyone for answering so quickly. You guys gave me great places to start looking, and I think I have a solution. --Aaron

Re: MySQL question

2001-07-24 Thread Nikki Locke
In article <[EMAIL PROTECTED]>, Aaron Traas wrote: > I currently have a database-driven web site up, with a PHP front end and > MySQL back-end. The problem I'm having is that the login for the > database is root and my root password. How do I change this? > > Also, I plan on having multiple web si

Re: MySQL question

2001-07-24 Thread Matthias Richter
Aaron Traas wrote on Tue Jul 24, 2001 at 10:40:26AM: > I currently have a database-driven web site up, with a PHP front end and > MySQL back-end. The problem I'm having is that the login for the > database is root and my root password. How do I change this? As you have full controll over the datab

Re: MySQL question

2001-07-24 Thread smokez
Aaron Traas wrote: I currently have a database-driven web site up, with a PHP front end and MySQL back-end. The problem I'm having is that the login for the database is root and my root password. How do I change this? Also, I plan on having multiple web sites and thus multiple databases. Can I

Re: MySQL question

2001-07-24 Thread Hank Marquardt
Read about GRANT queries in the mysql manual. You should definitely not be using your root info for web work -- in fact I'd create a user with SELECT only privs for most of it ... GRANT SELECT on YOURDB.* to [EMAIL PROTECTED] identified by 'somepassword' Varying the YOURDB and the [EMAIL PROTECT

MySQL question

2001-07-24 Thread Aaron Traas
I currently have a database-driven web site up, with a PHP front end and MySQL back-end. The problem I'm having is that the login for the database is root and my root password. How do I change this? Also, I plan on having multiple web sites and thus multiple databases. Can I tie a user and passwor

Re: mysql question..

2000-06-07 Thread Sven Gaerner
In Debian the mysql support for PHP is a seperate file called mysql.so that has to be loaded in your PHP source file. e.g. : dl("mysql.so"); : will load the mysql.so module If you don`t want this you have to recompile PHP and make a PHPLIB with a built-in mysql support At Mon, 5 Jun 2000