mysql install Q... error connecting /tmp/mysql.sock

2002-09-10 Thread anand v

Hi,

I have redhat linux 7.1 and I have downloaded mysql-3.23.52
and followed all the instructions as to how to install and how
to bring up the database the scripts/mysql_install_db worked
fine and then I did ./bin/safe_mysqld and that worked fine too
but when I tried to execute the mysql program I got the following error

[root@abacusweb mysql]# bin/safe_mysqld &
[1] 25307
[root@abacusweb mysql]# Starting mysqld daemon with databases from 
/var/lib/mysq
l

[root@abacusweb mysql]#
[root@abacusweb mysql]# mysql
ERROR 2002: Can't connect to local MySQL server through socket 
'/tmp/mysql.sock'
(111)

=

I don't know how to run and capture the output from mysqlbug program
and if some one tells me how to redirect the output from mysqlbug program
I appreciate that

Please help me in finding out the problem...

Thanks


_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




mysql installation error... mysql.sock file not found

2002-09-10 Thread anand v

Hi,

I have redhat linux 7.1 server and I have downloaded the
binary version of mysql 3.23.52 and I have installed the same version on
other servers and it was all fine but on this server I am getting the 
following
error

[root@abacusweb mysql]# bin/safe_mysqld &
[1] 21278
[root@abacusweb mysql]# Starting mysqld daemon with databases from 
/var/lib/mysq
l
020910 19:12:53  mysqld ended

and I can not see the file mysql.sock in /varlib/mysql area but it has all 
the
tables etc that are needed. And I followed the README and all the docs and
did all the steps one by one.. and also I don't know how to run mysqlbug 
program??

How can direct mysqlbug program to a file so that I can send that file as an 
attachment
to this mailing list??

Please help me.. seems like I am stuck here... I created mysql user and the 
group
and I changed all the permissions according to the document

Thanks

Anand



_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




MySQL Connector/J 2.0.14 issue

2002-08-21 Thread anand v

Hi,

I have redhat 7.1 and I am using mysql server 3.23.36
and I could login as a user to the linux server and run
mysql program from the command line and connect to database
I want to and do all SQL commands without any problems...

But when I run a program that has

Class.forName("org.gjt.mm.mysql.Driver").newInstance();
Connection connection = java.sql.DriverManager.getConnection(
 "jdbc:mysql://localhost:3306/test");

I am getting this error when I run this code

java.sql.SQLException: Invalid authorization specification: Access denied 
for us
er: '[EMAIL PROTECTED]' (Using password: NO)
at com.mysql.jdbc.MysqlIO.init(Unknown Source)
at com.mysql.jdbc.Connection.connectionInit(Unknown Source)
at com.mysql.jdbc.jdbc2.Connection.connectionInit(Unknown Source)
at com.mysql.jdbc.Driver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:199)
at DateTest.main(DateTest.java:20)

But I can connect to this database from command line prompt
without any problems

Thanks

Anand

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php