pg_dump vs pg_dumpall? which one to use to database backups?

The usual process is: pg_dumpall –globals-only to get users/roles/etc pg_dump -Fc for each database to get a nice compressed dump suitable for use with pg_restore. Yes, this kind of sucks. I’d really like to teach pg_dump to embed pg_dumpall output into -Fc dumps, but right now unfortunately it doesn’t know how so you have to … Read more

How to import a bak file into SQL Server Express

There is a step by step explanation (with pictures) available @ Restore DataBase Click Start, select All Programs, click Microsoft SQL Server 2008 and select SQL Server Management Studio. This will bring up the Connect to Server dialog box. Ensure that the Server name YourServerName and that Authentication is set to Windows Authentication. Click Connect. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)