sexta-feira, 4 de abril de 2014

MySQL56 Service doesn't start

So, you have installed your mysql and for some reason the service doesn't start?

Well, after digging into it and after some research the solution was obviously simple.

There are 2 folders that you need to delete files from "C:\ProgramData\MySQL\MySQL Server 5.6\data"
and also "C:\Program Files\MySQL\MySQL Server 5.6\data" in these 2 directories you have 3 files that you need to delete: ib_logfile0, ib_logfile1, ibdata1.

After this your MYSQL56 Service should be able to start. What you can do afterwards to avoid this same problem again is to enlarge the filesize of the log files in your my.ini residing in ProgramData.

I guess that's that for today.

quarta-feira, 22 de setembro de 2010

Update Nvidia Drivers for laptops.

So, for years now I've been facing this stupid problem... I have a laptop and I can't update my drivers because nvidia says that the company that sold me the computer is the responsible for updating those drivers.

So, first thing I did was to search the web for unofficial drivers and I only found sites that gave me the same drivers as nvidia ones and I could not install new ones. But reading a little bit about how it works in those sites, I found out that I only had to modify the .inf file that comes with the installer files. The problem here is to know how to modify the .inf file by adding your card. Well, I found my device pci id through the support that nvidia has for linux users, http://us.download.nvidia.com/XFree86/Linux-x86/1.0-9755/README/appendix-a.html, next step, modify the .inf file. What I did was just copy the information about my card a GeForce Go 6200 from the one of the GeForce 6200 Turbocache. Since they are basically the same card everything should work fine.

And it did!

You've got to add two lines to the .inf file for it to work, the first one, %NVIDIA_DEV.0167.01% = Section001, PCI\VEN_10DE&DEV_0167, should go in the section [NVIDIA_Devices]. The second one, NVIDIA_DEV.0167.01 = "NVIDIA GeForce Go 6200", under [Strings] section.

ATTENTION!!! - These lines are specific for my card. You should try to check what's your device pci id and use it instead of the ones i'm showing as an example.

So, here I leave you  a link to my modified .inf file if you have a laptop with a Go 6200. You can just download it and put it in the folder where you uncompress the setup files.

sexta-feira, 27 de novembro de 2009

Help! My Hard Disk/Hard Drive/Disk/HDD is lagging my Computer

So, if you got here is because you searched thousands of pages in the pursuit of a solution to this problem: You have an Hard Drive (HD) or disk that is lagging your computer. You can't ear the mp3s playing has they should be, the youtube clips lag, etc, etc... Or you think that are some problems with either or both, crss.exe and lsass.exe processes even though no virus was found.

To see if you are in the right place, the first thing you should do is to download HDTune Application.You can find it here.

The second step is to simply run a benchmark. You don't have to wait until it finishes, just keep track of 2 things. Check if the cpu usage is close to 100% (50% in case you have a dual core and 25% if you have a quad core) and check if the transfer rate speed is below 5MB. If you are in these condition then your problem is that the DMA capabilities of your HD were deactivated for some reason.

The next step is to open regedit.exe from 'execute' in your Windows 'start' menu and then look for the following key, HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318}. Now look into the several folders there and delete the values MasterIdDataCheckSum and SlavedIdDataCheckSum. Reboot!

After the reboot your system should be back to normal.

quinta-feira, 23 de abril de 2009

Flash and Red5 SandBox Problem Solved

So I started to build my Flash App. Everything went well. Then I tried to view my live video stream through another Flash App. So... What's next?

Major policy problem, cause I don't have any policy file for red5 server. Wrong, I do have and it's right there under red5/conf/flashpolicy.xml

You just have to add this line to your flash client program:

Security.loadPolicyFile("red5/conf/flashpolicy.xml");

It's amazin what a simple line of code can do.

This is for all of you who have the "SecurityError: Error #2123: Security sandbox violation: BitmapData.draw:" Error.