Advertisement
Guest User

Untitled

a guest
Oct 7th, 2016
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. DBConfiguration.configureDB(conf2,
  2. "com.mysql.jdbc.Driver", // driver class
  3. "jdbc:mysql://192.168.1.22:3306/test", // db url
  4. "root", // user name
  5. "root"); //password
  6.  
  7. ifconfig | grep inet | grep Bcast
  8.  
  9. inet addr:172.18.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
  10. inet addr:172.17.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
  11. inet addr:169.254.9.173 Bcast:169.254.255.255 Mask:255.255.0.0
  12. inet addr:192.168.1.22 Bcast:192.168.1.255 Mask:255.255.255.0
  13.  
  14. GRANT ALL ON *.* to 'root'@'ip_address' IDENTIFIED BY 'your-password';
  15. GRANT ALL PRIVILEGES ON *.* TO 'root'@'ip_address' WITH GRANT OPTION;
  16.  
  17. cd /usr/local/ampps
  18. sudo ./Ampps
  19.  
  20. "The apache port is being taken by another application"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement