Wordpress Random Error Establishing Database Connection - Blog

WordPress Random Error Establishing Database Connection

By admin 0 Comment March 5, 2019

Sanuja Senanayake

Exams and Guides

Warning!

Disclaimer: While every effort is made to ensure that the content of this website is accurate, the data is provided “as is” and is not intended to be used as a replacement for professional educators. Sanuja Senanayake makes no representations or warranties in relation to the accuracy or completeness of the information. Use the materials at your own discretion. The quizzes are not copyrighted to the University of Calgary. They are copyrighted to Sanuja Senanayake.

Subscribe to Educational Updates for update notifications Click Here

The Basic mode (as opposed to interactive mode) is provided as a backup. It is recommended to use the regular interactive mode unless their is a server database error.

Ignore Course Numbers
The information posted here have associated course/class numbers from the University of Calgary. However, some of these courses are no longer offered or the content has been significantly changed. You can still use this database for information. Please read the title and any descriptions provided below to navigate to what you need. For example, if you need information on general Geology, try GLGY 201 questions database.

Sanuja Senanayake

How to setup auto update for Bginfo.exe

Warning!

The instructions are provided “as is” and “with all faults”. No warranties or guarantees are provided. Editing the Registry Files may harm your computer, if it is done incorrectly.

The bginfo is an “unofficial” program published by Microsoft that will display basic information about the Windows workstation or server on background image. It is somewhat unofficial because Microsoft does not promote the program as official software. So why do you care about a program that is not even officially supported?

There are several reasons why someone would install it. For example, if you are running a server or you are an IT professional, it will provide you valuable data at a glance. There are several customizable parameters such as, but not limited to, Boot Time, IP Address, DNS Server, Domain, Storage, RAM, etc.

However, the program generates the background image only when the settings are applied after a reboot (or shutdown). If the user fail to apply the settings each time he/she log in, bginfo will display the last known data, which will be inaccurate.

To overcome this weakness of the program, Admin users can follow the instructions below:

Notice

The following instructions will only work if the user has Administrator level account. On some Windows environments, you will have to open the file in Admin by right click — > Run as Administrator

2. Move the Bginfo.exe to a desired folder. Please note that I would recommend saving the file in the same drive/partition as the OS (aka C: drive)

3. Open Bginfo.exe and configure the values. (I am not going to explain how to because, this instructions were written for intermediate to advance Windows users)
Value Config Window

