Re: installing MySQL with FreeBSD pkg_add



Peter,

cp /usr/local/share/my-small.cnf /var/db/mysql/my.cnf. Have a look at your new config in /var/db/mysql and make any necessary adjustments. There's some other configs in /usr/local/share so if you need something other than the small configuration file copy that one over. All depends on what you're doing with it.

-John

Peter Michaux wrote:
Hi,

I am happy to have FreeBSD 6.1-RELEASE and KDE running on my intel
box. I am now trying to install MySQL. I logged in as root and ran the
following commands

# pkg_add -r msql41-server
Added group "mysql"
Added user "mysql"
# pkg_add -r mysql41-client
"mysql-client-4.1.18_1" or its older version already installed
# mysql -uroot
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'tmp/mysql.sock' (2)


What to do?

Thanks,
Peter
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"


_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • RE: PHP5 and MySQL
    ... I did make config. ... runs config first and then does the install. ... Subject: PHP5 and MySQL ...
    (freebsd-questions)
  • Re: mysql scaling questions
    ... Kris Kennaway wrote: ... The default mysql config has very poor performance for innodb. ... Also make sure you are using identical config settings on the two systems. ... When I use your config file I see a large performance loss when I run locally even with innodb. ...
    (freebsd-performance)
  • Re: mysql scaling questions
    ... You are using some very old mysql versions and trying to compare between diferent versions. ... I appreciate that you might be constrained by local requirements, but it's really not meaningful to compare different mysql versions if your goal is to study OS performance. ... The default mysql config has very poor performance for innodb. ... Maybe tuning is required for myisam also. ...
    (freebsd-performance)
  • Re: mysql scaling questions
    ... Gergely CZUCZY wrote: ... The default mysql config has very poor performance for innodb. ... Also make sure you are using identical config settings on the two systems. ... When I use your config file I see a large performance loss when I run locally even with innodb. ...
    (freebsd-performance)
  • Re: Change app.config settings
    ... The configuration file is ... Then you can pass the config file which is ... > be able to change these settings without restarting the service. ... > the exe (windows service), ...
    (microsoft.public.dotnet.general)