mysql no connection but why is this happening [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.
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.

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.

cloudfountry mysql service config can modify? [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 push my application(use mysql service) to cloudfoundry success.and use "vmc tunnel" access to the mysql service,and execute my sql file.
but I have a question, the mysql variable "ower_case_table_names" is default value 0. I want to set "ower_case_table_names=1". How can I do this?
the mysql service that provide by cloudfoundry can't be modify the settings?
need help!!
"lower_case_table_names" is a readonly variable and thus can't be set with the "SET" command. It's a server system variable which is set when mysqld is started. CF users do not have authority to change these system variables.

MAMP - #2006 - MySQL server has gone away [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.
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.

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.

help access 2007 sql tables? [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.
does anyone know where on access 2007 a function where i can access my sql database? i need it to create reports. thanks
Create an ODBC connection. In Microsoft Access, go to the File menu and select Get External Data and choose Link Tables... from the resulting menu.
As well as with linked tables as suggested by ocdecio, you could also do an "Access Database Project" - which is basically an Access front end to a SQL back end. If you did it this way, you could use all of your existing views, stored procs, functions, etc.