I am pretty new to MySQL I read the install.txt, in the sphider-1.3. I extracted it in my root folder and made a search bar in HTML: but when I type something in I get this error: Cannot connect to database, check if username, password and host are correct. I downloaded the and I am currently trying to run it via my localhost. Alternatively, the tables can be created by hand using tables.sql script given in the sql directory of the Sphider distribution. Open install.php script ( admin directory) in your browser, which will create the tables necessary for Sphider to operate. php file and change $database, $mysql_user, $mysql_password and $mysql_host to correct values (if you dont know what $mysql_host should be, it should probably stay as it is - 'localhost').
Free Download Hunter X Hunter Sub Indo Episode 94 more.
For more information on how to create a database and give/get the necessary permissions, check 3. B) in MySQL, type: CREATE DATABASE sphider Of course you can use some other name for database instead of sphider.Ĭ) Use exit to exit MySQL.
A) at command prompt type (to log into MySQL): mysql -u -p Enter your password when prompted. In the server, create a database in MySQL to hold Sphider data. Unpack the files, and copy them to the server, for example to /home/youruser/public_html/sphider (later referred to as ) 2. I am pretty new to MySQL I read the install.txt, in the sphider-1.3.5. How to add Sphider search to my website? “Cannot connect to database.