Hi Rodd,

Rodd Johnson wrote:
> I've been laboring way too long to take it any more. So I'm stopping to ask 
> for directions. I have an Ultra 80 where I'm trying to get 
> CSKmysql_1.2sparc.pkg to work with Solaris 10. The install went fine.
> 
> I created the database no problem.
> 
> But when I go to connect, the ONLY way it will allow a mysql connection is 
> with the 
> --socket=/tmp/mysqld.sock
> 
> This system had the default mysql installed, but a pkgrm was used to remove 
> it. It's acting like it wants to find mysql.sock in some other default 
> location, regardless of what's in /etc/my.cnf. There is a file in /tmp called 
> mysql.sock. Since the reference to the file (--socket) works, I would assume 
> its not a permissions problem.
> 
> Any help would be appreciated. I need some sleep!
> 
> Oh, here's my /etc/my.cnf
> [mysqld]
> pid-file = /app/mysqldata/vtpweb.pid 
> socket = /tmp/mysqld.sock
> port = 3306
> basedir = /opt/coolstack/mysql
> datadir = /app/mysqldata 
> tmpdir = /tmp
> bind-address = 192.168.9.4
> 
> [client]
> socket = /tmp/mysql.sock

I guess you should have the same name for the mysql.sock vs mysqld.sock 
file for both [mysqld] and [client]
So you should edit the my.cnf file to have mysql.sock on both places.

Regards,
Jan S

> This message posted from opensolaris.org
> 
> _______________________________________________
> 
> 
> webstack-discuss mailing list
> webstack-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/webstack-discuss
> 


Reply via email to