Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DBConfiguration.configureDB(conf2,
- "com.mysql.jdbc.Driver", // driver class
- "jdbc:mysql://192.168.1.22:3306/test", // db url
- "root", // user name
- "root"); //password
- ifconfig | grep inet | grep Bcast
- inet addr:172.18.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
- inet addr:172.17.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
- inet addr:169.254.9.173 Bcast:169.254.255.255 Mask:255.255.0.0
- inet addr:192.168.1.22 Bcast:192.168.1.255 Mask:255.255.255.0
- GRANT ALL ON *.* to 'root'@'ip_address' IDENTIFIED BY 'your-password';
- GRANT ALL PRIVILEGES ON *.* TO 'root'@'ip_address' WITH GRANT OPTION;
- cd /usr/local/ampps
- sudo ./Ampps
- "The apache port is being taken by another application"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement