MAMP - #2006 - MySQL server has gone away [closed] - mysql

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Im trying to import a database thats 8MB (i cant make it smaller) with MAMP and I keep getting the error below.
Ive read that I need to change my max_allowed_packet but I think ive done this and it still doesn't work. Is there a way I can find out what the max_allowed_packet (and any other relevant settings) are set to?
Or does anyone have any other solutions to try? Thanks
Error
SQL query:
INSERT INTO cache_menu (cid, data, expire, created, serialized) VALUES ('links:management:tree-data:en:ec99d3452fef1ede622e66c68ba908b1dad455aa71f5e68648aeec6488b89c88', 0x613a323a7b733a343a2274726565223b613a313a7b693a313b613a323a7b733a343a226c696e6b223b613a34323a7b733a393a226d656e755f6e616d65223b733a31303a226d616e6167656d656e74223b733a343a226d6c6964223b733a313a2231223b733a343a22706c6964223b733a313a2230223b733a393a226c696e6b5f70617468223b733a353a2261646d696e223b733a31313a22726f757465725f70617468223b733a353a2261646d696e223b733a31303a226c696e6b5f7469746c65223b733a31343a2241646d696e697374726174696f6e223b733a373a226f7074696f6e73223b733a363a22613a303a7b7d223b733a363a226d6f64756c65223b733a363a2273797374656d223b733a363a2268696464656e223b733a313a2230223b733a383a2265787465726e616c223b733a313a2230223b733a31323a226861735f6368696c6472656e223b733a313a2231223b733a383a22657870616e646564223b733a313a2230223b733a363a22776569676874223b733a313a2239223b733a353a226465707468223b733a313a2231223b7[...]
MySQL said:
2006 - MySQL server has gone away

Copying my-large.cnf to MAMP/Library and renaming it to my.cnf (and restarting MAMP) fixed this.

Related

How to export a database from MS access 2007 to MySQL? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I have created a database with multiple tables in MS Access.
I want the same database to be transfered to MySQL.
What are the steps to do it??
One way to do it would be to install the MySQL ODBC driver, configure an ODBC connection to your target database in MySQL, then use Access' "Export" feature to copy the tables over. I have used this process in the past, and it has usually worked reasonably well.

mysql no connection but why is this happening [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
In localhost/blah/index.php it lets me login, register accs, etc.
I uploaded my website it to my webhost.
I go to my website but i see no mysql connection.
It works fine on my localhost/phpmyadmin/xampp or w/e u call it
What is making this happen?
Finding a new webhost and or updating my php version is not an option
Maybe you use your local database settings. Update them to the server database settings.
Make sure you have MySQL on your server.
Check connection setting for MySQL on the server.
Upload or create database/table as required on the server.

hg serve - An attempt was made to access a socket in a way forbidden by its access permissions [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm sure that there are several reasons as to why this could occur, but I found one of them: I use a Sony VAIO and when 'VAIO Care' is installed and running on your machine, it blocks port 8000 and causes this error to occur whenever you attempt to 'hg serve' one of your repositories. Specifically, manually terminating VCsystray.exe caused this error to cease when executing an 'hg serve'. Thought I should pass along this information in the event that anyone else was running into the same issue.

Why choose MySQL over other Sql? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
i wanted to ask a question that i myself have been asked in class by our database teacher;
What makes MySQL different from other Sqls? I've always been using MySQL due to the fact that's what we have been taught when i learned how to program websites, but honestly? I dont know what makes MySQL better then other SQL's(For program development) such as;
SQLite
MS Access
PostgreSQL
MongoDB
I was hoping someone could point me towards the answer or perhaps even give me a explanation of it.
I hope it was alright to post this question here as i'm unsure as to were else it should have been posted.
I'd choose MySQL over
SQLite, because SQLite is too "lite" for a lot of purposes; it does not have multi-user access, so would not work quite well in server environment
MS Access and PostgreSQL, because they are less common and I'm more likely to get useful community support for them (especially valid for MS Access :-)
MongoDB, because that is not SQL database at all, and you've asked about SQL databases

Invalid query: Incorrect key file for table [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
There is couple of these already. My question though is how can something like this happen? is it cause by a bug in my code or is it an apache related problem?
Invalid query: Incorrect key file for table '/tmpfs/#sql_8e2_1.MYI'; try to repair it
Which version of mysql are you running? Are there open bugs which could cause this problem with the version you're running? Did the server lose power or crash?
Consider using the repair table syntax:
http://dev.mysql.com/doc/refman/5.1/en/repair-table.html
Please note all the warnings about making backups before running this.