Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Localhost connection error. #2

Merged
merged 6 commits into from

2 participants

@cdracars

This will fix it to where the database can connect and build the drupal environment. As per the mysql documentation.

@mdxp mdxp merged commit e7f798e into from
@mdxp
Owner

Merged. Thanks for contributing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 13, 2012
  1. @cdracars
  2. @cdracars
  3. @cdracars

    using new port attribute.

    cdracars authored
Commits on Sep 20, 2012
  1. @cdracars

    Update README.md

    cdracars authored
  2. @cdracars

    Update README.md

    cdracars authored
  3. @cdracars
This page is out of date. Refresh to see the latest.
View
6 README.md
@@ -1,4 +1,4 @@
-# <a name="title"></a> drupal-cookbook [![Build Status](https://secure.travis-ci.org/mdxp/drupal-cookbook.png)](http://travis-ci.org/mdxp/drupal-cookbook)
+# <a name="title"></a> drupal-cookbook [![Build Status](https://secure.travis-ci.org/cdracars/drupal-cookbook.png)](http://travis-ci.org/cdracars/drupal-cookbook)
Description
===========
@@ -44,10 +44,10 @@ Include the drupal recipe to install drupal on your system; this will enable als
include_recipe "drupal"
Include the drush recipe to install drush:
-
+
include_recipe "drupal::drush"
-If you want to install a different version you just have to customize the version attribute and checksum
+If you want to install a different version you just have to customize the version attribute and checksum
(sha256 checksum on the source)
License and Author
View
1  attributes/default.rb
@@ -26,6 +26,7 @@
default['drupal']['site']['admin'] = "admin"
default['drupal']['site']['pass'] = "drupaladmin"
default['drupal']['site']['name'] = "Drupal7"
+default['drupal']['apache']['port'] = "80"
::Chef::Node.send(:include, Opscode::OpenSSL::Password)
View
2  templates/default/drupal.conf.erb
@@ -1,4 +1,4 @@
-<VirtualHost *:80>
+<VirtualHost *:<%= @node[:drupal][:apache][:port] %>>
ServerName <%= @params[:server_name] %>
ServerAlias <% @params[:server_aliases].each do |a| %><%= "#{a}" %> <% end %>
DocumentRoot <%= @params[:docroot] %>
View
1  templates/default/grants.sql.erb
@@ -1,3 +1,4 @@
GRANT ALL ON <%= @database %>.* TO '<%= @user %>'@'%' IDENTIFIED BY '<%= @password %>';
+GRANT ALL ON <%= @database %>.* TO '<%= @user %>'@'localhost' IDENTIFIED BY '<%= @password %>';
FLUSH PRIVILEGES;
Something went wrong with that request. Please try again.