Guest User

Untitled

a guest
Jun 22nd, 2014
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. root@gash:/var/www/img.xxx.in/openphoto-4.0.0-rc5/src/html/photos# ls -la
  2. total 8
  3. drwxrwxrwx 2 www-data www-data 4096 Jun 22 17:23 .
  4. drwxrwxr-x 4 www-data www-data 4096 Jun 22 17:23 ..
  5.  
  6.  
  7. mysql> create user openphoto;
  8. Query OK, 0 rows affected (0.01 sec)
  9.  
  10. mysql> grant all privileges to on 'openphoto' to 'openphoto'@'localhost';
  11.  
  12.  
  13. mysql> show grants for 'openphoto'@'localhost';
  14. +------------------------------------------------------------------+
  15. | Grants for openphoto@localhost |
  16. +------------------------------------------------------------------+
  17. | GRANT USAGE ON *.* TO 'openphoto'@'localhost' |
  18. | GRANT ALL PRIVILEGES ON `openphoto`.* TO 'openphoto'@'localhost' |
  19. +------------------------------------------------------------------+
  20. 2 rows in set (0.00 sec)
  21.  
  22. mysql> show databases like 'openphoto';
  23. +----------------------+
  24. | Database (openphoto) |
  25. +----------------------+
  26. | openphoto |
  27. +----------------------+
  28. 1 row in set (0.00 sec)
  29.  
  30.  
  31. Please fix the following errors
  32.  
  33. We were unable to set up your local file system using /var/www/img.xxx.in/openphoto-4.0.0-rc5/src/html/photos. Make sure that the following user has proper permissions (www-data).
  34. We were unable to initialize your account in MySql.
  35. Please verify that the host, username and password are correct and have proper permissions to create a database.
  36. Make sure your email address is not already in use.
Advertisement
Add Comment
Please, Sign In to add comment