• Ads

Life as I see it

Nothing beats a coffee and cigarettes when raining :P

Because we always forget the root password of mysql.

An old client of mine emailed me a while ago asking about the password of the MySQL server.

I have installed their VICIDIAL Predictive Dialer like a year ago. They only used it for manual dialing using eyebeam :( . Anyhow so I tried to login to the MySQL server using the only password I l know and it didint work! So I have no choice but to reset the root password of the Mysql Server.

Ok what do you need in order to reset or change the root password of MySQL?

1) You need root access to the server. If you dont have it, then you are out of luck! Ask your server administrator to execute the next steps.

2) The reason why you need root access is, for you to be able to stop the MySQL daemon. Here’s how to stop the MySQL daemon in Centos:
service mysqld stop

3) Now the next part is to start the MySQL server and also we need to skip the grant tables because its where the password are stored. Here’s how:
mysqld_safe --skip-grant-tables

You thought you’re done? Not yet! You have to open or connect another ssh session in order to enter MySQL server. As what you are going to experience when you’re going to try this howto, is that you dont see any processes or what ever just the cursor blinking :( . Just leave it at that and open up another connection.

So when you are connected to the shell again, log in to the MySQL server by typing this:
mysql -uroot mysql

And then VIOLA! you are now inside the mysql server and as root too! Let’s change the root password of the MySQL server now. You can do that by typing the following command in the MySQL cli or console. The new password of the MySQL server will be pK@t9l5? . Type this: (Change the pK@t9l5? to the password you want to be specified.)
update user set Password=PASSWORD('pK@t9l5?') where user='root';

Then type this command next.
flush privileges;

Last but not the least. We need to exit from the MySQL console:
exit;

That’s it! You have changed the root password of the MySQL server :).

Ok don’t forget to stop the process:
mysqld_safe --skip-grant-tables

Then turn on the MySQL server again by typing:
service mysqld start

7 February 2010 at 02:29 - Comments

test post from posterous

Testing posting from posterous. Hope this works :D

Posted via web from op3r’s posterous

30 January 2010 at 03:58 - Comments

Hitler’s reaction to iPad

Hahahaha Mark E. sent me this youtube link and I almost fell from my chair trying to suppress a laugh.

Watch and enjoy!

28 January 2010 at 12:39 - Comments
Oo nga no tang na
28 January 10 at 21:16
Ok na
28 January 10 at 22:13

Forgot your password? No problem!

I found this from reddit while waiting for a miracle to happen.

28 January 2010 at 12:19 - Comments

McGraw-Hill CEO Confirms Apple Tablet. OMFG!!!

Apple tablet. The big brother of my iPhone. JUST GOT CONFIRMED.

The OS of the thing is based on iPhone. I just soiled my pants. Here’s what the man said:

“Yeah, Very exciting. Yes, they’ll make their announcement tomorrow on this one. We have worked with Apple for quite a while. And the Tablet is going to be based on the iPhone operating system and so it will be transferable. So what you are going to be able to do now is we have a consortium of e-books. And we have 95% of all our materials that are in e-book format on that one. So now with the tablet you’re going to open up the higher education market, the professional market. The tablet is going to be just really terrific.”

The apple tablet is currently a hot topic since IPOD days. A lot of apple fanboys are having wet dreams about a tablet that they can purchase and fap upon. Honestly Im turning into one myself since I got my iPhone last christmas.

Here’s the CNBC interview with the CEO of McGraw-Hill (one of the publishers around)


Time to start saving money eh? :)

26 January 2010 at 22:27 - Comments

a song from r kelly about getting somebody pregnant.

I’m bored up to my wits when I encountered this song.

Serious stuff going on.

26 January 2010 at 17:47 - Comments

As requested: writing on my blog using my iphone

Demo for aron. Hahaha

25 January 2010 at 22:28 - Comments
Op3r
test comment
25 January 10 at 23:04

Guess who owns this accesspoint?

Guess who? Ahheheheh

21 January 2010 at 16:27 - Comments
eurotel.
21 January 10 at 17:24

I nearly forgot I have a blog :(

I was so busy on facebook and work that I nearly forgotten about this.

So what do I do nowadays?

I am active on twitter. Op3r.

I am active on facebook. And no I wont give out my profile just yet.

Busy with work. I am nearly done configuring 20 VICIDIAL servers to connect to a single Archive/Recording server.

That’s basically it.

and oh, Erich Segal is dead. RIP Love Story author.

21 January 2010 at 13:19 - Comments

Encyclopediadrammatica.com Vs Angel Locsin Vs some gays from the internet and a white knighting for Angel.

There’s a storm brewing and now simmering at twitter. It all started when Angel Locsin found the website http://encyclopediadramatica.com/Filipinos to be not funny to her taste. I lol’ed.

Here are some of the tweets made by the lady:

143redangel Guys, turuan natin ng leksyon ang mga racist na ito! I am proud to be a Filipino! – http://encyclopediadramatica.com/Filipinos..
about 6 hours ago

143redangel Pakita natin na karapat dapat tayo bigyan ng respeto.. Kaya natin ito guys :) We may not be perfect, pero iba ang pinoy! :) at proud ako!:)
about 5 hours ago

143redangel Guys, may mga bagay na kailangan natin pagtuunan ng pansin..kawawa rin yung mga nagtratrabaho sa ibang bansa, pano na lang sila?
about 5 hours ago

143redangel RT @louiecat23: hi ms.angel! i wanna read it sana kaso our ISP here in Qatar is blocking the site…is there another link po ba? thanks!
about 5 hours ago

143redangel Sori di ako natawa☹ RT @Pimplepopper: dat artcle ws meant 2 b a joke.In fct,d whle ste ws dsigned 2 poke fun at everything.Dn’t worry abt it
about 5 hours ago

We all know this is a typical reaction then it got aggravated when a gay dude started tweeting this:

bendzgerona

@143redangel grabe ang boba mo pala talaga. It’s a HUMOR site! Grr. Ganda mo pa naman ala palang laman ang utak. about 2 hours ago from web

bendzgerona

@143redangel if the site only picks on Pinoys then I will feel that way but it’s a humor wiki that picks on everyone then it’s okey.

bendzgerona

@143redangel oh my god! If you are so concerned, create an account and edit the entry! This will just make you look like a total joke.

bendzgerona

@143redangel wahaha. Ay ewan ko sa ‘yo kung need mo ng PR attention I’m just telling you wag tong site na to it’s a Lampoon for chrissake!

Its quite cute. But totally inappropriate. His point is actually valid but the delivery sucks.

Then a friend of mine started white knighting for Angel Locsin

eironotics

RT @143redangel: ngayon lang ako nakarinig na HUMOR site ang porn site na nanlalait sa pinoy

eironotics

Dud @bendzgerona, stop arguing w/ @143redangel, kya mga Filipino hindi umaasenso dhil baluktot tau mg-isp Awayin mo iba, wag kapwa Filipino

eironotics

To @143redangel,@bendzgerona mapa humor-site man o hindi, hindi tama na mang lait ng iba..

Hahahahahahaha. A classic white knighting technique!

What can we learn from this? I dont know :( . Let’s just enjoy the internet perhaps?

11 January 2010 at 11:12 - Comments
white knight eh? he thinks by doing that angel will suck his dick! dumbass!
11 January 10 at 21:02
Switch to our mobile site