I have installed MySQL on my VPS and am trying to set up phpMyAdmin. I then ran the following commands, first installing phpMyAdmin and then trying to create a symbolic link to it in a web-accessible directory.
$ apt-get install phpmyadmin
$ cd /home/username/mydomain.com/public_html
$ ln -s /usr/share/phpmyadmin
However, when I navigate to mydomain.com/phpmyadmin, I get a 403 Forbidden error. The permissions for the soft link are lrwxrwxrwx, for the /usr/share/phpmyadmin directory are drwxr-xr-x, and for /usr/share/phpmyadmin/index.php are -rw-r--r--.
Does anyone know why I'm getting a 403 Forbidden error and how to fix it?
[Note that the text of this question also appears in the Curious About DreamHost forum but I'm not double posting — there I'm asking about my interaction about tech support, not about the issue itself.]