Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player

spacer

Archive for the Database Category

12.6.2009

MySQL basic commands

On a windows server the MySQL executables folder by default will be installed in a folder like
C:\Program Files\MySQL\MySQL Server 5.1\bin
Executables in this folder will be
myisamchk.exe
myisamlog.exe
myisampack.exe
myisam_ftdump.exe
mysql.exe
mysqladmin.exe
mysqlbinlog.exe
mysqlcheck.exe
mysqld-debug.exe
mysqld.exe
mysqldump.exe
mysqlimport.exe
MySQLInstanceConfig.exe
mysqlmanager.exe
mysqlshow.exe
mysqltest.exe
mysql_client_test.exe
mysql_upgrade.exe
my_print_defaults.exe
perror.exe
replace.exe
resolveip.exe
Use this to create a database:
# mysqladmin create <db-name>
Assign privledges:

# mysql -u root -p
# mysql> use mysql;
# mysql> grant all privileges on <db-name>.* to <db-user>@webserver.com
-> identified by [...]

08.20.2009

The SQL Server (MSSQLSERVER) service terminated with service specific error 126 (0×7E)

This error is associated with the VIA protocol. To disable it

Start->All Programs -> Microsoft Sql server 2005 -> Configuration Tools -> SQL Server Configuration Manager.
In the SQL SERVER configuration Manager Window, click the plus (+) sign against SQL SERVER 2005 Network Configuration.
Highlight ‘Protocols for MS SQL SERVER’. In the right pane you’d find VIA in [...]

07.22.2009

Database connection error installing Wordpress

A pre-note on installing WordPress: Read the official installation instructions first! By following the “5 minute install” instructions verbatim, I’ve never had a problem! Problems only happen when you don’t follow the instructions!
http://codex.wordpress.org/Installing_WordPress
Symptom: You’re installing Wordpress and you’re getting database connection errors even though you have the settings correct.
Fix: It’s possible that you have the [...]

06.10.2009

Scheduled backup using Microsoft SQL Server 2005

The Express version of MS SQL 2005 does not include functionality to perform a scheduled backup. To get around this, use the “Script to File” option and then run it from the command line using a batch file and Windows Scheduled Tasks function.
1. Open up SQL Server Management Studio Express
2. Drill down to your database [...]