if you forget ur mysql password:
- Stop the MySQL Server :sudo /etc/init.d/mysql stop
- Start the mysqld configuration : sudo mysqld --skip-grant-tables &
- Login to MySQL as root : mysql -u root mysql
- Replace YOURNEWPASSWORD with your new password! : UPDATE user SET Password=PASSWORD('YOURNEWPASSWORD') WHERE User='root'; FLUSH PRIVILEGES; exit;
create database callrouting;
use callrouting;
grant all privileges on callrouting.* to callrouter@localhost identified by 'callrouter';
create table passwords(id int(11) AUTO_INCREMENT NOT NULL, password varchar(255),primary key(id));
SHOW TABLES;
DESCRIBE passwords;
insert into passwords(password) values("1234");
quit;
PERL: Password check::::
running pl files: ./filename.pl or perl filename.pl
No comments:
Post a Comment