Dreamweaver/MyBB/MySQl Database? - mysql

I have MyBB installed on my server and apparently the template sets are stored via MySQL database instead of downloaded to the remote server. I would like to set up a path in Dreamweaver so I can directly edit template sets without having to go into the acp in MyBB. Otherwise, there's really no way to test locally unless I set up a database on my machine and it wouldn't make sense having two databases with the same entries. Has anyone managed to set up an ftp path through Dreamweaver that will link to a MySQL database, or is this not possible? Thanks in advance.

Has anyone managed to set up an ftp path through Dreamweaver that will
link to a MySQL database, or is this not possible?
Not possible. Dreamweaver will let you create a connection to a MySQL database to query it but you cannot affect the database structure from within Dreamweaver's interface.

Related

What happens when you get a site that uses MySQL online?

I have created a site that uses MySQL and I want to get it online.
My question is:
What happens with the database that I created?
Will it automatically be saved in the host?
Will all the tables etc. remain the same?
Also, I have created an update module which connects to the database to store new data.
What happens in than case?
If anyone knows details about the whole process.
Please let me know!
Thanks in advance!
If you use local database for development, you need to export database from local database and import them into the database of your hosing provider or any other online database.
If you developed your site using the online database like database provided by the hosting site, there will be data and database as it is.
In your case the database is stored locally. So every change you make during development will be reflected only if your local database is imported to online database.

How to copy mysql database file to your project folder?

Hi Friends I'm new to mysql but i know how to create user,database, table etc.
Earlier i use to work with ms access as backend. In ms access i had .*mdb file which i can put in my project folder and give it to anybody, so that the user can use my application without worrying about database.
but in MySQL i don't know how to copy database file and put in my project folder so that i can give it to other. and they can use my application without any worries......
plz help.... tell me if i'm wrong in my concept.....
Thanks in advance :))
You use mysqldump to dump the structure and contents of the database into a file, and then give that to the other person to load into their database server.

Proper way to set two Rails applications on same server

I have two (same) applications running on dev.example.com and beta.example.com with different databases. Everything is set to run with passenger using Apache as web server.
What I have done was to copy the code from one directory to the other (myapp_dev and myapp_beta) and everything seems working fine, until I have to migrate a table. I get an error that the data I want to migrate is already migrated. Probably trying to migrate on the same database. Maybe I have to re-configure the way to run the applications, but don't know how and what to do. Any hints are appreciated.
Thanks!
you can change the used database in config/database.yml

Differences between SQLite and MySQL - login and security

At first I searched in Stack Overflow about the difference between MySQL and SQLite. So there is some answers but still I want to know something. When accessing MySQL I need to give host, username, password and database parameters. But when accessing SQLite I just give database name. Can anyone explain me this why, and for security reasons also, should not be there password for SQLite database, can not be it just downloaded for example from server, so I am totally stuck. So need your help.
The difference is that MySQL is a database server, while SQLite is a database engine that works against single database files.
You are correct that the SQLite database file could just be downloaded if it's placed right in the web application where anyone can reach it.
Most server providers offer a folder where you can place files like this, so that the web application itself can reach it, but it's not directly downloadable.
You can also optionally add protection to the SQLite database file. See this question:
Password Protect a SQLite DB. Is it possible?
SQLite is mainly used for mobile and tablet apps.So they are just used for a single system.
But in MySql its a complete database and can be used from multiple system. So for increasing security ,we have to give all these. So that no one can misuse the data...
SQLite is just a file. If you have read access to the file that is the implicit security model (as well as the possibility to use database encryption).
MySQL is a network service. It can listen on an internet facing socket, meaning anyone in the world can access it if they have the right authentication credentials.
SQLite is file based, MySQL is a service which runs on the server. With SQLite you don't need to enter the database name, but actually the database file.
If you put the database file at an inaccessible location, you should be totally fine and the user will not be able to download the file.

How do I setup my MySQL with Eclipse IDE?

I am using Eclipse EE IDE and I am using the MySql Connector/J driver. How do I set up a properties file with all the information(DB URL, DBusername,etc) Also I see that you need a DBname and DBurl for the properties file, How do I determine/create this name for the database. I have already looked at the mysql website for this and am still having trouble, if somebody could pleasee help me I would appreciate it.
Solution: I was able to get it working through the plugin available with Eclipse, but I soon realized this limited me with the use of my Tomcat server, so I re organized my directories and set up Tomcat to use with my Eclipse and also be available to other resources.
Eclipse doesn't use a database for anything, so even if you would create a properties file, it would ignore it.
If you're using the DB plugin, then you can use the UI to create a connection for the database. The wizard will ask for all the informations and save them somewhere (probably not as a property file).
If you need the database in your own project, then you must define the format of the property file yourself, read it at startup, and use the information to create a datasource.
You should use phpMyAdmin, or MySQL GUI tools for MySQL setup and management