teensicle Posted February 10, 2010 Share Posted February 10, 2010 Well i was taking this online tutorial that i found and i've been following it ever since but not im at a bridge and can't cross it... This is my MYSQL info MySQL * Server: Localhost via UNIX socket * Server version: 5.1.30 * Protocol version: 10 * User: remy92@localhost * MySQL charset: UTF-8 Unicode (utf8) Web server * cpaneld * MySQL client version: 4.1.22 * PHP extension: mysql phpMyAdmin * Version information: 3.2.4 * Documentation * Wiki * Official Homepage * [ChangeLog] [subversion] [Lists] I'm trying to use a php script and create a MYSQL table the script is located at www.blackspade-ent.com/scripts/create_Table.php and i also have another php script used to connect to the database thats here www.blackspade-ent.com/scripts/connect_to_mysql.php but i'm getting Success in database file CONNECTION.....Warning: mysql_query() [function.mysql-query]: Access denied for user 'remy92'@'localhost' (using password: NO) in /home/remy92/public_html/scripts/create_Table.php on line 33Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/remy92/public_html/scripts/create_Table.php on line 33no TABLE created. You have problems in the system already, backtrack and debug! Thanks Quote Link to comment https://forums.phpfreaks.com/topic/191598-creating-a-table-via-php-script/ Share on other sites More sharing options...
sader Posted February 10, 2010 Share Posted February 10, 2010 wrong password. Check if you entered correct password; it should look something like mysql_connect("localhost", "remy92", "_PASSWORD_"); Quote Link to comment https://forums.phpfreaks.com/topic/191598-creating-a-table-via-php-script/#findComment-1009991 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.