ejabberd mysql script bug? [closed] - mysql

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Hihi, not sure if i am just plain dumb.. Have installed ejabberd on amazon ec2 and recently managed to switch to use mysql based on the guide: https://support.process-one.net/doc/display/MESSENGER/Using+ejabberd+with+MySQL+native+driver
I have an issue now after switching to mysql db, not able to add roster to my user, and the log shows that the table rosterusers does not exist.
And now I am confusing, I grabbed the mysql.sql db schema from ejabberd github at https://github.com/processone/ejabberd/blob/master/src/odbc/mysql.sql, and found that
there isn't any rosterusers table to be created, instead, it creates a table called rosteritem.
there isn't any table called rostergroups, but rostergroup (without 's'). After some googling around, i think rostergroups should be the correct naming.
Is there anyone here knows is this a bug in the mysql schema, or i am missing something?
Thanks in advance!

I have not gotten any feedback regarding this question, but eventually, I have manually changed some of the table schema created from the mysql.sql script to matched the one from mssql.sql.
Everything works fine thereafter!
:)

Related

How do I use MySQL Binlog for PITR [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 24 days ago.
Improve this question
I am attempting to recover lost data using mysqlbinlog. Admittedly I am far from an expert in using MySQL, and even farther when using command line, so any advise would be very very welcome. I've seen so many docs that say what to do to view the binlogs, but it does not work at all on my machine. What am I doing wrong here?
This is exactly what happens every time
I've tried running this multiple times. I've also tried listing out the path to the binlog file in that Data folder.
Update: Same thing happens when using MySQL Shell
Run the mysqlbinlog command at a shell prompt, not in the MySQL client.

Creating an online mySQL Database [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
Is it possible to make an mySQL database on the web so that any person from any network can access it? For example if somebody in Europe downloads my program, it will still be able to connect to the mySQL database without problems.
Currently, I am using Connector J with a locally hosted mySQL database.
Edit: Basically I want to create an online mySQL database (not locally hosted) where anybody can download my program and the program from any internet connection can read and write the data from the server online.
Also are there any free online mySQL hosting services?
Edit:
For example, java games access data online from a database, but they are not on the same database. How can I achieve this? Are mySQL databases still the way to go?
It's difficult to understand your purpose but what I perceived from your question is maybe you are looking for some sort of cloud app service like Heroku. Take a look at their ClearDB add-on and see if that fulfills your need.
[This was supposed to be a comment but due to the lack of my Reputation points I have to submit it as an answer]

Applications or Ways to Import MySQL Database with Relations etc..? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I'm trying to edit my MySQL database after a long time of taking a rest, and I'm pretty confused what's what. Do you know of any application or a way in which I could import or merge my db on server into an application that will not only allow me to work with the database on my local pc, but be able to view the structure and relations visually?
Thank you :)))
You can use the MySQL Workbench [1]. There you can generate a ERD (=Model) from your remote and/or local MySql Database. Furthermore you can manage your user accounts, edit tables and datas and much much more...
[1]... http://www.mysql.com/products/workbench/
Head on over here http://dev.mysql.com/downloads/installer/
The Mysql Workbench included in the installer should help

Backup MySQL DB with SVN? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have a MySQL DB which should be versioned with SVN. I dont want the full DB, only the structure and selected tables. I searched the net and found some information, but nothing seems to really work in a reliable way. Any experience or hints?
Thanks :)
Check out this script which automates the process, allowing for specific selection of databases and exclusion of tables [disclaimer I am the author] - http://mysql-svn-backup.redant.com.au/
Use mysqldump to export the data you want into a file and put this into SVN. Using cron, you can automize this to run in specific timeslots
The question is: what exactly do you want to version, and why?
I propose you version an SQL file that you can import to create your database. Any tool can be used to create this SQL file (basic tool: mysqldump), which you can then save into your SVN repository. You will be able to track new tables being created by comparing revisions of SQL files.
You can automate this process by adding a CRON job to automatically dump and commit the file every 2 hours.

Looking for a good MySQL editor for Ubuntu [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
As funny as it is, most good MySQL editors are Windows based.
I am looking for a tool (US$400 top) for Ubuntu that can:
Auto complete tables and fields names + reserved keywords.
syntax coloring.
inline row content edit.
copy tables/databases from one host to an other.
I think the best Windows based is SQLyog, but it is a nightmare working on Wine.
I highly recommend DbVisualizer. It's a Java application and runs on Linux, Mac OS X and Windows. The MySQL JDBC driver is bundled in the package.
you might look at these sql clients below, all of them are open-source:
http://www.sql-workbench.net
http://executequery.org