Professional web hosting - SETTING UP MYSQL AND PHPMYADMIN Adding MySQL to
SETTING UP MYSQL AND PHPMYADMIN Adding MySQL to your PATH You normally access MySQL through phpMyAdmin (introduced later in this chapter) or your own PHP scripts, but sometimes you need to access it directly in Terminal. To avoid having to type out the full path every time, add it to the PATH in your environmental variables. If you have a new installation of Mac OS X 10.3 or later, Terminal uses what is known as the bash shell. If you upgraded from Jaguar using Archive and Install, you will probably be using the tcsh shell. The only way to make sure is to open Terminal (in Applications . Utilities) and check the title bar. It will either say Terminal bash, as shown in the following screenshot, or Terminal tcsh. Use the appropriate set of instructions. Amending PATH in the bash shell in OS X 10.4 or later 1. Open BBEdit or TextWrangler. 2. From the File menu, choose Open Hidden and browse to your home folder. If there is a file called .profile (with a period as the first character), as shown in the screenshot, highlight it, and click Open. 3. The file exists only if you have already made changes to the way Terminal operates. If .profile doesn t exist, click Cancel, and open a blank file. 273
We recommend high quality webhost to host and run your jsp application: christian web host services.