Host ‘xxx.xx.xxx.xxx’ is not allowed to connect to this MySQL server

  1. check using netstat -tuple
    tcp 0 localhost:mysql

sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf

change

bind-address = 0.0.0.0

check using netstat -tuple

tcp 0 0 *:mysql

GRANT ALL PRIVILEGES ON *.* TO ‘YourUserName‘@’your IP‘ IDENTIFIED BY ‘yourPassoword‘;

flush PRIVILEGES ;

https://serverfault.com/questions/586651/mysql-refuses-to-accept-remote-connections

https://stackoverflow.com/questions/19288606/error-host-xxx-is-not-allowed-to-connect-to-this-mysql-server/19288663#19288663

windows xp cant accesa windows 10 shared printer using access from explorer \\pc_name

my case i have win xp cant access to win 10 shared printer using explorer

i mean, usually i add shared printer from another pc using

run > type “\\pcname” or ipaddress > ok

double click on any printer that has been shared

but after upgrade to windows 10, that printer cant access anymore

after search, there are someway to access that printer (in win 10) from win xp

  • just add printer local printer
  • add new port, local port
  • type \\pcname\sharedprintername or change pcname with ipaddres
  • like \\prodction\hp1212
  • ok

بارك الله فيكم

im sorry i cant access my pc right now, so i cant insert the source address link and picture

Kitab Kajian

  1. Tuhfatul murid : Syekh Nu’man bin Sa’di : setiap sabtu ba’da maghrib Masjid Al Huda Parang Barong Tlogosari Semarang Ustadz Abu Ustman Arifin
  2. kun salafiyyan alal jaddah : Asy-Syaikh DR. Abdussalam bin Salim as-Suhaimi setiap sabtu ba’da isya Masjid Al Huda Parang Barong Tlogosari Semarang Ustadz Abu Ustman Arifin kitab kun salafiyyan alal jaddah
  3. Qowaidul Fiqiyyah Mandzumat wa Syarh Syaikh Abdurrahman bin Naashir As-Sa’di Rahimahullah

can’t start headless docker sc.exe query vboxdrv

  • after install docker toolbox
  • run docker quicstart terminal
  • it will download boot2loader for the 1st time
  • when error show cant start headless sc.exe query vboxdrv
  • maybe because service vboxdrv not yet install
  • try this :
    • open your virtualbox direcotry
    • goto driver\vboxdrv folder “in my case C:\Program Files\Oracle\VirtualBox\drivers\vboxdrv”
    • right clik of file inf VBoxDrv.inf click install

for detailed information just go to this site :

https://stackoverflow.com/questions/34778147/cannot-boot-windows-guest-in-virtualbox-without-kernel-module-error

windows 7 keyboard wrong character

if you ever get your keyboard (usually on laptop / notebook where numpad and letter are combine and switch using numlock) showing not correct character for example

p = / , or some letter became aome number , in my case because my numlock is enabled

i just disable my numlock, then my keyboard is back to normal

for complete description just read below

4 Ways to Fix a Keyboard That Has the Wrong Characters – wikiHow
https://www.wikihow.com › Fix-…
4 ways to fix keyboard from wikihow

Javascript only add row and delete row

another way to add and remove row table using javascript

//jsfiddle.net/rtfmpliz/5g04ecj3/29/embedded/

in input button just add (this) onclick

<input type=”button” onclick=”hapus(this)” value=”hapus”>

add row

function tambah() {
var nama = document.getElementById(“nama2”).value;
var berat = document.getElementById(“berat2”).value;
var jumlah = document.getElementsByTagName(“tr”).length;

var table = document.getElementById(“my”);
var row = table.insertRow(jumlah);
var cell1 = row.insertCell(0);
var cell2 = row.insertCell(1);
var cell3 = row.insertCell(2);
var cell4 = row.insertCell(3);

cell1.innerHTML = jumlah;
cell2.innerHTML = nama;
cell3.innerHTML = berat + “kg”;
cell4.innerHTML = ‘<input type=”button” onclick=”hapus(this)” value=”hapus”>’
}

for remove row

function hapus(x) {
document.getElementById(“my”).deleteRow(x.closest(‘tr’).rowIndex);
}

complete code 

<!DOCTYPE html>
<html>

<head>

<title>Page Title</title>

<link rel=”stylesheet” type=”text/css” media=”screen” href=”css/style2.css” />

</head>

<body>

Nama Buah : <br> <input type=”text” name=”nama” id=”nama2″><br>
Berat : <br><input type=”text” name=”nama” id=”berat2″>

<br><input type=”button” onclick=”tambah()” value=”submit”>

<br>

<br>

<table id=”my”>
<tr>
<th>No</th>
<th>Nama Buah</th>
<th>Berat</th>
<th>Action</th>
</tr>
<tr>
<td>1</td>
<td>Rambutan</td>
<td>2kg</td>
<td>
<input type=”button” onclick=”hapus(this)” value=”hapus”>
</td>
</tr>
<tr>
<td>2</td>
<td>Mangga</td>
<td>6kg</td>
<td>
<input type=”button” onclick=”hapus(this)” value=”hapus”>
</td>
</tr>
<tr>
<td>3</td>
<td>Jeruk</td>
<td>2kg</td>
<td>
<input type=”button” onclick=”hapus(this)” value=”hapus”>
</td>
</tr>
<tr>
<td>4</td>
<td>Melon</td>
<td>7kg</td>
<td>
<input type=”button” onclick=”hapus(this)” value=”hapus”>
</td>
</tr>
</table>

function tambah() {
var nama = document.getElementById(“nama2”).value;
var berat = document.getElementById(“berat2”).value;
var jumlah = document.getElementsByTagName(“tr”).length;

var table = document.getElementById(“my”);
var row = table.insertRow(jumlah);
var cell1 = row.insertCell(0);
var cell2 = row.insertCell(1);
var cell3 = row.insertCell(2);
var cell4 = row.insertCell(3);

cell1.innerHTML = jumlah;
cell2.innerHTML = nama;
cell3.innerHTML = berat + “kg”;
cell4.innerHTML = ”
}

function hapus(x) {
document.getElementById(“my”).deleteRow(x.closest(‘tr’).rowIndex);
}

</body>

</html>