Koozali.org: home of the SME Server

mysql & PHP

Gerald Jansen

mysql & PHP
« on: February 16, 2001, 09:10:13 AM »
Can anyone reccomend an on line source for a mysql or PHP manual that would be applicable for e-smith? I would like to be able to write web page extensions for on line forms, etc.

Dan Brown

Re: mysql & PHP
« Reply #1 on: February 16, 2001, 06:09:39 PM »
There have been a number of good tutorials linked from the PHP web site--insofar as I know anything about either topic, that's where I learned it.

Avinesh Bangar

Re: mysql & PHP
« Reply #2 on: February 17, 2001, 10:27:12 AM »
I would recommend using the online tutorials at http://www.devshed.com or examples at http://www.weberdev.com

PHPBuilder.com and PHP.net are also good resources.

What is the default password for the e-smith 4.1 MySQL 3.22.32 installation?

Thanks.

Jason Miller

Re: mysql & PHP
« Reply #3 on: February 17, 2001, 11:16:54 PM »
>What is the default password for the e-smith 4.1 MySQL 3.22.32 installation?

Your password is automatically generated for you from ldap.

Type this command at the prompt:

tail /etc/openldap/ldap.pw

Whatever its result shows is your root mysql user's password.  

Also under 4.1, you don't even need to know that password, just type:

mysql

It will check the contents of /root/my.cnf and use that password which is set from the ldap password above to connect as mysql-root.

Enjoy.

Noah

Re: mysql & PHP
« Reply #4 on: February 19, 2001, 03:52:51 PM »
Well, your first stop should be http://www.mysql.com/doc/.  MySQL online documentation is very, very good.

The PHP site (www.php.net) has good online documentation and phpbuilder.com has some suseful info.