Wg poradnika po wklepaniu linku >> http://www.sklepowo.ugu.pl/storescripts/cr...admin_table.php <<
(robiłem też z http://localhost/MyOnlineStore/storescript...dmin_table.php)
powinno się wyświetlic:
Your admin table has been created succesfully!
a mi się wyświetla:
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /virtual/s/k/sklepowo.ugu.pl/storescripts/connect_to_mysql.php on line 19
could not connect to mysql
connect_to_mysql
<?php // Created BY Adam Khoury @ www.flashbuilding.com - 6/19/2008 /* 1: "die()" will exit the script and show an error statement if something goes wrong with the "connect" or "select" functions. 2: A "mysql_connect()" error usually means your username/password are wrong 3: A "mysql_select_db()" error usually means the database does not exist. */ // Place db host name. Sometimes "localhost" but // sometimes looks like this: >>?mysql??.someserver.net
$db_host = "localhost"; // Place the username for the MySQL database here $db_username = "micesz229"; // Place the password for the MySQL database here $db_pass = "password"; // Place the name for the MySQL database here $db_name = "micesz229_mystore"; // Run the actual connection here ?>
create_admin_table
<?php // Connect to the file above here require "connect_to_mysql.php"; ?>
Używam programu XAMPP/DREAMWEAVER/FILEZILLA
Może ktoś napisać mi gdzie jest błąd?