Advertisement
Guest User

Untitled

a guest
Aug 20th, 2014
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. "ERROR 1044 (42000) at line 39: Access denied for user 'drupal_user'@'localhost' to database 'mydb'"
  2.  
  3. $local_sites = '/Users/steve/Sites/';
  4. $aliases['local'] = array(
  5. 'uri' => 'default',
  6. 'root' => $local_sites . 'mysite/public_html',
  7. 'path-aliases' => array(
  8. '%files' => $local_sites . 'mysite/public_html/sites/default/files',
  9. '%dump-dir' => '/Users/steve/Sites/mysite',
  10. ),
  11. );
  12.  
  13. $aliases['prod'] = array(
  14. 'uri' => 'default',
  15. 'os' => 'Linux',
  16. 'root' => '/cluster/www_system/www/www.mysite.org/current_build/public_html',
  17. 'remote-host' => 'control.cphwf01.local',
  18. 'remote-user' => 'sedwards',
  19. 'path-aliases' => array(
  20. '%files' => 'sites/default/files',
  21. '%dump-dir' => '/scratch',
  22. ),
  23. );
  24.  
  25. Calling system(mysql --database=mydb --host=localhost --user=drupal_user --password=mypass --silent < /Users/steve/Sites/mysite/mysiteLeW4G5);
  26.  
  27. mysql --database=mydb --host=localhost --user=drupal_user --password=mypass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement