Mysql szerver meglétének ellenörzése

A napokban elővettem egy virtuális gépet amit annak idején még tesztelés céljával készítettem. A gondom csak az volt hogy nem emlékeztem mi van már feltelepítve rá és mit kel még feltenni.

A webszerver futott, a php teszt is megvolt csak a mysql szervert kellet még ellenőrizni. Az első dolog az volt hogy rákerestem a myqsl kifejezésre:

find / -name mysql

Ez rengeteg találatot eredményezett. Tehát a mysql telepítve van. 

Próbáltam rácsatlakozni :

mysql

A mysql szerver nem futott, így ennek eredménye ez lett:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Ezek után elindítottam a mysql servert:

start mysql

Már csak azt kel ellenőrizni hogy fut-e a szerver:

sudo netstat -tap | grep mysql

Ha fut a mysql server valami hasonló kimenetet kel hogy lássunk:

tcp        0      0 localhost:mysql         *:*         LISTEN      506/mysqld

 

Hozzászólások

Thank you for every other great post. Where else could anyone get that

type plenty of fish dating site information in such a perfect

means of writing? I've a presentation subsequent week, and I am on the search for such info.

When I originally commented I seem to have clicked the -Notify me when new

comments are added- checkbox and from now on every time a comment is added I receive 4 emails with the exact same comment.

Perhaps there is a means you can remove me from that service?

Thank you!

Stop by my blog post ... quest bars cheap

I do not even know how I ended up here, but I thought this

post was good. I do not know who you are but certainly you're going to a famous blogger if you aren't already ;) Cheers!

my web blog - coconut oil

Hey! I know this is kinda off topic but I'd figured I'd ask.

Would you be interested in exchanging links or maybe guest authoring a blog post or vice-versa?

My blog goes over a lot of the same topics as

yours and I think we could greatly benefit from each other.

If you're interested feel free to send me an e-mail. I look forward to hearing from you!

Fantastic blog by the way!

Feel free to surf to my web blog; sling tv

You're so awesome! I do not think I've truly read something like this before.

So nice to find someone with some unique thoughts on this subject matter.
Really.. thank you for starting this up. This web site is one thing that's needed on the web, someone with a little originality!

Also visit my blog post: best cbd oil

If you are interested in your favorite actors' heights and other detailed information, please take a look at celeb height wiki database.

Új hozzászólás

Filtered HTML

  • A webcímek és email címek automatikusan kattintható hivatkozásokká alakulnak.
  • Engedélyezett HTML jelölők: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • A sorokat és bekezdéseket a rendszer automatikusan felismeri.

Plain text

  • A HTML jelölők használata nem megengedett.
  • A webcímek és email címek automatikusan kattintható hivatkozásokká alakulnak.
  • A sorokat és bekezdéseket a rendszer automatikusan felismeri.
Ezt a mezöt ember.fia nem.tölti ki.
CAPTCHA
Ez a művelet azért szükséges, mert nem szeretnék kéretlen bejegyzéseket az oldalra.
Kép CAPTCHA
Írd be a képen látható karaktereket. Köszönöm.