Kiat Mudah Menghilangkan Aroma Kaki Tak Sedap

Image

Jangan sepelekan aroma kaki yang tak sedap. Hal tadi tidak hanya akan membuat penampilan Anda terganggu, tapi juga bisa menyerang kepercayaan diri. Jangan keburu panik, ini cara mengatasinya.

Read the rest of this entry »

Query Menampilkan Data Terbanyak Dari Sebuah Tabel

Sesuai dengan judul diatas pastinya sudah tahu semua maksudnya. Di sini saya hanya akan sharing bagaimana menampilkan data terbanyak dari sebuah tabel dengan menggunakan query. Sekedar info aja soal ini saya temui pada saat saya interview pada sebuah perusahaan di Jakarta, mungkin ini bisa berguna juga bagi teman-teman yang lain.

OK, Langsung aja ya.., Misalkan kita mempunyai tabel kota sebagai beriikut :

Read the rest of this entry »

phpMyAdmin: The additional features for working with linked tables have been deactivated.

Step 1: Edit and run create_tables.sql

This sql file is included with phpMyAdmin, in a wamp installation it can be found at: C:\wamp\apps\phpmyadmin3.2.0.1\scripts\create_tables.sql

There are two sections at the top which are usually commented out – one to create a phpmyadmin database, and one to create a phpmyadmin user. I usually just create the database myself and I prefer to use the following command in the next step to create the user. So, after creating the database, I usually just run the file as it originally came.

Step 2: Create a control user (controluser):

You’re on your own if you used the script above to create your control user, and you probably know what you’re doing. If you don’t, however, I recommend these mysql commands:

CREATE USER ‘phpmyadmin’@’localhost’ IDENTIFIED BY ‘pmapass’;
GRANT SELECT, INSERT, UPDATE, DELETE ON phpmyadmin.* TO ‘phpmyadmin’@’localhost’;

Step 3: Edit config.inc.php:

Add these lines to your config.inc.php file and then you should be good to go!

$cfg[‘Servers’][$i][‘pmadb’] = ‘phpmyadmin’;
$cfg[‘Servers’][$i][‘bookmarktable’] = ‘pma_bookmark’;
$cfg[‘Servers’][$i][‘relation’] = ‘pma_relation’;
$cfg[‘Servers’][$i][‘table_info’] = ‘pma_table_info’;
$cfg[‘Servers’][$i][‘table_coords’] = ‘pma_table_coords’;
$cfg[‘Servers’][$i][‘pdf_pages’] = ‘pma_pdf_pages’;
$cfg[‘Servers’][$i][‘column_info’] = ‘pma_column_info’;
$cfg[‘Servers’][$i][‘history’] = ‘pma_history’;
$cfg[‘Servers’][$i][‘designer_coords’] = ‘pma_designer_coords’;

$cfg[‘Servers’][$i][‘controluser’] = ‘phpmyadmin’;
$cfg[‘Servers’][$i][‘controlpass’] = ‘pmapass’;

Troubleshooting:

If you’re getting the message “The additional features for working with linked tables have been deactivated. To find out why click here.” or something similar, it probably means you don’t have the pmadb, controluser, and/or controlpass set up correctly to corresponding users in the database.

If you’re getting a message saying ”not OK [ Documentation ]” but the first line ($cfg[‘Servers’][$i][‘pmadb’]) says OK, you either need to adjust the table names, or overcome something more complex. For me, after I switched to Apache 2.0 from 2.2 it started working.

NB :

You need to log out of phpMyAdmin or remove the session cookies and reload once the changes are made.

Waktu Yang Baik Untuk Minum Air Putih

Semua pasti sudah tahu bahwa tubuh kita ini sebagian besar adalah air, makanya kita di anjurkan untuk mengkonsumsi air sesuai dengan kebutuhan yaitu minimal 2 liter atau 8 gelas sehari. Nah taukan kita bahwa ada waktu-waktu tertentu yang sangat baik untuk kita minum air mineral. Berikut ini sedikit trik yang saya dapat dari teman kita yang sudah share di kaskus.us bagaimana dan kapan waktu-waktu terbaik untuk minum air mineral itu agar penggunaannya bisa lebih efektif. OK langsung aja cekidot ya…

Read the rest of this entry »