How to enable MySQL remote access on Ubuntu Server 12.04

How to enable MySQL remote access on Ubuntu Server 12.04 - Hallo sahabat Serba Serbi Dunia Hiburan Dan Info Viral Dunia, Pada Artikel yang anda baca kali ini dengan judul How to enable MySQL remote access on Ubuntu Server 12.04, kami telah mempersiapkan artikel ini dengan baik untuk anda baca dan ambil informasi didalamnya. mudah-mudahan isi postingan yang kami tulis ini dapat anda pahami. baiklah, selamat membaca.

Judul : How to enable MySQL remote access on Ubuntu Server 12.04
link : How to enable MySQL remote access on Ubuntu Server 12.04

Baca juga


How to enable MySQL remote access on Ubuntu Server 12.04

By default MySQL on Ubuntu Server 12.04 can only be accessed from localhost (127.0.0.1). 

If we need to access it from another computer on the network, we must do the following step

Edit MySQL Configuration

$ sudo vim /etc/mysql/my.cnf

#comment out this line (add # in front of the line)
#bind-address           = 127.0.0.1

Restart the server

$ sudo service mysql restart
mysql stop/waiting
mysql start/running, process 13081

Then we need to add user info to the database

$ mysql -u root -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 77
Server version: 5.5.24-0ubuntu0.12.04.1 (Ubuntu)

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> grant all on [database_name].* to [user]@[ip_address] identified by '[password]'


Query OK, 0 rows affected (0.00 sec)

mysql> exit
Bye


That's all!

Reference:

http://ubuntuforums.org/showthread.php?t=799386



Demikianlah Artikel How to enable MySQL remote access on Ubuntu Server 12.04

Sekianlah artikel How to enable MySQL remote access on Ubuntu Server 12.04 kali ini, mudah-mudahan bisa memberi manfaat untuk anda semua. baiklah, sampai jumpa di postingan artikel lainnya. Profil Perusahaan Dan Lowongan PT Equityworld

Anda sekarang membaca artikel How to enable MySQL remote access on Ubuntu Server 12.04 dengan alamat link https://inviralnews.blogspot.com/2017/12/how-to-enable-mysql-remote-access-on.html

0 Response to "How to enable MySQL remote access on Ubuntu Server 12.04"

Post a Comment

http://www.ibm.com/links/?cc=us&lc=en&prompt=1&url=//ifknews.blogspot.com/
2. http://canadagazette.gc.ca/gazette/html-interstitial-eng-fra.php?source_pdf=%2Frp-pr%2Fp1%2F2008%2F2008-12-27%2Fpdf%2Fg1-14252.pdf&referer=http://ifknews.blogspot.com/
3. http://espanol.hud.gov/utilities/intercept.cfm?http://ifknews.blogspot.com/
4. http://m.webry.info/portal/exit.htm?url=http://ifknews.blogspot.com/
5. https://su.m.wikipedia.org/w/index.php?title=Husus:ZeroRatedMobileAccess&from=Gambar:Flag_of_Thailand.svg&to=http://ifknews.blogspot.com/
6. http://www.broadbandmap.gov/external-redirect/http://ifknews.blogspot.com/
7. http://www.nixonlibrary.gov/exit.php?link=http://ifknews.blogspot.com/
8. http://georgewbushlibrary.smu.edu/exit.aspx?url=http://ifknews.blogspot.com/
9. http://wireless.fcc.gov/cgi-bin/wtbbye.pl?http://ifknews.blogspot.com/
10. http://www.cfw.tufts.edu/external.asp?http://ifknews.blogspot.com/
11. http://www.dcf.ks.gov/Pages/redirect.aspx?target=http://ifknews.blogspot.com/
12. http://www.ric.edu/assets/pages/link_out.php?target=http://ifknews.blogspot.com/
13. http://www.tc.faa.gov/content/leaving.asp?extlink=http://ifknews.blogspot.com/
14. http://www.transtats.bts.gov/exit.asp?url=http://ifknews.blogspot.com/
15. http://www.nationalcityca.gov/redirect.aspx?url=http://ifknews.blogspot.com/
16. http://www.olelo.hawaii.edu/redirect.php?url=http://ifknews.blogspot.com/
17. http://cherokeecounty-nc.gov/redirect.aspx?url=http://ifknews.blogspot.com/
18. http://staff.ozarks.edu/redirect.asp?url=http://ifknews.blogspot.com/
19. http://wber.monroe.edu/site/html/modules.php?op=modload&name=PostWrap&file=index&page=http://ifknews.blogspot.com/
20. http://www.evansville.in.gov/redirect.aspx?url=http://ifknews.blogspot.com/
21. http://www.hudson.edu/frames.php?school=hcsd&url=http://ifknews.blogspot.com/
22. http://transition.fcc.gov/fcc-bin/bye?http://ifknews.blogspot.com/