Friday, August 24, 2012
Wednesday, August 22, 2012
Communication Link Failour
- telnet localhost 3306
- view /etc/mysql/my.cof file and view if bind-address 127.0.0.1 is commented out or not.
- commenting out "skip-networking"
- change "wait_timeout" and "interactive_timeout"
- check Operating System proxy settings
- change connection string
dbName = "my_database";dbUserName = "root";dbPassword = "";String connectionString = "jdbc:mysql://localhost/" + dbName + "?user=" + dbUserName + "&password=" + dbPassword + "&useUnicode=true&characterEncoding=UTF-8";
Tuesday, August 21, 2012
View child thread of a parent in linux
- View child thread for a specific thread via pid
ps -o nlwp
Unix Commands
To view Disk space available on Ubuntu
Use : df -kh
To View Folder space
Use : du -h
To view file size in folder
Use : ls -l -h
To transfer file from one server to other server
Use scp
To login on server
Use : ssh username@
Use : df -kh
To View Folder space
Use : du -h
To view file size in folder
Use : ls -l -h
To transfer file from one server to other server
Use scp
To login on server
Use : ssh username@
Subscribe to:
Posts (Atom)