|
Recover MySQL Database root password |
|
Nov 02, 2007 at 10:14 PM |
|
1. Login as root 2. Stop the MySQL server by using command /etc/init.d/mysql stop 3. Start MySQL server without password mysqld_safe --skip-grant-tables & 4.Connect to mysql server using mysql client mysql -u root 5. Now you need to Setup new MySQL root user password mysql> use mysql; mysql> update user set password=PASSWORD(”newrootpassword”) where user=’root’; mysql> flush privileges; mysql> quit 6. Restart MySQL /etc/init.d/mysql stop /etc/init.d/mysql start {mosgoogle} |
|
|
Oct 16, 2007 at 09:37 AM |
|
Install Indy 10 on Lazaus Step 1. Download from http://www.indyproject.org/Sockets/fpc/index.en.aspx Step 2. Extract file and open Lazarus IDE Step 3. Goto components menu and clik submenu "open package file (.lpk)" so brown to indy 10 directory and select "lazarus\indylaz.lpk" Step 4. Click Compile Button and Click Install |
|
|
May 11, 2007 at 07:04 PM |
procedure PixelsPerMM(
canvas: TCanvas;
var x, y: single) ;
var
H:HDC;
hres,vres,
hsiz,vsiz:integer;
begin
H:=canvas.handle;
hres := GetDeviceCaps(H,HORZRES) ; {display width in pixels}
vres := GetDeviceCaps(H,VERTRES) ; {display height in pixels}
hsiz := GetDeviceCaps(H,HORZSIZE) ; {display width in mm}
vsiz := GetDeviceCaps(H,VERTSIZE) ; {display height in mm}
x := hres/hsiz;
y := vres/vsiz;
end; references |
|
|
|
<< Start < Previous 1 2 3 Next > End >>
|