Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Gerald Jansen on February 16, 2001, 09:10:13 AM

Title: mysql & PHP
Post by: Gerald Jansen 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.
Title: Re: mysql & PHP
Post by: Dan Brown 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.
Title: Re: mysql & PHP
Post by: Avinesh Bangar 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.
Title: Re: mysql & PHP
Post by: Jason Miller 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.
Title: Re: mysql & PHP
Post by: Noah 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.