Html2CSV

#!/usr/bin/python # -*- coding: iso-8859-1 -*- # Hello, this program is written in Python - http://python.org programname = 'html2csv - version 2002-09-20 - http://sebsauvage.net' import sys, getopt, os.path, glob, HTMLParser, re try: import psyco ; psyco.jit() # If present, use psyco to accelerate the program except: pass def usage(progname): ''' Display program usage. ''' progname …


Mysql 修改密码 、创建用户以及允许远程访问

1. 修改密码 用 set password 命令 mysql -u root mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpass'); mysqladmin mysqladmin -u root password "newpass" or mysqladmin -u root password oldpass "newpass" update 修改mysql.user 表 mysql -u root mysql> use mysql; mysql> UPDATE user SET Password = PASSWORD('newpass') WHERE user = 'root'; mysql> FLUSH PRIVILEGES; 丢失root密码时 mysqld_safe --skip-grant-tables& …


Fix “Configuration of pmadb… not OK” in phpMyAdmin

To fix this you have to import/create the phpmyadmin database with it’s tables. An SQL script called create_tables.sql should be in the scripts, examples or sql folder of your phpMyAdmin installation. mysql -u root -p < create_tables.sql Then create a user called pma and give it permissions to the phpmyadmin database: CREATE USER 'pma'@'localhost' IDENTIFIED …