sgs Posted January 29, 2015 Share 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) Quote Link to comment Share on other sites More sharing options...
wolstech Posted January 30, 2015 Share 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. Quote Link to comment Share on other sites More sharing options...
sgs Posted January 31, 2015 Author Share 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. Quote Link to comment Share on other sites More sharing options...
sgs Posted February 1, 2015 Author Share Posted February 1, 2015 can anyone help me? Quote Link to comment Share on other sites More sharing options...
ngatest Posted February 20, 2015 Share Posted February 20, 2015 how big is the data size is it over a MB? Quote Link to comment Share on other sites More sharing options...
sgs Posted February 20, 2015 Author Share Posted February 20, 2015 Maximum 1mb Quote Link to comment 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.