4. In the Bginfo.exe window, File –> Save As.., save as .bgi (you can rename it if you want, but I recommend I recommend the use of same file name(Bginfo.bgi).
File –> Save As..

5. Open a text editor (Notepad, Notepad++, etc) and create a batch file with the following info in it:
*\Bginfo.exe *\Bginfo.bgi /TIMER:00 /SILENT /NOLICPROMPT
(* is the location of your files; for example, C:\Bginfo.exe C:\Bginfo.bgi /TIMER:00 /SILENT /NOLICPROMPT)

6. Save this file as a .bat file in the same location as the other two. (you can rename it if you want, but I recommend I recommend the use of same file name(Bginfo.bat).

7. Go to –> Run –> regedit (Register Editor)
Steps 7 to 10

8. Using the folder tree, go to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\\Windows\CurrentVersions\Run

9. Once you are in Run, right click on the large right side pane. Using this pop-up menu New –> String Value. This will create a REG_SZ type file. Name it as Bginfo what whatever you want it to call.

10. Right click on the REG_SZ file from the above step and type/pate the location of the Bginfo.bat file for the Value variable. (for example, C:\Bginfo.exe )

11. Restart your computer. Now you should see the auto update command prompt just before the background loads each time you log in.

Sanuja Senanayake

How to setup auto update for Bginfo.exe

Warning!

The instructions are provided “as is” and “with all faults”. No warranties or guarantees are provided. Editing the Registry Files may harm your computer, if it is done incorrectly.

The bginfo is an “unofficial” program published by Microsoft that will display basic information about the Windows workstation or server on background image. It is somewhat unofficial because Microsoft does not promote the program as official software. So why do you care about a program that is not even officially supported?

There are several reasons why someone would install it. For example, if you are running a server or you are an IT professional, it will provide you valuable data at a glance. There are several customizable parameters such as, but not limited to, Boot Time, IP Address, DNS Server, Domain, Storage, RAM, etc.

However, the program generates the background image only when the settings are applied after a reboot (or shutdown). If the user fail to apply the settings each time he/she log in, bginfo will display the last known data, which will be inaccurate.

To overcome this weakness of the program, Admin users can follow the instructions below:

Notice

The following instructions will only work if the user has Administrator level account. On some Windows environments, you will have to open the file in Admin by right click — > Run as Administrator

2. Move the Bginfo.exe to a desired folder. Please note that I would recommend saving the file in the same drive/partition as the OS (aka C: drive)

3. Open Bginfo.exe and configure the values. (I am not going to explain how to because, this instructions were written for intermediate to advance Windows users)
Value Config Window

4. In the Bginfo.exe window, File –> Save As.., save as .bgi (you can rename it if you want, but I recommend I recommend the use of same file name(Bginfo.bgi).
File –> Save As..

5. Open a text editor (Notepad, Notepad++, etc) and create a batch file with the following info in it:
*\Bginfo.exe *\Bginfo.bgi /TIMER:00 /SILENT /NOLICPROMPT
(* is the location of your files; for example, C:\Bginfo.exe C:\Bginfo.bgi /TIMER:00 /SILENT /NOLICPROMPT)

6. Save this file as a .bat file in the same location as the other two. (you can rename it if you want, but I recommend I recommend the use of same file name(Bginfo.bat).

7. Go to –> Run –> regedit (Register Editor)
Steps 7 to 10

8. Using the folder tree, go to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\\Windows\CurrentVersions\Run

9. Once you are in Run, right click on the large right side pane. Using this pop-up menu New –> String Value. This will create a REG_SZ type file. Name it as Bginfo what whatever you want it to call.

10. Right click on the REG_SZ file from the above step and type/pate the location of the Bginfo.bat file for the Value variable. (for example, C:\Bginfo.exe )

11. Restart your computer. Now you should see the auto update command prompt just before the background loads each time you log in.

WordPress random error establishing database connection

  • Home
  • Welcome Message
  • First Page
  • About
    • About this Site
    • Biography
    • Services
    • Web Design Portfolio
    • Résumé (Curriculum Vitae)
    • Home Network and Servers
    • Frequently Asked Questions
    • Site Policies
    • Site Map
    • Exams & Resources
    • Fetch A Random Item
    • Contact & Guestbook
    • Subscribe to Newsletter
    • Donate to SANUJA.COM
      • Home
      • Welcome Message
      • First Page
    • About
      • About the Site
      • Biography
      • Services
      • Web Design Portfolio
      • Résumé (Curriculum Vitae)
      • Frequently Asked Questions
      • Home Network and Servers
      • Copyright, ToU and Privacy
      • Site Map
      • Categories & Tags
        • Videos
        • Categories
          • Computer Science
          • Content Management
          • Consumer Electronics
          • Earth Science
          • Opinion
          • Philosophy
          • Projects
          • Documentary
          • Uncategorized
          • Tags
            • Academic
            • Command Prompt
            • Computing
            • Geology (Geoscience)
            • Life (Philosophical Rants)
            • Server and Hardware
            • Society
            • Structured Query Language (SQL)
            • Technology (Consumer)
            • Tutorials (How to Guides)
            • Coding & Programming
              • CSS and HTML
              • PHP (Hypertext Preprocessor)
              • Python (Basics)
              • VisualBasic
              • Random Item
                • Fetch A Random Article/Page
                • Exams & Resources
                  • General Academic
                    • Anthropology 201 – Evolution
                    • Anthropology 303 – Business
                    • Biology 205 – Org. & Diversity
                    • Communications 201 – Intro
                    • Computer Sci. 217 – Python
                    • Economics 201 – Micro
                    • Economics 203 – Macro
                    • Geography 213 – World Affairs
                    • Geosciences Section I
                      • Geology 201 – Principles
                      • Geology 202 – Applications
                      • Geology 311 – Mineralogy
                      • Geology 323 – Geochemistry
                      • Geology 341 – Structural
                      • Geology 381 – Sedimentation
                      • Geology 401 – Hydrogeology
                      • Geology 423 – Mineralogy
                      • Geology 443 – Igneous Petrology
                      • Geology 443 – Meta. Petrology
                      • Geology 449 – Petrophysics
                      • Geosciences Section II
                        • Geology 461 – Sed. Petrology
                        • Geology 491 – Paleobiology
                        • Geology 527 – Ore Deposits
                        • Geology 535 – Early Earth Evolution
                        • Geology 571 – Engineering
                        • Geology 561 – Sequence Strat.
                        • Geology 577 – Petroleum
                        • Geology 597 – Geostatistics
                        • Geophysics 355 – Exploration
                        • Geophysics 375 – Disasters
                        • Geophysics 559 – Interpretation
                        • Miscellaneous
                          • Petrophysical Interpretation
                          • Professional Exams
                          • Alberta Class 5/7 GDL Quiz
                          • Canadian Citizenship Test
                          • Programming Languages
                          • World War II Quiz
                          • Other Types of Quizzes
                          • Report an Error
                          • Reference
                            • Reference Main
                            • Videos
                            • Computer Science
                            • Earth Science
                            • External Links
                            • Funny Science
                            • Contact & Newsletter
                              • Contact Information
                              • Subscribe to Newsletter
                              • Donate $ to Support!
                              • Odd advice for a Field Geologist

                                I recently came across a textbook, Basic Geological Mapping 1 , which is written for novice users. I found few interesting things in the introduction chapter that one might argue “kind of odd” for a well-written textbook.

                                Anyone who wanted to be a Geologist should enjoy working outside. Geologists should respect the environment and the habitat wherever they go. We should always collect specimens only when absolutely needed and should not disturb the site. Appropriate permits and permissions should be obtained prior to go into the field. So far I agree with the author.

                                Under Ancillary Skills, they explained why swimming and physical health is impotent. Some may say that you do not have to be physically fit in order to work outdoor. But I agree with the authors since most “true” Geologists will work outside with exceptions to lab technicians. There were some odd advices such as the ability to swim and ride animals such as horses. No, I cannot swim and yes, it is a valuable skill. If you are planning to take up carriers that involve the outdoor, I would highly recommend taking swimming and outdoor survival lessons. Aside from you falling into a river or a body of water, you may even have to swim to reach an outcrop.

                                Well, why would you want to ride animals? The reality is that in remote regions you may come across very difficult terrains. It is sometimes impossible to work without the aid of an animal or a vehicle. Especially in the Canadian Rocky Mountains, it is important that we do our homework before leaving for the site. Even as recently as yesterday (26-March-2013), a man died in the Alberta mountains due to cold and hyperthermia

                                So to summarize, a Geologist should be…
                                -able to work outdoors and remote regions of the world.
                                -able to survive in very difficult terrains.
                                -skillful in swimming, mountain climbing, horseback riding, etc.

                                I do not want to discourage anyone from going into the Geological Sciences. But if you are looking for opportunities in a so called “office environment” this is the wrong field of study. Geo science is an application of science foundations such as Chemistry, Physics and Math (and even biology if you go into environmental side). It is very important for you to be flexible in order to work as a Geologist.

                                These kills are specific to field work. It should be noted a good Geologist is always find the balance between academics and outdoor skills. If you were to overdo one or the other, you would make a lousy professional. You may think something as simple as riding a horse is not impotent, until you end up with a mining company in a middle of nowhere. In order to be successful you must be able to adapt to the the environment.

                                References: 1. Basic Geological Mapping, Fourth Edition. John W. Barnes with Richard J. Lisle, 2004 John Wiley & Sons, Ltd ISBN: 0-470-84986-X

                                Add Comment

                                Your email address will not be published. Required fields are marked *