Posts

Showing posts from November, 2015

Best Ways to shop Online International Stores in Pakistan without Credit Card

Image
Best Ways to shop Online International Stores in Pakistan without Credit Card
Mobile payment, also referred to as mobile money, mobile money transfer, and mobile wallet generally refer to payment services operated under financial regulation and performed from or via a mobile device. Instead of paying with cash, cheque, or credit cards, a consumer can use a mobile phone to pay for a wide range of services and digital or hard goods. Although the concept of using non-coin-based currency systems has a long history,[1] it is only recently that the technology to support such systems has become widely available.
Mobile payment is being adopted all over the world in different ways.[2][3] In 2008, the combined market for all types of mobile payments was projected to reach more than $600B globally by 2013,[4] which would be double the figure as of February, 2011.[5] The mobile payment market for goods and services, excluding contactless Near field communication or NFC transactions and money trans…

How To Restore MySQL Database from InnoDB .idb Files & frm Files

Restoring an InnoDB table from only an .ibd file. Sometime you may need to recover or restore a table when all you have is the .ibd file. In this case, if you try to load it into a new instance, your likely to encounter some errors about the table id not matching. And there is not really a way around this. However, I’ve found two work-arounds for this: Note: You will need the .ibd file and the CREATE TABLE statement for each table you want to recover using these methods. Simulate the internal InnoDB table counter. That is, create work tables (with innodb_file_per_table enabled) until you have the internal pointer of table id equal to (1 – id_of_ibd_table_you_need_to_restore). (See Method #1)Manually hex edit the .ibd file, changing the table id. (See Method #2) *Note: There are some internal structures with this meta information, so you’ll need to dump/import that data after you get it loaded, so you avoid unpleasantries that will inevitably show their face. Method #1 – Create work tab…

How to Mount a Drive on CentOS Linux

Image
Mount a Drive on CentOS Linux This brief tutorial shows you how to mount, and un-mount media such as a Flash drive, CD/DVD, Hard drive, or pretty much any other local mountable media
the first thing you want to do is find out what physical disks are on the system by using the following command: fdisk -l (you can also do df -h to show what disks are already mounted) First we need to create the directory we are going to mount to. mkdir /mnt/Diskname1 from there edit as necessary, but run the following command to mount:
mount /dev/Diskname1 /mnt/Diskname1 That’s it, if should be mounted to /mnt/Diskname1 (should show up like a local folder)
add to startup by typing this command: vi /etc/fstab add the drive as necessary

now all we need to do is add the command to startup: vi /etc/fstab it should look like so:
from here there is one final command to run, to mount all filesystems
** Note this will re-mount all filesystems, do in off-hours **** mount -a Success! no errors!