I have tended to use Centos5 in the past for web hosting zimbra and samba.
I like to have things install easily, but am having to mess around a lot with centos 5
So I have started to play with Centos 6.2 64bit upon which I have loaded the virtualmin gpl panel.
When I follow through the instructions, I am able to fight my way through to the
rake db:create
I get the following:
fatal: Not a git repository (or any of the parent directories): .git
/home/fatadmin/.bundler/ruby/1.8/chosen-rails-33c92a8554ee/lib/chosen-rails/version.rb:3: warning: already initialized constant VERSION
/home/fatadmin/.bundler/ruby/1.8/chosen-rails-33c92a8554ee/lib/chosen-rails/version.rb:4: warning: already initialized constant EDITOR_VERSION
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Couldn't create database for {"database"=>"fatfreeCRMproduction", "username"=>"fatadmin", "password"=>"fatadmin", "adapter"=>"mysql2", "pool"=>5, "encoding"=>"utf8", "socket"=>"/var/run/mysqld/mysqld.sock"}, charset: , collation:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Couldn't create database for {"database"=>"fatfreeCRMtest", "username"=>"fatadmin", "adapter"=>"mysql2", "password"=>"fatadmin", "encoding"=>"utf8", "pool"=>5, "socket"=>"/var/run/mysqld/mysqld.sock"}, charset: , collation:
I have already created the empty mysql databases with the user and password shown.
I am trying to learn to program in this environemnt and think maybe I should try trashing what I have done and learn how to instal rvm
Any ideas
John
It would appear that the MySQL server is not running or has not
created the sock file.
If you have console access to the machine you could try `ps aux |grep
mysql` to see if MySQL is running. If it is not running you should be
able to start with `sudo /etc/init.d/mysql start`
then if still not running `tail /var/log/mysql/error.log` to see why
it is not starting.
Regards
Ben Tillman
> --
> You received this message because you are subscribed to the Google Groups "Fat Free CRM Users" group.
> To post to this group, send email to fat-free-...@googlegroups.com.
> To unsubscribe from this group, send email to fat-free-crm-us...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/fat-free-crm-users?hl=en.
>