Hi!
How could I create a MYSQL database just using PHP scripts, because on the website I use there is no mysqladmin.
What does it mean: the location of the database:127.0.0.1 port:3306?
Where to put this info into the php scripts?
I used in the php site:
<?php
$result = mysql_query("CREATE DATABASE '$dbname');
$sql="CREATE TABLE table1 (id int DEFAULT '0' NOT NULL">
$result = mysql_query($sql);
$db = mysql_connect("localhost", "root",'$pwd);
mysql_select_db("otgroup",$db);
?>
Thank you!