sgs Posted January 29, 2015 Posted January 29, 2015 Hi, I've a problem on inserting data into MySQL DataBase. I'm neigther getting error messages nor success messages. Please see my file and tell me what is wrong... Here is the url of the files:a.) index.php (http://www.sgpaste.tk/index.php?do=create)b.) create.php (http://www.sgpaste.tk/create.php)c.) form.php (http://www.sgpaste.tk/form.php)
wolstech Posted January 30, 2015 Posted January 30, 2015 I'm seeing this: Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/sgs/public_html/sgpaste/config/connection.php on line 8Could not connect to the MySQL Server The MySQL server on Stevie is down...give it some time and it'll restart itself. It crashes quite a bit from InnoDB-related damage. Also, I can't look at the source of a .php file since it gets processed. Make a copy and change the file extension to .txt if you want us to see the source.
sgs Posted January 31, 2015 Author Posted January 31, 2015 Ok, Here is the url of the source files:a.) index.php (http://www.sgpaste.tk/src/index.txt)b.) create.php (http://www.sgpaste.tk/src/create.txt)c.) form.php (http://www.sgpaste.tk/src/form.txt)and one more thing, the error message you have explained, that is not my problem. My problem is I can't insert data into database. Please help me.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now