The Challenge: You have to recover table data and you only have .frm and .ibd file from your mySQL data directory. Copying the directory directly…
Knowledge from writing codes and a bit of managing linux servers.
The Challenge: You have to recover table data and you only have .frm and .ibd file from your mySQL data directory. Copying the directory directly…
Just recently, I’ve been using a 3rd party service name ngrok to allow me to expose my web server to the internet or simply allow…
Do you ever wonder where does your database lives? MySQL is just like any other programs, it runs and listens to specified port, accepts connections,…
Have you been on hair pulling because of this error? SMTP ERROR: Password command failed: 535 Incorrect authentication data We recently encountered this error while…
Have you come up to a situation that you need FTP on your server? Well, its easy. First thing we have to do is install…
Have you encounter the problem when you are hosting on GoDaddy, and your domain is using GoDaddy’s workspaces as its email server? If so, then…
Have you ever encounter failing to start your MySQL server that throws this kind of error:
1 |
[ERROR] Found 1 prepared transactions! It means that mysqld was not shut down properly last time and critical recovery information (last binlog or tc.log file) was manually deleted after a crash. You have to start mysqld with --tc-heuristic-recover switch to commit or rollback pending transactions. |
This occurs when your server suddenly shutsdown or…
Syntax:
1 |
scp <source> <destination> |
To copy a file from B to A while logged into B:
1 |
scp /path/to/file username@a:/path/to/destination |
To copy a file from B to A while logged into A:
1 |
scp username@b:/path/to/file /path/to/destination |
1 2 |
git config core.fileMode false |
From git-config(1):
1 2 3 4 5 |
core.fileMode If false, the executable bit differences between the index and the working copy are ignored; useful on broken filesystems like FAT. See git-update-index(1). True by default. |
The -c flag can be used to set this option for one-off commands:
1 2 |
git -c core.fileMode=false diff |
And the –global flag will make it…